67
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…
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 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…
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