127
Device
Interface
IP address
Device
Interface
IP address
Vlan-int2
20.1.1.1/24
Vlan-int10 100.1.2.1/24
416B
Configuration procedure
Before configuration, disable the spanning tree feature globally or map each VLAN to an MSTI. For
more information, see
Layer 2—LAN Switching Configuration Guide
.
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 Switch A.
<SwitchA> system-view
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls te
[SwitchA-te] quit
[SwitchA] rsvp
[SwitchA-rsvp] quit
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] mpls enable
[SwitchA-Vlan-interface1] mpls te enable
[SwitchA-Vlan-interface1] rsvp enable
[SwitchA-Vlan-interface1] quit
[SwitchA] interface vlan-interface 4
[SwitchA-Vlan-interface4] mpls enable
[SwitchA-Vlan-interface4] mpls te enable
[SwitchA-Vlan-interface4] rsvp enable
[SwitchA-Vlan-interface4] quit
# Configure Switch B, Switch C, and Switch D in the same way that Switch A is configured.
(Details not shown.)
4.
Configure an MPLS TE tunnel on Switch A:
# Configure MPLS TE tunnel interface Tunnel 3.
[SwitchA] interface tunnel 3 mode mpls-te
[SwitchA-Tunnel3] ip address 9.1.1.1 24
# Specify the tunnel destination address as the LSR ID of Switch C.
[SwitchA-Tunnel3] destination 3.3.3.9
# Configure MPLS TE to use RSVP-TE to establish the tunnel.
[SwitchA-Tunnel3] mpls te signaling rsvp-te
# Enable CRLSP hot backup for the tunnel.
[SwitchA-Tunnel3] mpls te backup hot-standby
[SwitchA-Tunnel3] quit
5.
Configure a static route on Switch A to direct the traffic destined for subnet 100.1.2.0/24 to
MPLS TE tunnel 3.
[SwitchA] ip route-static 100.1.2.0 24 tunnel 3 preference 1
417B
Verifying the configuration
# Verify that the tunnel interface Tunnel 3 is up on Switch A.
[SwitchA] display interface tunnel
Tunnel3