H3C SR8800 10G Mpls Configuration Manual page 294

Core routers
Table of Contents

Advertisement

# Configure the P device.
[P] mpls lsr-id 2.2.2.9
[P] mpls
[P-mpls] lsp-trigger all
[P-mpls] quit
[P] mpls ldp
[P-mpls-ldp] quit
[P] interface pos 2/1/1
[P-POS2/1/1] mpls
[P-POS2/1/1] mpls ldp
[P-POS2/1/1] quit
[P] interface pos 2/1/2
[P-POS2/1/2] mpls
[P-POS2/1/2] mpls ldp
[P-POS2/1/2] quit
# Configure PE 2.
[PE2] mpls lsr-id 3.3.3.9
[PE2] mpls
[PE2-mpls] lsp-trigger all
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface pos 2/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 that the LSPs established
by LDP. The following takes PE 1 as an example:
[PE1] display mpls ldp session
LDP Session(s) in Public Network
----------------------------------------------------------------
Peer-ID
Status
---------------------------------------------------------------
2.2.2.9:0
Operational
---------------------------------------------------------------
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
LAM
SsnRole
DU
Passive
FT
LDP LSP Information
In/OutLabel
Next-Hop
3/NULL
127.0.0.1
NULL/3
172.1.1.2
NULL/1024
172.1.1.2
283
FT
MD5
KA-Sent/Rcv
Off
Off
5/5
: Fault Tolerance
In/Out-Interface
-------/InLoop0
-------/POS2/1/1
-------/POS2/1/1

Advertisement

Table of Contents
loading

Table of Contents