< Home

display mpls switch-l2vc brief

Function

The display mpls switch-l2vc brief command displays brief information about all switching PWs, including static, dynamic, and mixed switching PWs.

Format

display mpls switch-l2vc brief

Parameters

None.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When many switching PWs are configured on the device, you can run this command to view brief information about the switching PWs. The command output of the display mpls switch-l2vc brief command is more concise than that of the display mpls switch-l2vc command.

Example

# Display brief information about switching PWs.

<HUAWEI> display mpls switch-l2vc brief
Total Switch VC : 1,   1 up,   0 down
*Switch-l2vc Type            : LDP<---->LDP
 Peer IP Address             : 10.1.1.9, 10.2.2.9
 VC ID                       : 200, 100
 VC Type                     : VLAN
 VC State                    : up
 Session State               : up, up
Table 1 Description of the display mpls switch-l2vc brief command output

Item

Description

Total Switch VC

Number of established Martini VCs (using the LDP signaling), including the number of Martini VCs in Up and Down states.

Switch-l2vc Type

Switching type, which can be LDP-LDP, LDP-SVC, or SVC-SVC.

If the primary and secondary switching VCs are configured, the switching types of these VCs can only be LDP-LDP.

  • LDP: indicates a dynamic PW.
  • SVC: indicates a static PW.

Peer IP Address

IP address of the peer.

VC ID

ID of the VC, which uniquely identifies a VC. Here, the field indicates the two switched VC IDs.

VC Type

Encapsulation type of the VC.

VC State

Status of the VC:

  • up: A VC has been established.
  • down: A VC is not established.

Session state

Status of the session between peers:

  • up: indicates that the session is successfully set up.
  • down: indicates that the session is not set up.
  • none: indicates that no session exists.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >