Tunnel-Policy; Tnl-Policy (Vpn Instance View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Example

tnl-policy (VPN instance view)

Syntax
View
Parameter
Description
Related command:
Example

tunnel-policy

Syntax
View
Parameter
# 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 tunnel-policy-name
undo tnl-policy
VPN instance view
tunnel-policy-name: Name of the tunneling policy for the VPN instance, a string of
1 to 19 characters.
Use the
tnl-policy
command to associate the current VPN instance with a
tunneling policy.
Use the
undo tnl-policy
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.
tunnel select-seq load-balance-number.
# 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 tunnel-policy-name
undo tunnel-policy tunnel-policy-name
System view
tunnel-policy-name: Name for the tunneling policy, a string of 1 to 19 characters.
command to remove the association.
1717

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents