< Home

display mpls l2vpn vpws

Function

The display mpls l2vpn vpws command displays information about the VPWS service.

Format

display mpls l2vpn vpws [ interface interface-type interface-number [ verbose ] ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and number of an interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
verbose Displays detailed VPWS service information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When configuring or commissioning VPWS, you can run the display mpls l2vpn vpws command to check whether VPWS service configurations are correct.

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 AC interface is displayed.

  • If verbose is also specified, detailed information about the VPWS service on a specified AC interface is displayed.

Prerequisites

VPLS configurations are complete on the local end.

Example

# Display VPWS service information.
<HUAWEI> display mpls l2vpn vpws
                                                                                
Pri : Primary            Sec : Secondary            Byp : Bypass                
PWb : PW-bypass          ACb : AC-bypass                                        
                                                                                
Access Circuit                Virtual Circuit               States Active   Role
GE0/0/2                       10.3.3.9:200                   Up     Active   Pri 
                              10.2.2.9:201                   Up     Inactive Sec 
Table 1 Description of the display mpls l2vpn vpws command output

Item

Description

Access Circuit

Access circuit.

Virtual Circuit

Virtual circuit.

States

VC status, which can be:
  • Up
  • Down

Active

Activation status of a VC, which can be:
  • Active
  • Inactive

Role

Role of a PW, which can be:
  • Pri: Primary PW
  • Sec: Secondary PW
  • PWb: PW-bypass
  • ACb: AC-bypass
  • Byp: Bypass
# Display the detailed information about the VPWS service on a specified AC interface.
<HUAWEI> display mpls l2vpn vpws interface gigabitethernet 0/0/2 verbose
                                                                                
Access circuit     : GigabitEthernet0/0/2                                       
Interface state    : Up                                                         
Protect mode       : FRR                                                        
                                                                                
Members:                                                                        
Virtual Circuit               States Active   Role                              
10.3.3.9:200                   Up     Active   Primary                           
10.2.2.9:201                   Up     Inactive Secondary                         
                                                                                
Primary:                                                                        
 VC type                : LDP VC                                                
 VC state               : up                                                    
 Peer IP                : 10.3.3.9                                               
 VC ID                  : 200                                                   
 Encapsulation type     : Ethernet                                              
 LDP session state      : up                                                    
 VC information (Local / Remote)                                                
  Label                 : 1025 / 1024                                           
  MTU                   : 1500 / 1500                                           
  Control word          : enable / enable                                       
  Status code           : 0x0 / 0x0                                             
  Group ID              : 0 / 0                                                 
  VCCV status           : cw alert ttl lsp-ping bfd / cw alert ttl lsp-ping bfd 
 VC last up time        : 2013/12/21 16:42:51                                   
 VC total up time       : 0 days, 6 hours, 20 minutes, 0 seconds                
                                                                                
Secondary:                                                                      
 VC type                : LDP VC                                                
 VC state               : up                                                    
 Peer IP                : 10.2.2.9                                               
 VC ID                  : 201                                                   
 Encapsulation type     : Ethernet                                              
 LDP session state      : up                                                    
 VC information (Local / Remote)                                                
  Label                 : 1026 / 1025                                           
  MTU                   : 1500 / 1500                                           
  Control word          : enable / enable                                       
  Status code           : 0x0 / 0x0                                             
  Group ID              : 0 / 0                                                 
  VCCV status           : cw alert ttl lsp-ping bfd / cw alert ttl lsp-ping bfd 
 VC last up time        : 2013/12/21 14:57:13                                   
 VC total up time       : 0 days, 20 hours, 44 minutes, 40 seconds                    
Table 2 Description of the display mpls l2vpn vpws command output

Item

Description

Access Circuit

Access circuit.

Protect mode

Protection mode, which can be FRR, independent, or master.

Members PW member.
Virtual Circuit Virtual circuit.
States VC status
Active Activation status of a VC, which can be:
Role Role of a PW, which can be:
  • Pri: Primary PW
  • Sec: Secondary PW
  • PWb: PW-bypass
  • ACb: AC-bypass
  • Byp: Bypass
Primary Information about the primary PW.
VC type The type of a VC.
VC state VC status.
Peer IP IP address of a peer.
VC ID ID of a VC. The value is an integer in decimal notation. The default value is 0.
Encapsulation type Encapsulation type of a VC.
LDP session state Status of an LDP session.
VC information (Local / Remote) VC information (local/remote).
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: indicates the forwarding state.
  • 0x1: indicates the non-forwarding state.
  • 0x06: indicates the ACOAM fault.
  • 0x18: indicates the public network fault.
  • 0x20: indicates the standby state.
Group ID Group ID.
VCCV status VCCV status.
VC last up time Time when the VC last goes Up.
VC total up time Total Up time of a VC.
Secondary Information about the secondary PW.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >