![H3C S9500 Series Command Manual Download Page 327](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036327.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-64
Examples
# Create a sham link with the source address of 1.1.1.1 and the destination address of
2.2.2.2.
<Sysname> system-view
[Sysname] ospf
[Sysname-ospf-1] area 0
[Sysname-ospf-1-area-0.0.0.1] sham-link 1.1.1.1 2.2.2.2
1.1.56 tnl-policy (VPN instance view)
Syntax
tnl-policy
tunnel-policy-name
undo tnl-policy
View
VPN instance view
Default Level
2: System level
Parameters
tunnel-policy-name
: Name of the tunneling policy for the VPN instance.
Description
Use the
tnl-policy
command to associate the current VPN instance with a tunneling
policy.
Use the
undo tnl-policy
command to remove the association.
When selecting tunnels from the VPN tunnel management module, an application can
use the tunneling policy as the criterion. With no tunneling policy associated with a VPN
instance, the default tunneling policy is used.
Related commands:
tunnel select-seq load-balance-number
.
Examples
# Associate VPN instance vpn2 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 vpn2
[Sysname-vpn-instance-vpn2] route-distinguisher 22:33