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.
To assign priorities to a tunnel:
To do...
Enter system view
Enter MPLS TE tunnel interface view
Assign priorities to the tunnel
Submit current tunnel configuration
Configuring traffic forwarding
Configuration prerequisites
Before you configure traffic forwarding, complete the following tasks:
•
Configure basic MPLS.
Configure MPLS TE basic settings.
•
Configure MPLS TE tunnels.
•
Configuration procedures
Forwarding traffic along MPLS TE tunnels using static routes
To create static routes for routing traffic along an MPLS TE tunnel:
To do...
Enter system view
Create a static route for forwarding
traffic along an MPLS TE tunnel
Use the command...
system-view
interface tunnel tunnel-number
mpls te priority setup-priority
[ hold-priority ]
mpls te commit
Use the command...
system-view
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 ]
67
Remarks
––
––
Optional
The default setup and holding
priorities are 7.
Required
Remarks
––
Required