Huawei Quidway S9300 Configuration Manual page 176

Terabit routing switch
Table of Contents

Advertisement

3 BGP/MPLS IP VPN Configuration
[P] interface vlanif 10
[P-Vlanif10] mpls
[P-Vlanif10] mpls ldp
[P-Vlanif10] quit
[P] interface vlanif 20
[P-Vlanif20] mpls
[P-Vlanif20] mpls ldp
[P-Vlanif20] quit
# Configure PE2.
[PE2] mpls lsr-id 3.3.3.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface vlanif 20
[PE2-Vlanif20] mpls
[PE2-Vlanif20] mpls ldp
[PE2-Vlanif20] quit
After the configuration, LDP sessions should be set up between PE1 and P, and between PE2
and P. Running the display mpls ldp session command, you can see that Status is
Operational. Run the display mpls ldp lsp command, and you can see the establishment status
of the LDP LSP.
Take the display on PE1 as an example.
[PE1] display mpls ldp session
------------------------------------------------------------------------------
Peer-ID
------------------------------------------------------------------------------
2.2.2.9:0
------------------------------------------------------------------------------
TOTAL: 1 session(s) Found.
LAM : Label Advertisement Mode
[PE1] display mpls ldp lsp
------------------------------------------------------------------------------
SN
------------------------------------------------------------------------------
1
2
3
------------------------------------------------------------------------------
TOTAL: 3 Normal LSP(s) Found.
TOTAL: 0 Liberal LSP(s) Found.
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
Step 4 Configure VPN instances on each PE and connect the CEs to the PEs.
# Configure PE1.
[PE1] ip vpn-instance vpna
[PE1-vpn-instance-vpna] route-distinguisher 100:100
[PE1-vpn-instance-vpna] vpn-target 100:100 export-extcommunity
[PE1-vpn-instance-vpna] vpn-target 100:100 import-extcommunity
[PE1-vpn-instance-vpna] quit
[PE1] ip vpn-instance vpnb
[PE1-vpn-instance-vpnb] route-distinguisher 300:300
[PE1-vpn-instance-vpnb] vpn-target 200:200 export-extcommunity
3-72
LDP Session(s) in Public Network
Status
Operational DU
DestAddress/Mask
In/OutLabel
1.1.1.9/32
3/NULL
2.2.2.9/32
NULL/3
3.3.3.9/32
NULL/1025
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
LAM
SsnRole
SsnAge
Active
000:00:01
SsnAge Unit : DDD:HH:MM
LDP LSP Information
Next-Hop
127.0.0.1
12.1.1.2
12.1.1.2
Configuration Guide - VPN
KA-Sent/Rcv
6/6
In/Out-Interface
Vlanif10/InLoop0
-------/Vlanif10
-------/Vlanif10
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents