Track Interface Protocol - H3C WX Series Command Reference Manual

Access controllers
Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

Related commands: display track; display ip interface brief (Layer 3 Command Reference).
Examples
# Create track entry 1 and associate it with the physical status of interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] track 1 interface gigabitethernet 1/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
View
System view
Default level
2: System level
Parameters
track-entry-number: Track entry ID, in the range of 1 to 1024.
interface-type interface-number: Type and number of the interface to be monitored.
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 specific 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 in seconds,
in the range of 1 to 300.
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 in seconds, in the
range of 1 to 300.
Description
Use track interface protocol to create a track entry, associate it with the protocol status of a specific
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 track entry.
By default, no track entry to be associated with the protocol status of a specific interface is created.
29

Advertisement

Table of Contents
loading

Table of Contents