![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 227](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453227.webp)
[NPE2]
bfd link2 bind ldp-lsp peer-ip 2.2.2.9 nexthop 10.4.1.1 interface
gigabitethernet 2/0/0
[NPE2-bfd-session-link2]
discriminator local 42
[NPE2-bfd-session-link2]
discriminator remote 24
[NPE2-bfd-session-link2]
process-pst
[NPE2-bfd-session-link2]
commit
[NPE2-bfd-session-link2]
quit
After the configuration is complete, run the
display bfd session all
command on UPEs and
NPEs. You can view that the status of BFD is Up.
Take UPE1 and NPE1 as examples.
[UPE1]
display bfd session all
-------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
-------------------------------------------------------------------------
13 31 3.3.3.9
Up
S_LDP_LSP GigabitEthernet1/0/0
14 41 4.4.4.9
Up
S_LDP_LSP GigabitEthernet1/0/1
-------------------------------------------------------------------------
Total UP/DOWN Session Number : 2/0
[NPE1]
display bfd session all
--------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------
31 13 1.1.1.9
Up
S_LDP_LSP GigabitEthernet2/0/0
32 23 2.2.2.9
Up
S_LDP_LSP GigabitEthernet2/0/1
341 431 192.168.1.2
Up
S_IP_PEER --
342 432 192.168.2.2
Up
S_IP_PEER --
--------------------------------------------------------------------------
Total UP/DOWN Session Number : 4/0
6.
Bind the mVRRP to Peer BFD and Link BFD.
# Configure NPE1.
[NPE1]
interface virtual-ethernet2/0/1
[NPE1-Virtual-Ethernet2/0/1]
vrrp vrid 1 track bfd-session 341 peer
[NPE1-Virtual-Ethernet2/0/1]
vrrp vrid 1 track bfd-session 31 link
[NPE1-Virtual-Ethernet2/0/1]
quit
[NPE1]
interface virtual-ethernet2/0/3
[NPE1-Virtual-Ethernet2/0/3]
vrrp vrid 2 track bfd-session 342 peer
[NPE1-Virtual-Ethernet2/0/3]
vrrp vrid 2 track bfd-session 32 link
[NPE1-Virtual-Ethernet2/0/3]
quit
# Configure NPE2.
[NPE2]
interface virtual-ethernet2/0/1
[NPE2-Virtual-Ethernet2/0/1]
vrrp vrid 1 track bfd-session 431 peer
[NPE2-Virtual-Ethernet2/0/1]
vrrp vrid 1 track bfd-session 41 link
[NPE2-Virtual-Ethernet2/0/1]
quit
[NPE2]
interface virtual-ethernet2/0/3
[NPE2-Virtual-Ethernet2/0/3]
vrrp vrid 2 track bfd-session 432 peer
[NPE2-Virtual-Ethernet2/0/3]
vrrp vrid 2 track bfd-session 42 link
[NPE2-Virtual-Ethernet2/0/3]
quit
After the configuration is complete, run the
display vrrp
command on NPEs. You can
view that the mVRRP is bound to the Peer BFD and the Link BFD; the mVRRP is Up.
Take NPE1 as an example.
[NPE1]
display vrrp
Virtual-Ethernet2/0/7 | Virtual Router 4
state : Initialize
Virtual IP : 172.17.1.254
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 100
preempt : yes delay time : 0
TimerRun : 1
TimerConfig : 1
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
210