CAUTION:
You must configure IGP shortcut or a static route for the MPLS TE tunnel, so that IP routing prefers the
•
MPLS TE tunnel interface as the outgoing interface.
You must configure the tunnel tailend LSR ID as the tunnel destination.
•
Configure LDP on Router B and Router C
6.
# Configure Router B.
[RouterB] mpls
[RouterB-mpls] mpls ldp
[RouterB-mpls] quit
[RouterB] interface GigabitEthernet 3/1/1
[RouterB-GigabitEthernet3/1/1] mpls
[RouterB-GigabitEthernet3/1/1] mpls ldp
[RouterB-GigabitEthernet3/1/1] quit
[RouterB] mpls ldp remote-peer C
[RouterB-mpls-ldp-remote-c] remote-ip 3.3.3.3
[RouterB-mpls-ldp-remote-c] prefix-label advertise
[RouterB-mpls-ldp-remote-c] quit
# Configure Router C.
[RouterC] mpls
[RouterC-mpls] mpls ldp
[RouterC-mpls] quit
[RouterC] interface GigabitEthernet 3/1/1
[RouterC-GigabitEthernet3/1/1] mpls
[RouterC-GigabitEthernet3/1/1] mpls ldp
[RouterC-GigabitEthernet3/1/1] quit
[RouterC] mpls ldp remote-peer b
[RouterC-mpls-ldp-remote-b] remote-ip 2.2.2.2
[RouterC-mpls-ldp-remote-b] prefix-label advertise
[RouterC-mpls-ldp-remote-b] quit
# Execute the display mpls ldp session command on Router B. You can see that a remote session
is established between Router B and Router C.
[RouterB] display mpls ldp session verbose
----------------------------------------------------------------------
Peer LDP ID
TCP Connection
Session State
Session FT Flag : Off
Reconnect Timer : ---
Negotiated Keepalive Timer
Keepalive Message Sent/Rcvd
Label Advertisement Mode
Label Resource Status(Peer/Local) : Available/Available
Peer Discovery Mechanism
LDP Session(s) in Public Network
: 1.1.1.1:0
: 2.2.2.2 -> 1.1.1.1
: Operational
140
Local LDP ID
Session Role
MD5 Flag
Recovery Timer : ---
: 45 Sec
: 437/437 (Message Count)
: Downstream Unsolicited
: Basic
: 2.2.2.2:0
: Active
: Off