R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101
43
View
System view
Default level
2: System level
Parameters
track-entry-number: Track entry ID, which ranges from 1 to 1024.
interface-type interface-number: Specifies an interface by its type and number.
ipv4: IPv4 protocol status of the interface to be monitored. When the IPv4 protocol status of an interface
is up, the status of the track object is Positive. When the IPv4 protocol status of an interface is down, the
status of the track object is Negative. To display the IPv4 protocol status of an interface, use the display
ip interface brief command.
ipv6: IPv6 protocol status of the interface to be monitored. When the IPv6 protocol status of an interface
is up, the status of the track object is Positive. When the IPv6 protocol status of an interface is down, the
status of the track object is Negative. To display the IPv6 protocol status of an interface, use the display
ipv6 interface command.
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 track interface protocol to create a track entry, associate it with the protocol 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 undo track to remove the track entry.
By default, no track entry to be associated with the protocol status of a specified interface is created.
After a track entry is created, you cannot change its settings except the delay time. To change the delay
time, use the track interface protocol delay command. To modify other settings of this track entry, first
delete the entire track entry, and then create a new track entry.
Related commands: display track, display ip interface brief (Network Management Command
Reference), and display ipv6 interface (Network Management Command Reference).
Examples
# Create track entry 1 and associate it with the IPv4 protocol status of interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] track 1 interface GigabitEthernet 0/1 protocol ipv4