HP MSR2000/3000/4000 Router Series High Availability Command Reference

60
track bfd
Use track bfd to create a track entry and associate it with a BFD session.
Use undo track to remove the track entry.
Syntax
track track-entry-number bfd echo interface interface-type interface-number remote ip remote-ip local ip
local-ip [ delay { negative negative-time | positive positive-time } * ]
undo track track-entry-number
Default
No track entry exists.
Views
System view
Predefined user roles
network-admin
Parameters
track-entry-number: Specifies the track entry ID in the range of 1 to 1024.
interface interface-type interface-number: Specifies the outgoing interface by its type and number of the
BFD echo packets.
remote ip remote-ip: Specifies the destination IP address of the BFD echo packets.
local ip local-ip: Specifies the source IP address of the BFD echo packets.
delay: Specifies the amount of time the Track module waits before notifying the application modules that
the track entry state has changed. If you do not specify this keyword, the Track module notifies the
application modules immediately when the track entry state changes.
negative negative-time: Specifies the amount of time the Track module waits before notifying the
application modules that the status of the track entry has changed to Negative. The negative-time
argument represents the delay time in the range of 1 to 300 seconds.
positive positive-time: Specifies the amount of time the Track module waits before notifying the
application modules that the status of the track entry has changed to Positive. The positive-time argument
represents the delay time in the range of 1 to 300 seconds.
Usage guidelines
After a track entry is created, you can only use the track bfd delay command to modify its notification
delay settings. To modify other settings, you must delete the entry and create a new one.
When you configure collaboration between Track and BFD, do not configure the virtual IP address of a
VRRP group as the local or remote address of a BFD session.
Examples
# Create track entry 1, which uses BFD to monitor the link between local IP address 192.168.40.2 and
remote IP address 192.168.40.1 by sending BFD echo packets out from the interface Ethernet 1/1.
<Sysname> system-view
[Sysname] track 1 bfd echo interface ethernet 1/1 remote ip 192.168.40.1 local ip
192.168.40.2