![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 1094](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531094.webp)
[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
------------------------------------------------------------------------------
--
Total UP/DOWN Session Number : 1/1
7.
Configure bit-error-triggered protection switching.
a.
# Enable bit-error-triggered protection switching for the RSVP-TE tunnel and specify
its reverse tunnel.
# Configure the CSG.
[CSG]
interface tunnel 1/0/1
[CSG-Tunnel1/0/1]
mpls te bit-error-detection
[CSG-Tunnel1/0/1]
mpls te reverse-lsp protocol rsvp-te ingress-lsr-id
2.2.2.2 tunnel-id 100
[CSG-Tunnel1/0/1]
mpls te commit
[CSG-Tunnel1/0/1]
quit
[CSG]
interface tunnel 1/0/2
[CSG-Tunnel1/0/2]
mpls te bit-error-detection
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.
1077