DES-7200 Configuration Guide Chapter 3 BFD Configuration
3-22
Command Function
DES-7200(config-route-map)#set ip
next-hop verify-availability
[next-hop-address [track number|bfd
[vrf vrf-name] interface-type
interface-number gateway]]
Configure the session neighbor of the BFD
for PBR.
interface-type interface-number: the neighbor
interface;
gateway: the IP address for the neighbor ;
Make sure that the BFD session parameter
for the interface has been configured before
configuration. For details, see Configuring
the BFD Session Parameter.
If the BFD session faults are detected, the
next-hop specified by the next-hop-address
is unreachable.
Use the no form of this command to remove
the configuration.
DES-7200(config-route-map)#exit Exit the route-map configuration mode.
DES-7200(config)# interface type
number
Enter the interface configuration mode.
DES-7200(config-if)#ip policy
route-map route-ma
Configure the BFD for the PBR.
DES-7200(config)-if# end (Optional) Exit to the privileged mode.
DES-7200# show bfd neighbor
[details]
(Optional) Show the information of the BFD
session establishment and whether PBR is
associated to the specified session.
DES-7200#show route-map
(Optional) Verify whether PBR is associated
to the specified session.
Use the no set ip next-hop verify-availability [next-hop-address [track
number|bfd [vrf vrf-name] interface-type interface-number gateway]] command
in the route-map configuration mode to disable the BFD for PBR.
The following example shows how to enable the BFD for PBR, and detect the
forwarding path with the neighbor 172.16.0.2:
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# route-map Example1 permit 10
DES-7200(config-route-map)# match ip address 1
DES-7200(config-route-map)# set ip precedence priority
DES-7200(config-route-map)#set ip next-hop verify-availability 172.16.0.2
bfd FastEthernet 0/1 172.16.0.2
DES-7200(config-route-map)#exit