The display mpls l2vc command displays information about virtual circuits (VCs) in LDP mode.
display mpls l2vc [ vc-id | interface interface-type interface-number | remote-info [ vc-id | verbose ] | state { down | up } ]
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number | Specifies the type and number of the AC interface connected to the CE. | - |
remote-info | Displays information about the VC on the remote end. | - |
vc-id | Displays static PW information with a specified VC ID. | The value is an integer that ranges from 1 to 4294967295. |
verbose | Displays the detailed information about the VC on the remote end. | - |
state { down | up } | Displays VC information based on the VC status.
|
- |
The display mpls l2vc command displays information about the VCs in LDP signaling mode, including the Martini VC and PWE3 VC.
# Display information about all the LDP VCs configured on the switch.
<HUAWEI> display mpls l2vc
Total LDP VC : 1 1 up 0 down
*client interface : Vlanif1111 is up
Administrator PW : no
session state : up
AC status : up
Ignore AC state : disable
VC state : up
Label state : 0
Token state : 0
VC ID : 101
VC type : VLAN
destination : 10.3.3.9
local VC label : 1026 remote VC label : 1026
control word : disable
remote control word : disable
forwarding entry : exist
local group ID : 0
remote group ID : 0
local AC OAM State : up
local PSN OAM State : up
local forwarding state : forwarding
local status code : 0x0
remote AC OAM state : up
remote PSN OAM state : up
remote forwarding state: forwarding
remote status code : 0x0
ignore standby state : no
BFD for PW : unavailable
VCCV State : up
manual fault : not set
active state : active
link state : up
local VC MTU : 1500 remote VC MTU : 1500
local VCCV : alert ttl lsp-ping bfd
remote VCCV : alert ttl lsp-ping bfd
tunnel policy name : --
PW template name : --
primary or secondary : primary
load balance type : flow
Access-port : false
Switchover Flag : false
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL type : lsp , TNL ID : 0x48000020
Backup TNL type : lsp , TNL ID : 0x0
create time : 0 days, 0 hours, 6 minutes, 50 seconds
up time : 0 days, 0 hours, 6 minutes, 34 seconds
last change time : 0 days, 0 hours, 6 minutes, 34 seconds
VC last up time : 2013/09/24 18:23:35
VC total up time : 0 days, 0 hours, 6 minutes, 34 seconds
CKey : 16
NKey : 15
PW redundancy mode : frr
AdminPw interface : --
AdminPw link state : --
Diffserv Mode : uniform
Service Class : be
Color : --
DomainId : --
Domain Name : --
Item |
Description |
---|---|
Total LDP VC |
Total number of established LDP VCs, including the number of LDP VCs in Up and Down state. |
client interface |
AC interface and its status. |
Administrator PW | Whether the PW is an mPW. The PW can be an mPW only when the AC interface is a loopback interface. This field can be displayed as yes or no. |
session state |
Status of the LDP session established between both ends of the VC:
|
AC status |
Status of the AC:
|
Ignore AC state |
Whether the AC status change affects the status of services on the active or standby PWE3.
|
VC state |
Status of the VC:
|
Label state |
Label status:
|
Token state |
Token status:
|
VC ID |
ID of the VC, which uniquely identifies a VC. NOTE:
If the VC IDs on both ends are different, run the mpls l2vc command in the interface view to change the VC ID on one end to be the same as that on the other end. |
VC type |
Encapsulation type of the VC:
The PW can go Up only when the local and remote encapsulation types are the same. |
destination |
LSR ID of the VC peer device. |
local VC label |
Local VC label. |
remote VC label |
Remote VC label. |
control word |
Whether the control word is enabled:
|
forwarding entry |
Whether forwarding entries exist. |
local group ID |
Local group ID. |
remote group ID |
Remote group ID. |
manual fault |
Whether a PW fault is simulated. |
active state |
Whether the PW is in active state. A PW in active state can forward packets. |
link state |
Integrative PW status:
If any of the following status is Down, the PW link state is Down:
|
local VC MTU |
MTU of the local VC. |
remote VC MTU |
MTU of the remote VC. |
tunnel policy name |
Name of the tunnel policy. |
PW template name |
Name of the PW template. |
primary or secondary |
Whether the VC is a primary VC or a secondary VC. |
load balance type |
Load balancing mode of Martini VLL:
|
Access-port |
Whether the interface supports the access-port attribute:
|
Switchover Flag |
Whether a switchover has occurred. |
create time |
How long the VC has been created. |
up time |
How long the VC keeps the Up state. If the current PW status is Down, the value is 0. |
last change time |
How long the VC status remains unchanged. |
VC last up time |
Last time when the VC became Up. |
VC total up time |
Total duration of the VC in Up state. |
CKey | Index of the public tunnel for VPN QoS. |
NKey | Index of the public tunnel. |
AdminPw interface | AC interface on which the mPW is bound to the PW. The AC interface must be a loopback interface. This field is displayed only when the PW is not an mPW: |
AdminPw link state | Status of the mPW bound to the PW. This field is displayed
only when the PW is not an mPW. This field can be displayed as:
|
Diffserv Mode |
QoS DiffServ mode. |
Service Class |
QoS service class. |
Color |
QoS color. |
DomainId |
ID of a domain. |
Domain Name |
Name of a domain. |
# Display LDP VC information about the AC interface VLANIF 100.
<HUAWEI> display mpls l2vc interface vlanif 100
*client interface : Vlanif100 is up
Administrator PW : no
session state : up
AC status : up
Ignore AC state : disable
VC state : up
Label state : 0
Token state : 0
VC ID : 1
VC type : VLAN
destination : 10.2.2.2
local group ID : 0 remote group ID : 0
local VC label : 16400 remote VC label : 16400
local AC OAM State : up
local PSN OAM State : up
local forwarding state : forwarding
local status code : 0x0
remote AC OAM state : up
remote PSN OAM state : up
remote forwarding state: forwarding
remote status code : 0x20
ignore standby state : no
BFD for PW : unavailable
VCCV State : up
manual fault : not set
active state : active
forwarding entry : exist
link state : up
local VC MTU : 1500 remote VC MTU : 1500
local VCCV : cw alert ttl lsp-ping bfd
remote VCCV : cw alert ttl lsp-ping bfd
local control word : enable remote control word : enable
tunnel policy name : --
PW template name : --
primary or secondary : primary
load balance type : flow
Access-port : false
Switchover Flag : false
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL type : lsp , TNL ID : 0x800802
Backup TNL type : lsp , TNL ID : 0x0
create time : 0 days, 0 hours, 0 minutes, 29 seconds
up time : 0 days, 0 hours, 0 minutes, 6 seconds
last change time : 0 days, 0 hours, 0 minutes, 6 seconds
VC last up time : 2011/07/04 20:25:50
VC total up time : 0 days, 0 hours, 0 minutes, 6 seconds
CKey : 2
NKey : 1
PW redundancy mode : frr
AdminPw interface : --
AdminPw link state : --
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : --
Domain Name : --
Item |
Description |
---|---|
local AC OAM State |
OAM status of the local AC.
|
local PSN OAM State |
Status of the local device on the Packet Switch Network (PSN) side.
|
local forwarding state |
Status of the local forwarding table.
|
local status code | Status code of the local PW:
|
remote AC OAM state |
OAM status of the remote AC.
|
remote PSN OAM state |
Status of the remote device on the PSN side.
|
remote forwarding state |
Status of the remote forwarding table.
|
remote status code | Status code of the remote PW:
|
BFD for PW |
Whether BFD for PW is enabled:
|
VCCV State |
Whether Virtual Circuit Connectivity Verification (VCCV) is enabled. |
local VCCV |
Type of VCCV supported on the local device.
|
remote VCCV |
Type of VCCV supported on the remote device.
|
local control word |
Whether the control word is enabled on the local device: |
remote control word |
Whether the control word is enabled on the remote device: |
ignore standby state |
Whether the status of the secondary PW is ignored. |
VC Tunnel/token info: 1 tunnels/tokens |
Information about the tunnel or token used by the VC. The value 1 tunnels/tokens indicates that the PW uses one tunnel or token. |
TNL type |
Type of the tunnel used by the PW. |
TNL ID |
ID of the tunnel used by the PW. |
Backup TNL Type |
Type of the backup tunnel when PW over LDP FRR is used. |
PW redundancy mode | PW redundancy mode. By default, the mode is FRR.
|
# Display the LDP VC information received from the remote peer.
<HUAWEI> display mpls l2vc remote-info
Total remote ldp vc : 1
Transport Group Peer Remote Remote C MTU/ N S
VC ID ID Addr Encap VC Label Bit CELLS Bit Bit
101 0 10.3.3.9 ethernet 1024 0 1500 0 0
# Display the detailed LDP VC information received from the remote peer.
<HUAWEI> display mpls l2vc remote-info verbose
Total remote LDP VC : 1
VC ID : 1
VC Type : vlan
VC Label : 1025
Peer Address : 10.5.5.5
Group ID : 0
MTU : 1500
Control Word : 0
Notification : 1
Status Code : 0
Match Local VC : MATCH
Max ATM CELLS : --
TDM RTP Header : --
TDM Encap Num : --
TDM Bit Rate : --
Item |
Description |
---|---|
Total remote ldp vc |
Total number of created remote LDP VCs. |
Transport VC ID |
VC ID, which uniquely identifies a VC. |
Group ID |
ID of the group to which the L2VPN belongs. The default value is 0. |
Peer Addr and Peer Address |
IP address of the remote peer. |
Remote Encap |
Encapsulation type of the remote VC.
|
Remote VC Label |
Remote VC label. |
C Bit |
Whether the control word is enabled:
|
MTU/CELLS |
MTU of the L2VPN. |
N Bit and Notification |
Whether the Notification message is supported: |
S Bit and Status Code |
Status code:
|
Match Local VC |
Whether the local VC ID matches the remote VC ID:
|
Max ATM CELLS |
Maximum number of ATM cells that can be transmitted. If ATM encapsulation is used, the value ranges from 1 to 28, and the default value is 28. If non-ATM encapsulation is used, double hyphens (--) are displayed. |
TDM RTP Header |
Whether the RTP-header option is enabled:
|
TDM Encap Num |
Number of frames in a TDM packet. If TDM encapsulation is used, the value is 8, 16, 24, 32 or 40, and the default value is 32. If non-TDM encapsulation is used, double hyphens (--) are displayed. |
TDM Bit Rate |
Number of timeslots in a TDM packet. Number of timeslots in a TDM packet = Number of bytes in a TDM packet/Number of frames in a TDM packet |
# Display information about the VCs in Up state.
<HUAWEI> display mpls l2vc state up
Total LDP VC : 1 1 up 0 down
*client interface : Vlanif1111 is up
Administrator PW : no
session state : up
AC status : up
Ignore AC state : disable
VC state : up
Label state : 0
Token state : 0
VC ID : 100
VC type : VLAN
destination : 10.2.2.9
local VC label : 1024 remote VC label : 1024
control word : disable
remote control word : disable
forwarding entry : exist
local group ID : 0
remote group ID : 0
local AC OAM State : up
local PSN OAM State : up
local forwarding state : forwarding
local status code : 0x0
remote AC OAM state : up
remote PSN OAM state : up
remote forwarding state: forwarding
remote status code : 0x0
ignore standby state : no
BFD for PW : unavailable
VCCV State : up
manual fault : not set
active state : active
link state : up
local VC MTU : 1500 remote VC MTU : 1500
local VCCV : alert ttl lsp-ping bfd
remote VCCV : alert ttl lsp-ping bfd
tunnel policy name : --
PW template name : --
primary or secondary : primary
load balance type : flow
Access-port : false
Switchover Flag : false
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL type : lsp , TNL ID : 0x12
Backup TNL type : lsp , TNL ID : 0x0
create time : 0 days, 1 hours, 0 minutes, 17 seconds
up time : 0 days, 0 hours, 24 minutes, 56 seconds
last change time : 0 days, 0 hours, 24 minutes, 56 seconds
VC last up time : 2013/10/10 14:29:39
VC total up time : 0 days, 0 hours, 24 minutes, 56 seconds
CKey : 10
NKey : 9
PW redundancy mode : frr
AdminPw interface : --
AdminPw link state : --
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : --
Domain Name : --