display mpls l2vpn vpws

Function

The display mpls l2vpn vpws command displays VPWS PW service information on a IPU.

Format

display mpls l2vpn vpws [ interface { interface-name | interface-type interface-number } [ verbose ] ]

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of a specified interface.

-

verbose

Displays detailed VPWS service information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

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:

  • If interface interface-type interface-number is specified, only VPWS service information on a specified CE interface is displayed.
  • If verbose is also specified, detailed information about the VPWS service on a specified CE interface is displayed.

Prerequisites

VPWS has been configured on the local end.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the detailed information about the VPWS service on a specified AC interface.
<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
Table 1 Description of the display mpls l2vpn vpws command output
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:

  • Delay: Revertive switching is performed after a delay.
  • Immediately: Revertive switching is performed immediately.
  • Never: Revertive switching is not performed even if the primary PW recovers.
  • --: The revertive switching policy cannot be configured.

    The default revertive switching policy is Delay.

Dual receive

Whether a device can receive packets from both the primary and secondary PWs:

  • disable: The device can receive packets from only the primary PW.
  • enable: The 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:

  • Up.
  • Down.
Active

Activation status of a VC:

  • Active.
  • Inactive.
Role

PW role:

  • Pri: primary PW.
  • Sec: secondary PW.
  • PWb: PW-bypass.
  • ACb: AC-bypass.
  • Byp: Bypass PW used to protect the AC interface or the primary PW.
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:

  • 0x0: forwarding state.
  • 0x1: non-forwarding state.
  • 0x06: ACOAM fault.
  • 0x18: public network fault.
  • 0x20: standby state.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >