beautypg.com

Configuring protection switching, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 132

background image

121

To do…

Use the command…

Remarks

Enter the tunnel interface view of
an MPLS TE tunnel

interface tunnel tunnel-number

Enable periodic LSP tracert for the
MPLS TE tunnel

mpls te periodic-tracert [ -a
source-ip | -exp exp-value | -h

ttl-value | -m wait-time | -t time-out
| -u retry-attempt ] *

Required
By default, periodic LSP tracert is
disabled for MPLS TE tunnels.

Configure MPLS TE to tear down a

failed RSVP TE tunnel and
reestablish it

mpls te failure-action teardown

Optional
Not configured by default

NOTE:

For more information about the mpls lspv command, see

MPLS Command Reference.

Configuring protection switching

Configuration prerequisites

Before you configure protection switching, complete the following tasks:

Configure basic MPLS

Enable MPLS TE and create an MPLS TE tunnel

Configure BFD for the MPLS TE tunnel.

Before you configure a protection tunnel, prepare the following data:

Interface number of the main tunnel in the protection group

ID of the protection tunnel in the protection group

Configuration procedure

Follow these steps to configure protection switching:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter tunnel interface view interface tunnel tunnel-number

Configure a protection
tunnel for the main tunnel

mpls te protection tunnel tunnel-id [ holdoff
holdoff-time | mode { non-revertive | revertive } ] * Required

Configure an external
protection switching action

mpls te protect-switch { clear | force | lock | manual
{ protect-lsp | work-lsp } }

Optional
By default, no switching

action is configured.

Commit the current
configuration of the tunnel

mpls te commit

Required