Usage Scenario
To check whether VPWS service configurations are correct when configuring or commissioning VPWS, run the display mpls l2vpn vpws command.
Note the following points when using the display mpls l2vpn vpws command:Prerequisites
VPWS has been configured on the local end.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vpn vpws interface GigabitEthernet 0/1/0 verbose Access circuit : GigabitEthernet0/1/0 Interface state : Down Protect mode : FRR Reroute policy : delay 30s Dual receive : disable Last change time : 2012-06-15 08:03:00 Last change action : GE0/1/0 to GE0/1/0 Last change reason : -- Members: Virtual Circuit States Active Role 2.2.2.2:1 Down Active Primary GE0/1/2 Down Inactive Secondary Primary: VC type : LDP VC VC state : down Peer IP : 2.2.2.2 VC ID : 1 Encapsulation type : Ethernet LDP session state : down VC information (Local / Remote) Label : 1024 / -- MTU : 1500 / -- Control word : disable / -- Status code : 0x1 / -- Group ID : 0 / -- VCCV status : alert ttl lsp-ping bfd / -- VC last up time : 0000/00/00 00:00:00 VC total up time : 0 days, 0 hours, 0 minutes, 0 seconds Secondary: VC type : local CCC VC state : down Encapsulation type : Ethernet Out interface : GigabitEthernet0/1/3 Access-port : disable VC last up time : 0000/00/00 00:00:00 VC total up time : 0 days, 0 hours, 0 minutes, 0 seconds
Item | Description |
---|---|
Access circuit | Access circuit. |
Interface state | Interface status. |
Protect mode | Protection mode, which can be FRR, independent, or master. |
Reroute policy | Revertive switching policy, which can be:
|
Dual receive | Whether a device can receive packets from both the primary and secondary PWs:
|
Last change time | Time when the last switching is performed. |
Last change action | Last switching action. |
Last change reason | Reason for the last switching. |
Virtual Circuit | Virtual circuit. |
States | VC status:
|
Active | Activation status of a VC:
|
Role | PW role:
|
Primary | Primary VC. |
Secondary | Standby VC. |
VC type | Encapsulation type of the VC. |
VC state | Status of the VC. |
VC ID | ID of a VC. The value is an integer. The default value is 0. |
VC information (Local / Remote) | VC information (local/remote). |
VC last up time | Time when the VC last goes Up. |
VC total up time | Total Up time of a VC. |
LDP session state | Status of the LDP session. |
Peer IP | Per IP address. |
Encapsulation type | Encapsulation type of the VC. Run the display mpls l2vc command to check the encapsulation type. |
Label | VC label. |
MTU | Maximum transmission unit of a VC interface. |
Control word | Whether the control word is enabled. |
Status code | Status code, which can be:
|
Group ID | Group ID. |
VCCV status | Virtual circuit connectivity verification (VCCV) status. |
Out interface | Outbound interface of a circuit cross connect (CCC). |
Access-port | Whether the access-port attribute is supported by an interface. |
Members | PW member. |