R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
331
Use undo preferred-path to remove a preferred tunnel.
Syntax
preferred-path number interface tunnel tunnel-number [ disable-fallback ]
undo preferred-path number
Default
No preferred tunnel exists.
Views
Tunneling policy view
Default command level
2: System view
Parameters
number: Specifies the number of the preferred tunnel, in the range of 0 to 63. A smaller number means
a higher priority.
interface tunnel tunnel-number: Specifies a tunnel interface for the preferred tunnel. The tunnel-number
argument represents the tunnel interface number.
disable-fallback: With this keyword specified, the tunneling policy does not select other paths when this
preferred tunnel is matched (the tunnel's destination address and encapsulation type are both matched)
but is unavailable.
Usage guidelines
In a tunneling policy, you can configure up to 64 preferred tunnels.
The tunnel interfaces specified for the preferred tunnels can have the same destination address and the
tunnel encapsulation type must be GRE or MPLS TE.
The following matrix shows the value ranges for the tunnel-number argument:
6602 HSR6602 6604/6608/6616
0 to 4095 0 to 4095 0 to 20479
Examples
# Tunnel interfaces Tunnel 0, Tunnel 2, and Tunnel 3 have the same destination address 1.1.1.1. Configure
a tunneling policy po1 for the device, so that the device selects tunnels for traffic destined for 1.1.1.1 in this
order: Tunnel 0, Tunnel 2, Tunnel 3. If all three tunnels are unavailable, tunnel selection is stopped and
t r a f f i c d e s t i n e d f o r 1.1.1.1 c a n n o t b e t ra n s m i t t e d . Fo r traffic going to other destinations, the device selects
tunnels by type and only one CR-LSP tunnel can be selected.
<Sysname> system-view
[Sysname] tunnel-policy po1
[Sysname-tunnel-policy-po1] preferred-path 0 interface tunnel 0
[Sysname-tunnel-policy-po1] preferred-path 2 interface tunnel 2
[Sysname-tunnel-policy-po1] preferred-path 3 interface tunnel 3 disable-fallback
[Sysname-tunnel-policy-po1] tunnel select-seq cr-lsp load-balance-number 1










