The display mpls l2vc interface command displays information about VPWS connections using the LDP signaling.
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Specifies the type and number of an AC interface. If this parameter is specified, information about the VPWS connection on a specified AC interface is displayed. If no AC interface is specified, information about all VPWS connections configured on the local device is displayed. |
- |
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, you are advised to specify interface in the display mpls l2vc command to view specific information about VPWS connections. Otherwise, excess output information may cause the following problems:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vc interface gigabitethernet 0/1/1.1 *client interface : GigabitEthernet0/1/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 : 192.168.3.3 local group ID : 0 remote group ID : 0 local VC label : 18 remote VC label : 18 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 Dynamic BFD for PW : enable Detect Multipier : 3 Min Transit Interval : 1000 Min Receive Interval : 1000 Dynamic BFD Session : built BFD for PW : available BFD sessionIndex : -- BFD state : up VCCV State : -- manual fault : not set active state : active forwarding entry : exist 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 local control word : disable remote control word : disable 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 : 0x0000000001004c4b43 create time : 0 days, 1 hours, 2 minutes, 56 seconds up time : 0 days, 1 hours, 1 minutes, 48 seconds last change time : 0 days, 1 hours, 1 minutes, 48 seconds VC last up time : 2012/12/05 02:50:41 VC total up time : 0 days, 1 hours, 1 minutes, 48 seconds CKey : 1 NKey : 1493172332 L2VPN QoS CIR value : 3888 L2VPN QoS PIR value : 3888 L2VPN QoS qos-profile name : -- PW redundancy mode : frr AdminPw interface : -- AdminPw link state : -- Forward state : send active, receive active Diffserv Mode : uniform Service Class : -- Color : -- DomainId : -- Domain Name : -- *client interface : GigabitEthernet0/1/1.1 is up Administrator PW : no session state : up AC status : up VC state : up Label state : 0 Token state : 0 VC ID : 101 VC type : VLAN destination : 192.168.3.3 local group ID : 0 remote group ID : 0 local VC label : 19 remote VC label : 19 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 Dynamic BFD for PW : enable Detect Multipier : 3 Min Transit Interval : 1000 Min Receive Interval : 1000 Dynamic BFD Session : built BFD for PW : available BFD sessionIndex : -- BFD state : up VCCV State : -- manual fault : not set active state : inactive forwarding entry : exist 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 local control word : disable remote control word : disable tunnel policy name : -- PW template name : -- primary or secondary : secondary load balance type : flow Access-port : false Switchover Flag : false VC tunnel info : 1 tunnels NO.0 TNL type : ldp, TNL ID : 0x0000000001004c4b43 create time : 0 days, 1 hours, 2 minutes, 56 seconds up time : 0 days, 1 hours, 1 minutes, 48 seconds last change time : 0 days, 1 hours, 1 minutes, 48 seconds VC last up time : 2012/12/05 02:50:41 VC total up time : 0 days, 1 hours, 1 minutes, 48 seconds CKey : 2 NKey : 1493172332 L2VPN QoS CIR value : 3888 L2VPN QoS PIR value : 3888 L2VPN QoS qos-profile name : -- PW redundancy mode : frr AdminPw interface : -- AdminPw link state : -- Forward state : send inactive, receive inactive Diffserv Mode : uniform Service Class : -- Color : -- DomainId : -- Domain Name : -- reroute policy : delay 30 s, resume 10 s reason of last reroute : Same LDP mapping was received with matching interface parameters time of last reroute : 0 days, 0 hours, 9 minutes, 27 seconds delay timer ID : -- residual time :-- resume timer ID : -- residual time :-- holdoff timer ID : -- residual time :--
<HUAWEI> display mpls l2vc interface gigabitethernet 0/1/1.1 *client interface : GigabitEthernet0/1/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 : 192.168.3.3 local group ID : 0 remote group ID : 0 local VC label : 18 remote VC label : 18 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 Dynamic BFD for PW : enable Detect Multipier : 3 Min Transit Interval : 1000 Min Receive Interval : 1000 Dynamic BFD Session : built BFD for PW : available BFD sessionIndex : -- BFD state : up VCCV State : -- manual fault : not set active state : active forwarding entry : exist 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 local control word : disable remote control word : disable 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 : 0x0000000001004c4b43 create time : 0 days, 1 hours, 2 minutes, 56 seconds up time : 0 days, 1 hours, 1 minutes, 48 seconds last change time : 0 days, 1 hours, 1 minutes, 48 seconds VC last up time : 2012/12/05 02:50:41 VC total up time : 0 days, 1 hours, 1 minutes, 48 seconds CKey : 1 NKey : 1493172332 L2VPN QoS CIR value : 3888 L2VPN QoS PIR value : 3888 L2VPN QoS qos-profile name : -- PW redundancy mode : frr AdminPw interface : -- AdminPw link state : -- Forward state : send inactive, receive inactive Diffserv Mode : uniform Service Class : -- Color : -- DomainId : -- Domain Name : --
Item | Description |
---|---|
up time | How long the VC remains in the Up state. If the PW is in the Down state, this value is 0. |
Administrator PW | Whether the PW is an mPW:
A PW can be an mPW only if 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 | Status of the LDP session:
|
AC status | AC status:
|
VC state | VC status:
|
VC ID | VC ID. A combination of the VC ID and VC Type uniquely identifies a VC. |
VC type | Encapsulation type of the VC. |
VC tunnel info | Information about the VC tunnel. |
VC last up time | Last time when the VC was Up. |
VC total up time | Total duration for the VC being Up. |
Label state | Label status:
|
Token state | Token status:
|
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 PSN 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 control word | Whether the control word function is enabled on the local end:
|
group ID | ID of a group to which the VC belongs. The default value is 0. |
remote control word | Whether the control word function is enabled on the remote end:
|
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 PSN OAM state | OAM status of the remote PSN interface:
|
remote VC MTU | MTU of a remote VC. |
OAM Protocol | Link (PW) status monitoring protocol:
|
OAM Status | Link (PW) status detected by the link monitoring protocol:
|
OAM Fault Type | Type of the link fault detected by the link monitoring protocol:
|
forwarding entry | Whether forwarding entries exist:
|
ignore standby state | Whether PW ignores the secondary status of remote:
|
Dynamic BFD for PW | Whether dynamic BFD for PW is enabled. The default value is enabled. 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. |
BFD for PW | Whether BFD is enabled to check PW status:
|
BFD sessionIndex | BFD session index. |
BFD state | BFD session status:
|
Detect Multipier | The 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. |
VCCV State | Virtual Circuit Connectivity Verification (VCCV) state:
|
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. |
link state | Integrative PW status:
If any of the following status is Down, the PW link state is Down:
|
control word | Whether the control word function is enabled on the local end:
|
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 | Load balancing mode of LDP VPWS:
|
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. |
time of last reroute | The time of last reroute. |
last change time | How long the VC status remains unchanged. |
CKey | Index of the PW. |
NKey | Index of the public tunnel. |
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. |
AdminPw interface | AC interface of the mPW to which the current PW is bound. The AC interface must be a loopback interface. This field is displayed only if the PW is not an mPW. If -- is displayed in this field, the PW is not bound to an mPW. |
AdminPw link state | Status of the mPW to which the current PW is bound:
This field is displayed only if the PW is not an mPW. If -- is displayed in this field, the PW is not bound to an mPW. |
Forward state | PW forwarding status:
|
Diffserv Mode | QoS DiffServ mode for VLL services. |
Service Class | QoS service class for VLL services. |
Color | QoS color for VLL services. |
DomainId | ID of a domain. |
Domain Name | Name of a domain. |
reroute policy | reroute policy. |
delay timer ID | The delay timer ID. |
resume timer ID | The resume timer ID. |
reason of last reroute | The reason of last reroute. |
residual time | Remaining time. |
holdoff timer ID | The holdoff timer ID. |
client interface | AC interface name. |