display mpls static-l2vc [ vc-id | interface interface-type interface-number | state { down | up } ]
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.
|
- |
state { down | up } |
Displays VC information based on the VC status.
|
- |
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.
# 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
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. 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:
|
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:
|
Token Status |
Whether the token can be used:
|
Control Word |
Whether the control word function is enabled:
|
VCCV Capability |
Whether VCCV is enabled. |
active state |
Whether the PW is in active state. A PW in active state can forward packets.
|
Link State |
Integrative PW status:
If any of the following status is Down, the PW link state is Down:
|
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:
|
Access-port |
Whether the interface supports 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.
|
# 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
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.
|
# 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
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.
|