R3303-HP HSR6800 Routers MPLS Command Reference
348
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
Default command level
2: System level
Parameters
cr-lsp: Specifies CR-LSP tunnels.
gre: Specifies GRE tunnels.
lsp: Specifies LSP tunnels.










