110
[SwitchA-Tunnel3] quit
5.
Configure a static route on Switch A to direct the traffic destined for subnet 20.1.1.0/24 to MPLS
TE tunnel 3.
[SwitchA] ip route-static 20.1.1.2 24 tunnel 3 preference 1
Verifying the configuration
# Execute the
display interface tunnel
command on Switch A. The output shows that the tunnel interface
Tunnel 3 is up.
[SwitchA] 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
Tunnel source unknown, destination 3.3.3.9
Tunnel bandwidth 64 (kbps)
Tunnel TTL 255
Tunnel protocol/transport CR_LSP
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 1802 bytes/sec, 14416 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 drops
351 packets output, 3105652 bytes, 0 drops
# Execute the
display mpls lsp
command on Switch A. The output shows that two CRLSPs exist on the
switch, one with the output interface VLAN-interface 1 and the other with the output interface
VLAN-interface 4.
[SwitchA] display mpls lsp
FEC Proto In/Out Label Interface/Out NHLFE
1.1.1.9/3/30106 RSVP -/1137 Vlan1
1.1.1.9/3/30107 RSVP -/1150 Vlan4
10.1.1.2 Local -/- Vlan1
30.1.1.2 Local -/- Vlan4
# Execute the
display rsvp lsp verbose
command on Switch A to display the paths used by the two
CRLSPs.
[SwitchA] display rsvp lsp verbose
Tunnel name: SwitchA_t3
Destination: 3.3.3.9 Source: 1.1.1.9
Tunnel ID: 3 LSP ID: 30106
LSR type: Ingress Direction: Unidirectional
Setup priority: 7 Holding priority: 7
In-Label: - Out-Label: 1137
In-Interface: - Out-Interface: Vlan1
Nexthop: 10.1.1.2 Exclude-any: 0
Include-Any: 0 Include-all: 0
Mean rate (CIR): 0 kbps Mean burst size (CBS): 1000.00 bytes
Path MTU: 1500 Class type: CT0
RRO number: 6