R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
348
Usage guidelines
If a VPN instance is not associated with any tunneling policy or the associated tunneling policy is not
configured, the VPN instance selects tunnels according to the default tunneling policy. The default
tunneling policy selects only one tunnel in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel.
A tunneling policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN.
A tunneling policy specified in IPv4 VPN view is applicable to only the IPv4 VPN.
A tunneling policy specified in IPv4 VPN view takes precedence over that specified in VPN instance view.
If you specify a tunneling policy in both IPv4 VPN view and VPN instance view, the tunneling policy
specified in IPv4 VPN view is applied to the IPv4 VPN (or IPv6 VPN).
Examples
# Associate VPN instance vpn1 with tunneling policy po1.
<Sysname> system-view
[Sysname] tunnel-policy po1
[Sysname-tunnel-policy-po1] tunnel select-seq lsp load-balance-number 1
[Sysname-tunnel-policy-po1] quit
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 22:33
[Sysname-vpn-instance-vpn1] tnl-policy po1
[Sysname-vpn-instance-vpn1] quit
# Associate the IPv4 VPN of VPN instance vpn2 with tunneling policy po1.
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] route-distinguisher 11:22
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] tnl-policy po1
[Sysname-vpn-ipv4-vpn2] quit
[Sysname-vpn-instance-vpn2] quit
Related commands
tunnel select-seq
tunnel select-seq
Use tunnel select-seq to configure the preference order for tunnel selection and the number of tunnels for
load balancing.
Use undo tunnel select-seq to restore the default.
Syntax
tunnel select-seq { cr-lsp | gre | lsp } * load-balance-number number
undo tunnel select-seq
Default
The tunnel selection preference order is: LSP tunnels, GRE tunnels, CR-LSP tunnels, and the number of
tunnels for load balancing is 1—no load balancing.
Views
Tunneling policy view










