Context
The configurations of the L2VPN tnnel 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 mpls l2vc
[
interface
interface-type
interface-number
]. command to check
the information about the tunnel used by the VC in L2VPN in SVC, PWE3, or Martini
mode.
----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
---------------------------------------------------------------------
policy1 2.2.2.9 Tunnel1/0/0 Disable
3.3.3.9 Tunnel2/0/0 Disable
Run the
display interface tunnel
command. If the bound tunnel is Up, it means the configuration
succeeds. For example:
<Quidway>
display interface tunnel 1/0/0
Tunnel1/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-02-23 10:54:40
Description : HUAWEI, Quidway Series, Tunnel1/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is unnumbered, using address of LoopBack1(1.1.1.9/32)
Encapsulation is TUNNEL, loopback not set
Tunnel destination 2.2.2.9
Tunnel protocol/transport MPLS/MPLS, ILM is available,
primary tunnel id is 0x10006, secondary tunnel id is 0x0
QoS max-bandwidth : 64 Kbps
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
300 seconds output rate 0 bits/sec, 0 packets/sec
68 seconds output rate 0 bits/sec, 0 packets/sec
22894187 packets output, 2958834536 bytes
0 packets output error
Input bandwidth utilization : --
Output bandwidth utilization : --
Run the
display mpls l2vc
command. If the tunnel policy name of the VC is displayed, it means
the configuration succeeds. In the following example, you can view the tunnel policy of the VC
is policy1.
<Quidway>
display mpls l2vc
total LDP VC : 1 1 up 0 down
*client interface : GigabitEthernet1/0/0.1
Administrator PW : no
session state : up
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.
27