96
[SwitchB-ospf-1-area-0.0.0.0] mpls-te enable
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
[SwitchC] ospf
[SwitchC-ospf-1] opaque-capability enable
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] mpls-te enable
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
# Configure Switch D.
[SwitchD] ospf
[SwitchD-ospf-1] opaque-capability enable
[SwitchD-ospf-1] area 0
[SwitchD-ospf-1-area-0.0.0.0] mpls-te enable
[SwitchD-ospf-1-area-0.0.0.0] quit
[SwitchD-ospf-1] quit
6.
Configure a loose explicit route.
Configure a loose explicit route on Switch A.
[SwitchA] explicit-path atod enable
[SwitchA-explicit-path-atod] next hop 10.1.1.2 include loose
[SwitchA-explicit-path-atod] next hop 20.1.1.2 include loose
[SwitchA-explicit-path-atod] next hop 30.1.1.2 include loose
[SwitchA-explicit-path-atod] quit
7.
Create an MPLS TE tunnel.
# Create an MPLS TE tunnel on Switch A.
[SwitchA] interface tunnel 1
[SwitchA-Tunnel1] ip address 7.1.1.1 255.255.255.0
[SwitchA-Tunnel1] tunnel-protocol mpls te
[SwitchA-Tunnel1] destination 4.4.4.9
[SwitchA-Tunnel1] mpls te tunnel-id 10
[SwitchA-Tunnel1] mpls te signal-protocol rsvp-te
[SwitchA-Tunnel1] mpls te path explicit-path atod preference 5
[SwitchA-Tunnel1] mpls te commit
[SwitchA-Tunnel1] quit
8.
Verify the configuration.
Perform the
display interface tunnel
command on Switch A. The output shows that the tunnel
interface is up.
[SwitchA] display interface tunnel 1
Tunnel1 current state: UP
Line protocol current state: UP
Description: Tunnel1 Interface
The Maximum Transmit Unit is 64000
Internet Address is 7.1.1.1/24 Primary
Encapsulation is TUNNEL, service-loopback-group ID not set.
Tunnel source unknown, destination 4.4.4.9
Tunnel protocol/transport CR_LSP