137
Device
Interface
IP address
Device
Interface
IP address
GE1/1/2
20.1.1.1/24
POS1/1/1 40.1.1.2/24
Configuration procedure
1.
Configure IP addresses and masks for interfaces. (Details not shown.)
2.
Configure IS-IS to advertise interface addresses, including the loopback interface address, and
configure IS-IS TE. (Details not shown.)
3.
Configure an LSR ID, and enable MPLS, MPLS TE, and RSVP-TE:
# Configure Router A.
<RouterA> system-view
[RouterA] mpls lsr-id 1.1.1.9
[RouterA] mpls te
[RouterA-te] quit
[RouterA] rsvp
[RouterA-rsvp] quit
[RouterA] interface gigabitethernet 1/1/1
[RouterA-GigabitEthernet1/1/1] mpls enable
[RouterA-GigabitEthernet1/1/1] mpls te enable
[RouterA-GigabitEthernet1/1/1] rsvp enable
[RouterA-GigabitEthernet1/1/1] quit
[RouterA] interface pos 1/1/1
[RouterA-POS1/1/1] mpls enable
[RouterA-POS1/1/1] mpls te enable
[RouterA-POS1/1/1] rsvp enable
[RouterA-POS1/1/1] quit
# Configure Router B, Router C, and Router D in the same way that Router A is configured.
(Details not shown.)
4.
Configure an MPLS TE tunnel on Router A:
# Configure MPLS TE tunnel interface Tunnel 3.
[RouterA] interface tunnel 3 mode mpls-te
[RouterA-Tunnel3] ip address 9.1.1.1 255.255.255.0
# Specify the tunnel destination address as the LSR ID of Router C.
[RouterA-Tunnel3] destination 3.3.3.9
# Configure MPLS TE to use RSVP-TE to establish the tunnel.
[RouterA-Tunnel3] mpls te signaling rsvp-te
# Enable CRLSP hot backup for the tunnel.
[RouterA-Tunnel3] mpls te backup hot-standby
[RouterA-Tunnel3] quit
5.
Configure a static route on Router A to direct the traffic destined for subnet 100.1.2.0/24 to
MPLS TE tunnel 3.
[RouterA] ip route-static 100.1.2.0 24 tunnel 3 preference 1
Verifying the configuration
# Verify that the tunnel interface Tunnel 3 is up on Router A.
[RouterA] display interface tunnel
Tunnel3
Current state: UP