![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 1063](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531063.webp)
[RSG1-bfd-session-hello]
quit
[RSG1]
e-trunk 10
[RSG1-e-trunk-10]
e-trunk track bfd-session session-name hello
[RSG1-e-trunk-10]
quit
# Configure RSG2.
[RSG2]
bfd
[RSG2-bfd]
quit
[RSG2]
bfd hello bind peer-ip 2.2.2.2 source-ip 3.3.3.3
[RSG2-bfd-session-hello]
discriminator local 1006
[RSG2-bfd-session-hello]
discriminator remote 1005
[RSG2-bfd-session-hello]
commit
[RSG2-bfd-session-hello]
quit
[RSG2]
e-trunk 10
[RSG2-e-trunk-10]
e-trunk track bfd-session session-name hello
[RSG2-e-trunk-10]
quit
6.
Configure BFD for PW.
# Configure the CSG.
[CSG]
bfd
[CSG-bfd]
quit
[CSG]
bfd sessionA bind pw interface gigabitethernet1/0/0.10 remote-peer
2.2.2.2 pw-ttl auto-calculate
[CSG-bfd-lsp-session-sessionA]
discriminator local 1001
[CSG-bfd-lsp-session-sessionA]
discriminator remote 1002
[CSG-bfd-lsp-session-sessionA]
commit
[CSG-bfd-lsp-session-sessionA]
quit
[CSG]
bfd sessionB bind pw interface gigabitethernet1/0/0.10 remote-peer
3.3.3.3 pw-ttl auto-calculate secondary
[CSG-bfd-lsp-session-sessionB]
discriminator local 1003
[CSG-bfd-lsp-session-sessionB]
discriminator remote 1004
[CSG-bfd-lsp-session-sessionB]
commit
[CSG-bfd-lsp-session-sessionB]
quit
# Configure RSG1.
[RSG1]
bfd sessionA bind pw interface eth-trunk10.1 remote-peer 1.1.1.1 pw-ttl
auto-calculate
[RSG1-bfd-lsp-session-sessionA]
discriminator local 1002
[RSG1-bfd-lsp-session-sessionA]
discriminator remote 1001
[RSG1-bfd-lsp-session-sessionA]
commit
[RSG1-bfd-lsp-session-pe2]
quit
# Configure RSG2.
[RSG2]
bfd sessionB bind pw interface eth-trunk10.1 remote-peer 1.1.1.1 pw-ttl
auto-calculate
[RSG2-bfd-lsp-session-sessionB]
discriminator local 1004
[RSG2-bfd-lsp-session-sessionB]
discriminator remote 1003
[RSG2-bfd-lsp-session-sessionB]
commit
[RSG2-bfd-lsp-session-pe2]
quit
# Verify the configuration. Run the
display bfd session all
command on the CSG to view
the BFD session status. The following example uses the command output on the CSG.
[CSG]
display bfd session all
------------------------------------------------------------------------------
--
Local Remote PeerIpAddr State Type
InterfaceName
------------------------------------------------------------------------------
--
1001 1002 --.--.--.-- Up S_PW(M)
GigabitEthernet1/0/0.10
1003 1004 --.--.--.-- Down S_PW(M)
GigabitEthernet1/0/0.10
------------------------------------------------------------------------------
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
10 Bit-Error-Triggered Protection Switching Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1046