H3C SR8800 10G Mpls Configuration Manual page 385

Core routers
Table of Contents

Advertisement

[PE2] mpls lsr-id 3.3.3.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface pos2/1/1
[PE2-POS2/1/1] mpls
[PE2-POS2/1/1] mpls ldp
[PE2-POS2/1/1] quit
After you complete the configurations, LDP sessions are established between PE 1, P, and PE 2.
Issue the display mpls ldp session command. The output shows that the session status is
Operational. Issue the display mpls ldp lsp command. The output shows the LSPs established by
LDP. The following takes PE 1 as an example:
[PE1] display mpls ldp session
----------------------------------------------------------------
Peer-ID
---------------------------------------------------------------
2.2.2.9:0
---------------------------------------------------------------
LAM : Label Advertisement Mode
[PE1] display mpls ldp lsp
------------------------------------------------------------------
SN
DestAddress/Mask
------------------------------------------------------------------
1
1.1.1.9/32
2
2.2.2.9/32
3
3.3.3.9/32
------------------------------------------------------------------
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
Configure IPv6 VPN instances on the PEs to allow the CEs to access.
3.
# Configure PE 1.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 100:1
[PE1-vpn-instance-vpn1] vpn-target 111:1
[PE1-vpn-instance-vpn1] quit
[PE1] ip vpn-instance vpn2
[PE1-vpn-instance-vpn2] route-distinguisher 100:2
[PE1-vpn-instance-vpn2] vpn-target 222:2
[PE1-vpn-instance-vpn2] quit
[PE1] interface GigabitEthernet 4/1/1
[PE1-GigabitEthernet4/1/1] ip binding vpn-instance vpn1
[PE1-GigabitEthernet4/1/1] ipv6 address 2001:1::2 96
[PE1-GigabitEthernet4/1/1] quit
[PE1] interface GigabitEthernet 4/1/2
[PE1-GigabitEthernet4/1/2] ip binding vpn-instance vpn2
LDP Session(s) in Public Network
Status
LAM
Operational
DU
LDP LSP Information
In/OutLabel
3/NULL
NULL/3
NULL/1024
374
SsnRole
FT
MD5
Passive
Off
Off
FT
: Fault Tolerance
Next-Hop
In/Out-Interface
127.0.0.1
POS2/1/1/InLoop0
172.1.1.2
-------/POS2/1/1
172.1.1.2
-------/POS2/1/1
KA-Sent/Rcv
5/5

Advertisement

Table of Contents
loading

Table of Contents