beautypg.com

Assigning priorities to a tunnel, Configuring traffic forwarding, Configuration prerequisites – H3C Technologies H3C S10500 Series Switches User Manual

Page 122: Configuration procedures, Forwarding traffic along mpls te tunnels, Using static routes

background image

111

Assigning priorities to a tunnel

Two priorities, setup priority and holding priority, are assigned to paths for MPLS TE to make preemption

decision. For a new path to preempt an existing path, the setup priority of the new path must be greater
than the holding priority of the existing path.
To avoid flapping caused by improper preemptions between CR-LSPs, the setup priority of a CR-LSP must

not be set higher than its holding priority.
Follow these steps to assign priorities to a tunnel:

To do…

Use the command...

Remarks

Enter system view

system-view

––

Enter MPLS TE tunnel interface view interface tunnel tunnel-number ––

Assign priorities to the tunnel

mpls te priority setup-priority
[ hold-priority ]

Optional
The default setup and holding

priorities are 7.

Submit current tunnel configuration mpls te commit

Required

Configuring traffic forwarding

Configuration prerequisites

Before you configure traffic forwarding, complete the following tasks:

Configure basic MPLS

Configure basic MPLS TE

Configure MPLS TE tunnels

Configuration procedures

Forwarding traffic along MPLS TE tunnels using static routes

Follow these steps to create static routes for routing traffic along an MPLS TE tunnel:

To do…

Use the command...

Remarks

Enter system view

system-view

––

Create a static route for forwarding
traffic along an MPLS TE tunnel

ip route-static dest-address { mask
| mask-length } interface-type

interface-number

[ gateway-address ] | vpn-instance

d-vpn-instance-name
gateway-address } [ preference

preference-value ] [ tag tag-value ]

[ description description-text ]

Required