< Home

display mpls static-l2vc

Function

The display mpls static-l2vc command displays information about static VCs on the device.

Format

display mpls static-l2vc [ vc-id | interface interface-type interface-number | state { down | up } ]

Parameters

Parameter Description Value

vc-id

Displays information about a static VC with a specified VC ID.

The value is an integer that ranges from 1 to 4294967295.

interface interface-type interface-number

Displays information about all static PWs on a specified interface.

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

state { down | up }

Displays VC information based on the VC status.

  • down: Displays information about the VC in Down state.
  • up: Displays information about the VC in Up state.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you run the display mpls static-l2vc command with the interface name specified, information about static VCs on the interface connected to a CE is displayed. If no interface is specified, information about static VCs on all interfaces is displayed.

Example

# Display information about static VCs on the device.

<HUAWEI> display mpls static-l2vc
 Total svc connections:  1,  1 up,  0 down                                      
                                                                           
 *Client Interface     : Vlanif10 is up                                          
  AC Status            : down                                                   
  VC State             : up                                                     
  VC ID                : 1                                                      
  VC Type              : VLAN                                                   
  Destination          : 2.2.2.2                                                
  Transmit VC Label    : 400                                                    
  Receive VC Label     : 600                                                    
  Label Status         : 0                                                      
  Token Status         : 0                                                      
  Control Word         : Enable                                                 
  VCCV Capability      : cw alert ttl lsp-ping bfd                              
  active state         : active                                                 
  Link State           : down                                                   
  Tunnel Policy Name   : tun                                                    
  PW Template Name     : --                                                     
  Main or Secondary    : Main                                                   
  load balance type    : flow                                                   
  Access-port          : false                                                  
  VC tunnel/token info : 1 tunnels/tokens                                     
  NO.0  TNL type       : lsp   , TNL ID : 0x800802                            
  Backup TNL type      : lsp   , TNL ID : 0x0                                 
  Create time          : 0 days, 0 hours, 0 minutes, 34 seconds                 
  UP time              : 0 days, 0 hours, 0 minutes, 31 seconds                 
  Last change time     : 0 days, 0 hours, 0 minutes, 31 seconds                 
  VC last up time      : 2011/07/04 20:29:18                                    
  VC total up time     : 0 days, 0 hours, 0 minutes, 33 seconds                 
  CKey                 : 2                                                      
  NKey                 : 1
  BFD for PW           : unavailable                                            
Table 1 Description of the display mpls static-l2vc command output

Item

Description

Total svc connections

Number of established SVCs, including the number of SVCs in Up and Down states.

Client Interface

AC interface and its status.

AC Status

Status of the AC:

  • up
  • down

VC State

Status of the VC:

  • up
  • down

VC ID

ID of the VC, which uniquely identifies a VC.

If you run the mpls static-l2vc command without the VC ID specified, the value of this field is displayed as 0.

VC Type

Encapsulation type of the VC:

  • VLAN
  • Ethernet

Destination

LSR ID of the remote end on the VC.

Transmit VC Label

Local VC label.

Receive VC Label

Remote VC label.

Label Status

Whether the label can be used:
  • 0: The label can be used.
  • 1: Wait for the SMB to confirm the label status.
  • 2: The label is released.
  • 3: SMB confirmation failed.

Token Status

Whether the token can be used:
  • 0: The token can be used.
  • 1: Wait for the SMB to confirm the token status.
  • 2: The token is released.
  • 3: SMB confirmation failed.

Control Word

Whether the control word function is enabled:

  • enable
  • disable

VCCV Capability

Whether VCCV is enabled.

active state

Whether the PW is in active state. A PW in active state can forward packets.

  • active
  • inactive

Link State

Integrative PW status:

  • up
  • down

If any of the following status is Down, the PW link state is Down:

  • Service PW status
  • OAM status

Tunnel Policy Name

Name of the tunnel policy.

PW Template Name

Name of the PW template.

Main or Secondary

Whether the VC is a primary VC or a secondary VC.

load balance type

Load balancing mode of Martini VLL:
  • flow: indicates flow-based load balancing.
  • packet: indicates packet-based load balancing.

Access-port

Whether the interface supports the access-port attribute:
  • true: indicates that the interface supports the access-port attribute.
  • false: indicates that the interface does not support the access-port attribute.

VC Tunnel/token info

Information about the VC tunnel or token used by the VC. The value 1 tunnels/tokens indicates that the PW uses one tunnel or token.

NO.0 TNL Type

Type of the tunnel used by the PW

Backup TNL Type

Type of the backup tunnel when PW over LDP FRR is used.

Create time

How long the VC has been created.

UP time

How long the VC keeps the Up state.

Last change time

How long the VC status remains unchanged.

VC last up time

Last time when the VC became Up.

VC total up time

Total duration of the VC in Up state.

CKey

Index of the public tunnel for VPN QoS.

NKey

Index of the public tunnel.

BFD for PW

Whether BFD is configured.
  • unavailable: indicates that BFD is not configured.
  • available: indicates that BFD is configured.
  • timeout: timeout period after which a BFD session fails to be established

# Display information about static VCs on VLANIF 10.

<HUAWEI> display mpls static-l2vc interface vlanif 10
 *Client Interface     : Vlanif10 is up
  AC Status            : down
  VC State             : up
  VC ID                : 1
  VC Type              : VLAN
  Destination          : 2.2.2.2
  Transmit VC Label    : 400
  Receive VC Label     : 600
  Label Status         : 0
  Token Status         : 0
  Control Word         : Enable
  VCCV Capability      : cw alert ttl lsp-ping bfd
  active state         : active
  Link State           : down
  Tunnel Policy        : tun
  PW Template Name     : --
  Main or Secondary    : Main
  load balance type    : flow
  Access-port          : false
  VC tunnel/token info : 1 tunnels/tokens
  NO.0  TNL Type       : lsp   , TNL ID : 0x56
  Backup TNL Type      : lsp   , TNL ID : 0x0
  Create time          : 0 days, 0 hours, 0 minutes, 34 seconds
  UP time              : 0 days, 0 hours, 0 minutes, 31 seconds
  Last change time     : 0 days, 0 hours, 0 minutes, 31 seconds
  VC last up time      : 2011/07/04 20:29:18
  VC total up time     : 0 days, 0 hours, 0 minutes, 33 seconds
  CKey                 : 2
  NKey                 : 1 
  Diffserv Mode        : uniform
  Service Class        : be
  Color                : --
  DomainId             : --
  Domain Name          : --
  BFD for PW           : unavailable
Table 2 Description of the display mpls static-l2vc interface command output

Item

Description

Client Interface

AC interface and its status.

AC Status

Status of the link between the PE and its directly connected CE.

VC State

Status of the VC.

VC ID

ID of the VC, which uniquely identifies a VC.

VC Type

Encapsulation type of the VC.

Destination

LSR ID of the remote end on the VC.

Transmit VC Label

VC label sent by the local device.

Receive VC Label

VC label received by the local device.

Control Word

Whether the control word function is enabled.

VCCV Capability

Whether VCCV is enabled.

Tunnel Policy

Name of the tunnel policy. The value -- indicates that no tunnel policy is configured.

PW Template Name

Name of the PW template. The value -- indicates that no PW template is configured.

Main or Secondary

Whether the VC is a primary VC or a secondary VC.

VC tunnel/token info

Information about the tunnel or token used by the VC. The value 1 tunnels/tokens indicates that the PW uses one tunnel or token.

Create time

How long the VC has been created.

UP time

How long the VC keeps the Up state.

Last change time

How long the VC status remains unchanged.

VC last up time

Last time when the VC became Up.

VC total up time

Total duration of the VC in Up state.

CKey

Index of the public tunnel for VPN QoS.

NKey

Index of the public tunnel.

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.

BFD for PW

Whether BFD is configured.
  • unavailable: indicates that BFD is not configured.
  • available: indicates that BFD is configured.
  • timeout: timeout period after which a BFD session fails to be established

# Display information about SVCs in Up state between peers.

<HUAWEI> display mpls static-l2vc state up
 Total svc connections:  1,  1 up,  0 down
 *Client Interface     : Vlanif10 is up
  AC Status            : up
  VC State             : up
  VC ID                : 0
  VC Type              : Ethernet
  Destination          : 2.2.2.2
  Transmit VC Label    : 100
  Receive VC Label     : 200
  Label Status         : 0
  Token Status         : 0
  Control Word         : Disable
  VCCV Capability       : alert ttl lsp-ping bfd
  active state         : active
  Link State           : up
  Tunnel Policy Name   : --
  PW Template Name     : --
  Main or Secondary    : Main
  load balance type    : flow
  Access-port          : false
  VC tunnel/token info : 1 tunnels/tokens
  NO.0  TNL Type       : lsp   , TNL ID : 0x56
  Backup TNL Type      : lsp   , TNL ID : 0x0
  Create time          : 0 days, 4 hours, 55 minutes, 41 seconds
  UP time              : 0 days, 4 hours, 55 minutes, 40 seconds
  Last change time     : 0 days, 4 hours, 55 minutes, 40 seconds
  VC last up time      : 2011/09/09 10:25:22
  VC total up time     : 0 days, 4 hours, 55 minutes, 40 seconds
  CKey                 : 19
  NKey                 : 1
  BFD for PW           : unavailable  
Table 3 Description of the display mpls static-l2vc state command output

Item

Description

Total svc connections

Number of established SVCs, including the number of SVCs in Up and Down states.

Client Interface

AC interface and its status.

AC Status

Status of the AC.

VC State

Status of the VC.

VC ID

ID of the VC, which uniquely identifies a VC.

VC Type

Encapsulation type of the VC.

Destination

LSR ID of the remote end on the VC.

Transmit VC Label

Local VC label.

Receive VC Label

Remote VC label.

Control Word

Whether the control word function is enabled.

VCCV Capability

Whether VCCV is enabled.

Tunnel Policy Name

Name of the tunnel policy.

PW Template Name

Name of the PW template.

Main or Secondary

Whether the VC is a primary VC or a secondary VC.

Create time

How long the VC has been created.

UP time

How long the VC keeps the Up state.

Last change time

How long the VC status remains unchanged.

VC last up time

Last time when the VC became Up.

VC total up time

Total duration of the VC in Up state.

CKey

Index of the public tunnel for VPN QoS.

NKey

Index of the public tunnel.

BFD for PW

Whether BFD is configured.
  • unavailable: indicates that BFD is not configured.
  • available: indicates that BFD is configured.
  • timeout: timeout period after which a BFD session fails to be established
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >