R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101
27
delay: Specifies that the track module notifies the application modules of the track entry status change
after a specified delay time. If this keyword is not provided, the track module notifies the application
modules immediately when the track entry status changes.
negative negative-time: Specifies the delay time for the track module to notify the application modules
that the status of the track entry changes to Negative. negative-time represents the delay time, ranging
from 1 to 300, in seconds.
positive positive-time: Specifies the delay time for the track module to notify the application modules that
the status of the track entry changes to Positive. positive-time represents the delay time, ranging from 1 to
300, in seconds.
Description
Use the track interface command to create a track entry to be associated with the physical status of a
specified interface, and specify the delay time for the track module to notify the application modules
when the status of the track entry changes.
Use the undo track command to remove the created track entry.
By default, no track entry to be associated with the physical status of a specified interface is created.
• After a track entry is created, you cannot modify the content associated with the track entry. You
need to remove the track entry, and then reconfigure it.
• After a track entry is created, you can use the track interface delay command to modify the delay
time for the track module to notify the application modules of the track entry status change.
• After a track object to be associated with the physical status of a specified interface is created, the
status of the track object is Positive if the physical status of the interface is up; the status of the track
object is Negative if the physical status of the interface is down. You can use the display ip interface
brief command to display the physical status of an interface.
Related commands: display track.
Examples
# Create track entry 1 to be associated with the physical status of interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] track 1 interface gigabitethernet 0/1
track interface protocol
Syntax
track track-entry-number interface interface-type interface-number protocol ipv4 [ delay { negative
negative-time | positive positive-time } * ]
undo track track-entry-number
View
System view
Default level
2: System level
Parameters
track-entry-number: track entry ID, in the range 1 to 1024.
interface-type interface-number: Type and number of the interface to be monitored.