beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 135

background image

124

Backup Tunnel : -

Group Status : -

Oam Status : -

5.

Configure a bypass tunnel on Router B (the PLR)
# Create an explicit path for the bypass LSP.

[RouterB] explicit-path by-path

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

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

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

[RouterB-explicit-path-by-path] quit

# Create the bypass tunnel.

[RouterB] interface tunnel 5

[RouterB-Tunnel5] ip address 11.1.1.1 255.255.255.0

[RouterB-Tunnel5] tunnel-protocol mpls te

[RouterB-Tunnel5] destination 3.3.3.3

[RouterB-Tunnel5] mpls te tunnel-id 15

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

# Configure the bandwidth that the bypass tunnel protects.

[RouterB-Tunnel5] mpls te backup bandwidth 10000

[RouterB-Tunnel5] mpls te commit

[RouterB-Tunnel5] quit

# Bind the bypass tunnel with the protected interface.

[RouterB] interface GigabitEthernet 3/1/2

[RouterB-GigabitEthernet3/1/2] mpls te fast-reroute bypass-tunnel tunnel 5

[RouterB-GigabitEthernet3/1/2] quit

# Perform the display interface tunnel command on Router B. You can find that Tunnel5 is up.
# Perform the display mpls lsp command on each router. You can find that two LSPs are traversing
Router B and Router C.

[RouterA] display mpls lsp

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

LSP Information: RSVP LSP

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

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 NULL/1024 -/GE3/1/1

[RouterB] display mpls lsp

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

LSP Information: RSVP LSP

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

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 1024/1024 GE3/1/1/GE3/1/2

3.3.3.3/32 NULL/1024 -/POS2/1/1

[RouterC] display mpls lsp

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

LSP Information: RSVP LSP

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

FEC In/Out Label In/Out IF Vrf Name

4.4.4.4/32 1024/3 GE3/1/2/GE3/1/1