Context
Different VPN services to the same destination on a PE must apply different tunnel policies, and
be bound with different TE tunnels.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip vpn-instance
vpn-instance-name
The VPN instance view is displayed.
Step 3
Run:
tnl-policy
policy-name
The tunnel policy is applied to the VPN instance.
----End
1.6.5 Checking the Configuration
After configuring L3VPN main tunnel binding, you can view information about the bound tunnel
policy, and interfaces of the bound tunnel.
Prerequisite
The configurations of the L3VPN tunnel binding function are complete.
Procedure
l
Run the
display tunnel-policy
tunnel-policy-name
command to check information about
the tunnel policy in tunnel binding mode.
l
Run the
display interface tunnel
interface-number
command to check the information
about the interface of the bound tunnel.
l
Run the
display ip vpn-instance
verbose
[
vpn-instance-name
] command to check the
tunnel policy of the VPN instance.
l
Run the
display ip routing-table
vpn-instance
vpn-instance-name
[
ip-address
]
verbose
command to view information about the tunnel for IP routing.
l
Run the
display tunnel-info
tunnel-id
tunnel-id
command to check information about a
specified tunnel.
----End
Example
Run the
display tunnel-policy
command. If the bound tunnel interface is displayed, and the
destination address is configured the same as that in real situation, it means the configuration
succeeds. For example:
<Quidway>
display tunnel-policy policy1
Tunnel Policy Name Destination Tunnel Intf Down Switch
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
22