The display mpls l2vc command displays information about VPWS connections using the LDP signaling.
Parameter | Description | Value |
---|---|---|
vc-id |
Specifies a 32-bit virtual circuit (VC) ID that is locally unique. A combination of the VC ID and VC type uniquely identifies a VC. |
The value is an integer ranging from 1 to 4294967295. |
state |
Displays the status of VCs between peers. |
- |
up |
Displays information about VCs in the Up state. |
- |
down |
Displays information about VCs in the Down state. |
- |
Usage Scenario
After a VPWS connection is configured or fails, you can use the display mpls l2vc command to view information about the VPWS connection on the device or a specified interface, such as the VC status, AC status, and encapsulation type.
Prerequisites
The basic VPWS function has been configured.
Configuration Impact
If a large number of VPWS connections exist on the device use the regular expression to view specific information about VPWS connections.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vc state up total LDP VC : 1 1 up 0 down *client interface : GigabitEthernet0/1/1.1 Administrator PW : no session state : up AC status : up VC state : up Label state : 0 Token state : 0 VC ID : 100 VC type : VLAN destination : 192.168.3.3 local VC label : 18 remote VC label : 18 control word : disable forwarding entry : exist local group ID : 0 manual fault : not set active state : active OAM Protocol : -- OAM Status : -- OAM Fault Type : -- PW APS ID : -- PW APS Status : -- TTL Value : 1 link state : up local VC MTU : 1500 remote VC MTU : 1500 tunnel policy name : -- PW template name : -- primary or secondary : primary load balance type : flow Access-port : false create time : 0 days, 1 hours, 31 minutes, 54 seconds up time : 0 days, 1 hours, 30 minutes, 46 seconds last change time : 0 days, 1 hours, 30 minutes, 46 seconds VC last up time : 2012/12/05 02:50:41 VC total up time : 0 days, 1 hours, 30 minutes, 46 seconds CKey : 1 NKey : 1493172332 L2VPN QoS CIR value : 3888 L2VPN QoS PIR value : 3888 L2VPN QoS qos-profile name : -- AdminPw interface : -- AdminPw link state : -- Forward state : send inactive, receive inactive Diffserv Mode : uniform Service Class : -- Color : -- DomainId : -- Domain Name : --
<HUAWEI> display mpls l2vc Total LDP VC : 2 2 up 0 down *client interface : GigabitEthernet0/1/1 is up Administrator PW : no session state : up AC status : up VC state : up Label state : 0 Token state : 0 VC ID : 100 VC type : VLAN destination : 3.3.3.3 local VC label : 18 remote VC label : 18 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 (forwarding) remote AC OAM state : up remote PSN OAM state : up remote forwarding state : forwarding remote status code : 0x0 (forwarding) ignore standby state : no BFD for PW : unavailable BFD sessionIndex : -- BFD state : up VCCV State : up Dynamic BFD for PW : enable Detect Multipier : 3 Min Transit Interval : 1000 Min Receive Interval : 1000 Dynamic BFD Session : built manual fault : not set active state : active OAM Protocol : -- OAM Status : -- OAM Fault Type : -- PW APS ID : -- PW APS Status : -- TTL Value : 1 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 info : 1 tunnels NO.0 TNL type : ldp , TNL ID : 0x0000000001004c4e42 create time : 0 days, 0 hours, 17 minutes, 58 seconds up time : 0 days, 0 hours, 16 minutes, 50 seconds last change time : 0 days, 0 hours, 16 minutes, 50 seconds VC last up time : 2012/12/05 02:50:41 VC total up time : 0 days, 0 hours, 16 minutes, 50 seconds CKey : 1 NKey : 1493172332 PW redundancy mode : frr L2VPN QoS CIR value : 3888 L2VPN QoS PIR value : 3888 L2VPN QoS qos-profile name : -- AdminPw interface : -- AdminPw link state : -- Forward state : send inactive, receive inactive Diffserv Mode : uniform Service Class : -- Color : -- DomainId : -- Domain Name : -- *client interface : Trunk-Serial2/0:0 is up Administrator PW : no session state : up AC status : up VC state : up Label state : 0 Token state : 0 VC ID : 1 VC type : CEP destination : 5.5.5.9 local VC label : 155670 remote VC label : 155670 control word : enable remote control word : none local TDM Encap Num : -- remote TDM Encap Num : -- jitter-buffer : 1000 idle-code : ff local rtp-header : disable remote rtp-header : disable local bit-rate : 2349 remote bit-rate : 2349 payload-compression DBA : -- remote payload-compression DBA : -- forwarding entry : not 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 (forwarding) BFD for PW : unavailable VCCV State : up manual fault : not set active state : inactive OAM Protocol : -- OAM Status : -- OAM Fault Type : -- PW APS ID : -- PW APS Status : -- TTL Value : 1 link state : up local VC MTU : -- remote VC MTU : -- local VCCV : cw alert ttl lsp-ping bfd remote VCCV : none tunnel policy name : -- PW template name : pbh primary or secondary : primary load balance type : flow Access-port : false Switchover Flag : false VC tunnel info : 1 tunnels NO.0 TNL type : ldp , TNL ID : 0x0000000001004c4e58 create time : 0 days, 1 hours, 32 minutes, 5 seconds up time : 0 days, 1 hours, 32 minutes, 5 seconds last change time : 0 days, 1 hours, 32 minutes, 5 seconds VC last up time : 2015/07/18 9:32:56 VC total up time : 0 days, 1 hours, 32 minutes, 5 seconds CKey : 9 NKey : 8 PW redundancy mode : frr AdminPw interface : -- AdminPw link state : -- Diffserv Mode : pipe Service Class : ef Color : green DomainId : -- Domain Name : --
Item | Description |
---|---|
Total LDP VC | Total number of established VCs (using LDP as the signaling protocol), including the number of VCs in the up state and the number of VCs in the down state. |
VC state | VC status:
|
VC ID | VC ID. This parameter and VC Type uniquely identify a VC. |
VC type | VC encapsulation type. |
VC tunnel info | VC tunnel information. |
VC last up time | Last time when the VC was up. |
VC total up time | Total VC up time. |
up time | VC up duration. If the PW is in the down state, the value is 0. |
Administrator PW | Whether the PW is an mPW (the PW can be an mPW only when the AC interface is a loopback interface):
|
PW APS ID | ID of the PW APS instance associated with the local PW. |
PW APS Status | PW APS status:
|
PW template name | Name of a PW template. |
PW redundancy mode | PW redundancy mode. By default, the PW redundancy mode is FRR.
|
session state | LDP session status:
|
AC status | AC status:
|
Token state | Whether a token can be used:
|
Label state | Whether a label can be used:
|
destination | Destination address. |
local VC label | Local VC label. |
local group ID | Local group ID. |
local AC OAM State | OAM status of the local AC interface:
|
local PSN OAM State | Status of the local device on the network side:
|
local forwarding state | Status of the local forwarding table:
|
local status code | Status code of the local PW:
|
local VC MTU | MTU of a local VC. |
local VCCV | VCCV mode supported by the local end:
|
local bit-rate | Local bit rate. |
local rtp-header | Whether the RTP header is carried in packets in local TDM encapsulation. |
local TDM Encap Num | Number of TDM frames encapsulated in a local packet. |
remote group ID | Remote group ID. |
remote AC OAM state | OAM status of the remote AC interface:
|
remote forwarding state | Status of the remote forwarding table:
|
remote status code | Status code of the remote PW:
|
remote VCCV | VCCV mode supported by the remote end:
|
remote VC label | Remote VC label. |
remote control word | Whether the control word function is enabled on the remote end:
|
remote bit-rate | Remote bit rate. |
remote PSN OAM state | Status of the remote network-side device. |
remote VC MTU | MTU of a remote VC. |
remote rtp-header | Whether the RTP header is carried in TDM encapsulation on the remote end. |
remote payload-compression DBA | Whether DBA compression is enabled for the remote payload. |
remote TDM Encap Num | Number of TDM frames encapsulated in a remote packet. |
remote ATM cells | Maximum number of remote ATM cells. |
control word | Whether the control word is enabled:
|
forwarding entry | Whether forwarding entries exist:
|
OAM Protocol | Deployed PW link detection protocol:
|
OAM Status | Link status displayed by the link detection protocol:
|
OAM Fault Type | Type of the link fault detected by the link monitoring protocol:
|
BFD for PW | Whether BFD for PW is enabled:
|
BFD sessionIndex | BFD session index. |
BFD state | Status of a BFD session:
|
VCCV State | VCCV status:
|
manual fault | Whether a PW fault is manually simulated:
|
active state | Whether the VC is in the active state (if a VC is active, the VC can forward packets):
|
TTL Value | TTL value of the PW. The default value is 1. |
Route status | Route status:
|
link state | Comprehensive status of a PW:
If any of the following is down, Link State of the PW is down:
|
tunnel policy name | Name of a tunnel policy. |
primary or secondary | Whether the local status of the VC is primary or secondary. |
load balance type | LDP VLL load balancing mode:
|
Access-port | Whether the interface supports the access-port attribute:
|
Switchover Flag | Whether to perform a switchover:
|
create time | How long the VC has been created. |
last change time | Last time when the VC status changed. |
CKey | PW index. |
NKey | Index of the public tunnel. |
AdminPw interface | AC interface on which the mPW is bound to the PW, that is, the loopback interface on which the mPW is configured (this field is available only when the PW is not an mPW):
|
AdminPw link state | Status of the mPW bound to the PW. This field is available only when the PW is not an mPW.
|
Forward state | PW forwarding status:
This value is displayed when a PW is Down. For specific handling suggestions, see hwPWVcDown.
This value is displayed when a PW is Down. For specific handling suggestions, see hwPWVcDown.
|
Diffserv Mode | QoS DiffServ mode for VLL services. |
Service Class | QoS service class for VLL services. |
Color | QoS color for VLL services. |
DomainId | Domain ID. |
Domain Name | Domain name. |
Configured Flowlabel | Flow label configuration. |
Received Flowlabel | Flow label configuration of the remote end. |
Negotiated Flowlabel | Flow label negotiation result. |
L2VPN QoS CIR value | Committed information rate for VPN QoS. |
L2VPN QoS PIR value | Peak information rate for VPN QoS. |
L2VPN QoS qos-profile name | VPN QoS profile name. |
ignore standby state | Whether the PW is configured to ignore the standby state sent by the remote device:
|
Dynamic BFD for PW | Whether dynamic BFD is enabled. The value is enable. This field is displayed only when dynamic BFD for VPWS is configured. |
Dynamic BFD Session | Whether a dynamic BFD session is created:
This field is displayed only when dynamic BFD for VPWS is configured. |
Detect Multipier | Local detection multiplier of a BFD session. |
Min Transit Interval | Minimum interval at which dynamic BFD packets are sent. This field is displayed only when dynamic BFD for VPWS is configured. |
Min Receive Interval | Minimum interval at which dynamic BFD packets are received. This field is displayed only when dynamic BFD for VPWS is configured. |
jitter-buffer | Maximum jitter delay allowed. |
idle-code | Specifies the value of an idle code. |
payload-compression DBA | Whether DBA compression is enabled for the local payload. |
client interface | AC interface name. |