The display mpls static-l2vc brief command displays information about all the static VCs configured on a device.
Usage Scenario
To view information about static VCs on an interface, run the display mpls static-l2vc command with the interface name specified.
To check information about a hard-pipe static VPWS PW after configuring it, run the display mpls static-l2vc hard-pipe command.Precautions
If no hard-pipe static PW is configured when you run the display mpls static-l2vc hard-pipe command, no information is displayed after the command is run.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls static-l2vc brief
Total Switch VC : 1, 0 up, 1 down
*Switch-l2vc type : LDP<---->LDP
Peer IP Address : 1.1.1.1, 2.2.2.2
VC ID : 100, 200
VC Type : Ethernet
VC State : down
Session State : down, down
Item | Description |
---|---|
Total Switch VC | Number of established SVCs, including the number of SVCs in the Up state and the number of SVCs in the Down state. |
VC State | VC status:
|
VC ID | ID that uniquely identifies a VC. The VC ID is displayed as 0 if no VC ID is specified in the mpls static-l2vc command. |
VC Type | VC encapsulation type:
|
Peer IP Address | IP address of a neighbor. |
Session State | Status of the LDP session:
|