A SERVICE OF

logo

1717
Example # 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
tnl-policy (VPN instance view)
Syntax tnl-policy tunnel-policy-name
undo tnl-policy
View VPN instance view
Parameter tunnel-policy-name: Name of the tunneling policy for the VPN instance, a string of
1 to 19 characters.
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 command: tunnel select-seq load-balance-number.
Example # 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
[Sysname-vpn-instance-vpn2] tnl-policy po1
tunnel-policy
Syntax tunnel-policy tunnel-policy-name
undo tunnel-policy tunnel-policy-name
View System view
Parameter tunnel-policy-name: Name for the tunneling policy, a string of 1 to 19 characters.