R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

42
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 .
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 to create a track entry, associate it 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 undo track to remove the 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 change its settings except the delay time. To change the delay
time, use the track interface delay command. To modify other settings of this track entry, first delete the
entire track entry, and then create a new track entry.
When a track entry to be associated with the physical status of a specified interface is created, the status
of the track entry is Positive if the physical status of the interface is up. The status of the track entry is
Negative if the physical status of the interface is down. To display the physical status of an interface, use
the display ip interface brief command.
Related commands: display track and display ip interface brief (Network Management Command
Reference).
Examples
# Create track entry 1 and associate it 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 | ipv6 } [ delay
{ negative negative-time | positive positive-time } * ]
undo track track-entry-number