3com S7906E Verweisanleitung
1-60
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, 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 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
[Sysname-vpn-instance-vpn2] tnl-policy po1
tunnel-policy
Syntax
tunnel-policy tunnel-policy-name
undo tunnel-policy tunnel-policy-name
View
System view
Default Level
2: System level