Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 81
70
# Perform the same configurations on Switch B, Switch C, and Switch D as on Switch A. (Details
not shown.)
4.
On Switch A, configure the MPLS TE tunnel interface Tunnel 3, specify the tunnel destination
address as the LSR ID of Switch C, configure MPLS TE to use RSVP-TE to establish the tunnel, and
enable CRLSP hot backup for the tunnel.
[SwitchA] interface tunnel 3 mode mpls-te
[SwitchA-Tunnel3] ip address 9.1.1.1 24
[SwitchA-Tunnel3] destination 3.3.3.9
[SwitchA-Tunnel3] mpls te signaling rsvp-te
[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 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 egress interface VLAN-interface 1 and the other with the egress 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: Tunnel3
Destination: 3.3.3.9 Source: 1.1.1.9