R2511-HP MSR Router Series MPLS Command Reference(V5)
174
Usage guidelines
This command applies to inter-AS option B VPN.
Only VPNv4 routes with export route target attributes matching the local import route target attributes are
added into the routing table.
Examples
# In BGP-VPNv4 subaddress family view, disable route target filtering for received VPNv4 routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] undo policy vpn-target
# In BGP-L2VPN address family view, disable route target filtering for received VPNv4 routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] undo policy vpn-target
preferred-path
Use preferred-path interface tunnel to configure a preferred tunnel and specify a tunnel interface for it.
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 in the range of 0 to 1023.
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.










