Huawei quidway s7700 Configuration Manual page 642

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[PE1] bfd 1to3 bind pw interface vlanif 10 secondary
[PE1-bfd-lsp-session-1to3] discriminator local 13
[PE1-bfd-lsp-session-1to3] discriminator remote 31
[PE1-bfd-lsp-session-1to3] commit
[PE1-bfd-lsp-session-1to3] quit
# Configure PE2.
[PE2] bfd
[PE2-bfd] quit
[PE2] bfd for pw enable
[PE2] bfd 2to1 bind pw interface vlanif 50
[PE2-bfd-lsp-session-2to1] discriminator local 21
[PE2-bfd-lsp-session-2to1] discriminator remote 12
[PE2-bfd-lsp-session-2to1] commit
[PE2-bfd-lsp-session-2to1] quit
# Configure PE3.
[PE3] bfd
[PE3-bfd] quit
[PE3] bfd for pw enable
[PE3] bfd 3to1 bind pw interface vlanif 70
[PE3-bfd-lsp-session-3to1] discriminator local 31
[PE3-bfd-lsp-session-3to1] discriminator remote 13
[PE3-bfd-lsp-session-3to1] commit
[PE3-bfd-lsp-session-3to1] quit
After the configuration, BFD sessions are established between PE1 and PE2, and between PE1
and PE3. Run the display bfd session all command. You can see that the status of the BFD
sessions is Up.
Take the display on PE1 for example.
<PE1> display bfd session all
--------------------------------------------------------------------------------
Local
--------------------------------------------------------------------------------
12
13
--------------------------------------------------------------------------------
Run the display bfd configuration all command. You can view information about the BFD
configuration, and you can see that the Commit field is True.
<PE1> display bfd configuration all
--------------------------------------------------------------------------------
CFG Name
--------------------------------------------------------------------------------
1to2
1to3
--------------------------------------------------------------------------------
Step 7 Verify the configuration.
When the master PW works normally, the primary address of CE1 can ping 10.1.1.2 on CE2.
The backup PW does not work, so the secondary address of CE1 cannot ping 10.1.2.2 on CE2.
# Run the display mpls l2vc interface command on PE to view the PW status. You can see that
the BFD for PW function is enabled on the master PW and the backup PW and the BFD session
is Up.
<PE1> display mpls l2vc interface vlanif 10
*client interface
Administrator PW
session state
Issue 01 (2011-07-15)
Remote PeerIpAddr
21
--.--.--.--
31
--.--.--.--
Total UP/DOWN Session Number : 2/0
CFG Type
Static_PW(M)
Static_PW(S)
Total Commit/Uncommit CFG Number : 2/0
: Vlanif10 is up
: no
: up
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
InterfaceName
Vlanif10
Vlanif10
LocalDiscr MIndex
12
256
13
257
6 PWE3 Configuration
State
Type
Up
S_PW(M)
Up
S_PW(S)
SessNum
Commit
AdminDown
1
True
False
1
True
False
627

Advertisement

Table of Contents
loading

Table of Contents