
112
[RouterA] interface giabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] mpls
[RouterA-GigabitEthernet2/1/1] mpls te
[RouterA-GigabitEthernet2/1/1] mpls rsvp-te
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] interface pos 5/1/1
[RouterA-POS55/1/1] mpls
[RouterA-POS5/1/1] mpls te
[RouterA-POS5/1/1] mpls rsvp-te
[RouterA-POS5/1/1] quit
Follow the same steps to configure Router B, Router C, and Router D.
4.
Create an MPLS TE tunnel on Router A:
# Configure the MPLS TE tunnel carried on the primary LSP.
[RouterA] interface tunnel 3
[RouterA-Tunnel3] ip address 9.1.1.1 255.255.255.0
[RouterA-Tunnel3] tunnel-protocol mpls te
[RouterA-Tunnel3] destination 3.3.3.9
[RouterA-Tunnel3] mpls te tunnel-id 10
[RouterA-Tunnel3] mpls te record-route
# Enable hot LSP backup.
[RouterA-Tunnel3] mpls te backup hot-standby
[RouterA-Tunnel3] mpls te commit
[RouterA-Tunnel3] quit
Execute the
display interface tunnel
command on Router A. You can see that Tunnel 3 is up.
[RouterA] display interface tunnel
Tunnel3 current state: UP
Line protocol current state: UP
Description: Tunnel3 Interface
The Maximum Transmit Unit is 64000
Internet Address is 9.1.1.1/24 Primary
Encapsulation is TUNNEL, service-loopback-group ID not set
Tunnel source unknown, destination 3.3.3.9
Tunnel protocol/transport CR_LSP
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Last 300 seconds input: 0 bytes/sec, 0 packets/sec
Last 300 seconds output: 0 bytes/sec, 0 packets/sec
0 packets input, 0 bytes
0 input error
0 packets output, 0 bytes
0 output error
5.
Verify the configuration:
# Execute the
display mpls te tunnel
command on Router A. You can see that two tunnels are
present with the outgoing interface being GigabitEthernet 2/1/1 and POS 5/1 respectively. This
indicates that a backup CR-LSP was created upon creation of the primary CR-LSP.
[RouterA] display mpls te tunnel
LSP-Id Destination In/Out-If Name