
Procedure
l
Run the
display tunnel-policy
tunnel-policy-name
command to check configuration of the
tunnel policy.
l
Run the
display ip vpn-instance
verbose
[
vpn-instance-name
] command to check tunnel
policy of the VPN instance.
l
Run the
display ip routing-table vpn-instance
vpn-instance-name
[
ip-address
]
verbose
command to check the tunnel that transmits the routes of the VPN instance.
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 configuration of the tunnel policy is displayed,
it means the configuration succeeds. For example:
[Quidway]
display tunnel-policy policy1
Tunnel Policy Name Select-Seq Load balance No
---------------------------------------------------------------------
policy1 LSP 1
Run the
display tunnel-policy
command. If the tunnel policy of the VPN instance is displayed,
it means the configuration succeeds. In the following example, you can view the tunnel policy
of the VPN named vpna is policy1.
[Quidway]
display ip vpn-instance verbose
Total VPN-Instances configured : 1
VPN-Instance Name and ID : vpna, 1
Create date : 2007/09/20 12:03:31 UTC-08:00
Up time : 0 days, 05 hours, 23 minutes and 09 seconds
Route Distinguisher : 1:1
Export VPN Targets : 1:1
Import VPN Targets : 1:1
Label Policy : label per route
Tunnel Policy : policy1
Log Interval : 5
Interfaces : Vlanif10
Run the
display ip routing-table vpn-instance
vpn-instance-name
verbose
command, and you
can view the information about the tunnel that transmits the VPN routes. For example:
[Quidway]
display ip routing-table vpn-instance vpna 11.11.12.0 verbose
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : vpna
Summary Count : 1
Destination: 11.11.12.0/24
Protocol: BGP Process ID: 0
Preference: 255 Cost: 0
NextHop: 6.6.6.6 Neighbour: 6.6.6.6
State: Active Adv Relied Age: 00h01m04s
Tag: 0 Priority: low
Label: 11264 QoSInfo: 0x0
IndirectID: 0x3
RelayNextHop: 0.0.0.0
Interface: Tunnel1/0/1
TunnelID: 0x10002 Flags: RD
RelayNextHop: 10.1.1.1 Interface: Vlanif15
TunnelID: 0x10000 Flags: RD
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.
12