H3C Technologies H3C S10500 Series Switches User Manual

Page 157

Advertising
background image

146

[SwitchB] explicit-path by-path

[SwitchB-explicit-path-by-path] next hop 3.2.1.2

[SwitchB-explicit-path-by-path] next hop 3.3.1.2

[SwitchB-explicit-path-by-path] next hop 3.3.3.3

[SwitchB-explicit-path-by-path] quit

# Create the bypass tunnel.

[SwitchB] interface tunnel 5

[SwitchB-Tunnel5] ip address 11.1.1.1 255.255.255.0

[SwitchB-Tunnel5] tunnel-protocol mpls te

[SwitchB-Tunnel5] destination 3.3.3.3

[SwitchB-Tunnel5] mpls te tunnel-id 15

[SwitchB-Tunnel5] mpls te path explicit-path by-path preference 1

# Bind the bypass tunnel with the protected interface.

[SwitchB] interface Vlan-interface 2

[SwitchB-Vlan-interface2] mpls te fast-reroute bypass-tunnel tunnel 5

[SwitchB-Vlan-interface2] quit

Perform the display interface tunnel command on Switch B. You can see that Tunnel5 is up.
Perform the display mpls lsp command on each switch. You can see that two LSPs are traversing Switch

B and Switch C.

[SwitchA] display mpls lsp

------------------------------------------------------------------

LSP Information: RSVP LSP

------------------------------------------------------------------

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 NULL/1024 -/Vlan1

[SwitchB] display mpls lsp

------------------------------------------------------------------

LSP Information: RSVP LSP

------------------------------------------------------------------

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 1024/1024 Vlan1/Vlan2

3.3.3.3/32 NULL/1024 -/Vla4

[SwitchC] display mpls lsp

------------------------------------------------------------------

LSP Information: RSVP LSP

------------------------------------------------------------------

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 1024/3 Vlan2/Vlan3

3.3.3.3/32 3/NULL Vlan5/-

[SwitchD] display mpls lsp

------------------------------------------------------------------

LSP Information: RSVP LSP

------------------------------------------------------------------

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 3/NULL Vlan3/-

[SwitchE] display mpls lsp

------------------------------------------------------------------

Advertising