display mpls switch-l2vc [ hard-pipe ] [ brief | state { up | down } | ip-address vc-id encapsulation { atm-1to1-vcc | atm-1to1-vpc | atm-aal5-pdu | atm-aal5-sdu | atm-nto1-vcc | atm-nto1-vpc | atm-trans-cell | cesopsn-basic | ethernet | ip-interworking | ip-layer2 | ppp | satop-e1 | satop-e3 | satop-t1 | vlan | cep } ]
Parameter | Description | Value |
---|---|---|
hard-pipe |
Indicates an IP hard pipe. Only the NetEngine 8000 F1A supports this parameter. |
- |
brief |
Displays summary static MS-PW information. |
- |
state |
Displays information about static MS-PWs with the specified state. |
- |
up |
Displays information about static MS-PWs in the Up state. |
- |
down |
Displays information about static MS-PWs in the Down state. |
- |
ip-address |
Specifies the IP address of a peer PE (usually the LSR ID). |
The value is in dotted decimal notation. |
vc-id |
Specifies a VC ID. |
The ID is a decimal integer ranging from 1 to 4294967295. |
encapsulation |
Indicates the PW encapsulation type. |
- |
atm-1to1-vcc |
One PW carries the cells of one PVC. |
- |
atm-1to1-vpc |
One PW carries the AAL5 SDUs of one PVC. |
- |
atm-aal5-pdu |
One PW carries the AAL5 PDUs of one PVC. |
- |
atm-aal5-sdu |
One PW carries the AAL5 SDUs of one PVC. |
- |
atm-nto1-vcc |
One PW carries the ATM cells of multiple PVCs. |
- |
atm-nto1-vpc |
ATM cells are transmitted over PWE3 VCs. |
- |
atm-trans-cell |
ATM cells are transmitted over PWE3 VCs. |
- |
cesopsn-basic |
Specifies the PW encapsulation type as cesopsn-basic. |
- |
ethernet |
This encapsulation type is used when Ethernet packets do not carry VLAN information. |
- |
fr |
FR provides protocol standards for the data link layer and physical layer. |
- |
ip-interworking |
Enables heterogeneous interworking between devices. Use IP interworking if interworking with a Huawei device is required. |
- |
ip-layer2 |
Enables heterogeneous media IP interworking between a Huawei device and a non-Huawei device. |
- |
satop-e1 |
SAToP is insensitive to the E1 frame structure and encapsulates a whole E1 frame into a PW packet. |
- |
satop-e3 |
SAToP is insensitive to the E3 frame structure and encapsulates a whole E3 frame into a PW packet. |
- |
satop-t1 |
SAToP is insensitive to the T1 frame structure and encapsulates a whole T1 frame into a PW packet. |
- |
vlan |
This encapsulation type is used when Ethernet packets carry VLAN information. |
- |
cep |
This encapsulation type is used for CEP services on a PSN. |
- |
Usage Scenario
If you do not specify any parameter, information about all MS-PWs is displayed. To check information about a hard-pipe static VPWS MS-PW after configuring it, run the display mpls switch-l2vc hard-pipe command. If pwId, interface, or state is not configured, information about all hard-pipe static MS-PWs is displayed.
Precautions
If no hard-pipe static MS-PW is configured when you run the display mpls switch-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 switch-l2vc hard-pipe brief
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : SVC<---->SVC
Peer IP Address : 2.2.2.2, 3.3.3.3
VC ID : 2, 3
VC Type : VLAN
VC State : down
In/Out Label : 18/18, 20/20
Hard-pipe bandwidth : 50 Kbps, --
Hard-pipe expand-ratio : 30 %, --
<HUAWEI> display mpls switch-l2vc hard-pipe 2.2.2.2 2 encapsulation vlan
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : SVC<---->SVC
Peer IP Address : 2.2.2.2, 3.3.3.3
VC ID : 2, 3
VC Type : Ethernet
VC State : up
In/Out Label : 18/18, 19/19
InLabel Status : 0 , 0
Control Word : Disable, Disable
VCCV Capability : alert ttl lsp-ping bfd , alert ttl lsp-ping bfd
Hard-pipe bandwidth : 50 Kbps, --
Hard-pipe expand-ratio : 30 %, --
Switch-l2vc tunnel info :
0 tunnels for peer 2.2.2.2
0 tunnels for peer 3.3.3.3
CKey : 1, 2
NKey : 1040187529, 1040187530
Tunnel policy : tp2, tp2
Create time : 0 days, 0 hours, 9 minutes, 30 seconds
UP time : 0 days, 0 hours, 9 minutes, 30 seconds
Last change time : 0 days, 0 hours, 9 minutes, 30 seconds
VC last up time : 2015/07/25 15:34:26
VC total up time : 0 days, 0 hours, 9 minutes, 30 seconds
<HUAWEI> display mpls switch-l2vc hard-pipe state up
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : SVC<---->SVC
Peer IP Address : 2.2.2.2, 3.3.3.3
VC ID : 2, 3
VC Type : VLAN
VC State : up
In/Out Label : 18/18, 19/19
InLabel Status : 0 , 0
Control Word : Disable, Disable
VCCV Capability : alert ttl lsp-ping bfd , alert ttl lsp-ping bfd
Hard-pipe bandwidth : 50 Kbps, --
Hard-pipe expand-ratio : 30 %, --
Switch-l2vc tunnel info :
0 tunnels for peer 2.2.2.2
0 tunnels for peer 3.3.3.3
CKey : 1, 2
NKey : 1040187529, 1040187530
Tunnel policy : tp2, tp2
Create time : 0 days, 0 hours, 10 minutes, 45 seconds
UP time : 0 days, 0 hours, 10 minutes, 45 seconds
Last change time : 0 days, 0 hours, 10 minutes, 45 seconds
VC last up time : 2015/07/25 15:34:26
VC total up time : 0 days, 0 hours, 10 minutes, 45 seconds
<HUAWEI> display mpls switch-l2vc
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : LDP<---->LDP
<---->LDP
Peer IP Address : 1.1.1.1, 3.3.3.3, 4.4.4.4
VC ID : 152, 152, 152
VC Type : VLAN
VC State : up
VC StatusCode |PSN |OAM | FW | |PSN |OAM | FW | M/S | |PSN |OAM | FW | M/S |
-Local VC : | UP | UP | UP | | UP | UP | UP |SLAVE | | UP | UP | UP |MASTER|
-Remote VC: | UP | UP | UP | | UP | UP | UP |MASTER| | UP | UP | UP |MASTER|
Session State : up, up, up
Local/Remote Label : 48075/48068, 48076/48040, 48077/48035
Local/Remote MTU : 1500/1500, 1500/1500, 1500/1500
Local/Remote Control Word : Disable/Disable, Disable/Disable, Disable/Disable
Local/Remote VCCV Capability: alert ttl lsp-ping bfd / alert ttl lsp-ping bfd, alert ttl lsp-ping bfd / alert ttl lsp-ping bfd, alert ttl lsp-ping bfd / alert ttl lsp-ping bfd
Switch-l2vc tunnel info :
1 tunnels for peer 1.1.1.1
NO.0 TNL Type : ldp , TNL ID : 0x0000000001004c4b43
1 tunnels for peer 3.3.3.3
NO.0 TNL Type : ldp , TNL ID : 0x0000000001004c4b42
1 tunnels for peer 4.4.4.4
NO.0 TNL Type : ldp , TNL ID : 0x0000000001004c4b44
CKey : 13, 14, 15
NKey : 16777366, 16777368, 16777371
Tunnel policy : --, --, --
Control-Word transparent : NO
PW redundancy mode : master
Active : --, inactive, active
Switchover Flag : --, false, --
Create time : 0 days, 0 hours, 2 minutes, 44 seconds
UP time : 0 days, 0 hours, 2 minutes, 11 seconds
Last change time : 0 days, 0 hours, 2 minutes, 11 seconds
VC last up time : 2020/04/10 03:53:34
VC total up time : 0 days, 0 hours, 2 minutes, 11 seconds
reroute policy : delay 30 s
reason of last reroute : --
time of last reroute : -- days, -- hours, -- minutes, -- seconds
delay timer ID : 3895535224
residual time : 2
<HUAWEI> display mpls switch-l2vc brief
Total Swithc VC : 1 , 1 up , 0 down
*Switch-l2vc Type : LDP<---->LDP
Peer IP Address : 1.1.1.9, 2.2.2.9
VC ID : 200, 100
VC Type : VLAN
VC State : up
Session State : up, up
<HUAWEI> display mpls switch-l2vc state up
Total Switch VC : 1, 1 up, 0 down
*Switch-l2vc type : LDP<---->LDP
Peer IP Address : 5.5.5.9, 1.1.1.9
VC ID : 200, 100
VC Type : ppp
VC State : up
VC StatusCode |PSN |OAM | FW | |PSN |OAM | FW |
-Local VC :| UP | UP | UP | | UP | UP |DOWN|
-Remote VC:| UP | UP |DOWN| | UP | UP | UP |
Session State : up, up
Local/Remote Label : 1025/1024, 1024/1025
InLabel Status : 0 , 0
Local/Remote MTU : 4470/4470, 4470/4470
Local/Remote Control Word : Disable/Disable, Disable/Disable
Local/Remote VCCV Capability : alert ttl lsp-ping bfd /alert ttl lsp-ping bfd, alert ttl lsp-ping bfd/alert ttl lsp-ping bfd
Switch-l2vc tunnel info :
1 tunnels for peer 5.5.5.9
NO.0 TNL Type : lsp , TNL ID : 0x202003
1 tunnels for peer 1.1.1.9
NO.0 TNL Type : lsp , TNL ID : 0x202000
CKey : 44, 1
NKey : 43, 3
L2VPN QoS CIR value : 388, 388
L2VPN QoS PIR value : 388, 388
L2VPN QoS qos-profile name : --, --
Tunnel policy : --, --
Control-Word transparent : YES
Create time : 0 days, 0 hours, 3 minutes, 54 seconds
UP time : 0 days, 0 hours, 3 minutes, 12 seconds
Last change time : 0 days, 0 hours, 3 minutes, 12 seconds
VC last up time : 2010/07/24 12:31:31
VC total up time : 0 days, 2 hours, 12 minutes, 51 seconds
Item | Description |
---|---|
Total Switch VC | Total number of switched VCs. |
VC ID | VC ID of a static MS-PW. |
VC Type | VC encapsulation type:
|
VC State | Status of the VC.
|
VC last up time | Last time when the AC became Up. |
VC total up time | Total duration when the AC interface is Up. |
VC StatusCode | VC status code:
|
Peer IP Address | Peer IP address of a static MS-PW. |
In/Out Label | Incoming or outgoing label. |
Hard-pipe bandwidth | Hard pipe bandwidth. If the hard pipe function is not enabled for a PW, -- is displayed. |
Hard-pipe expand-ratio | Hard pipe bandwidth expansion ratio. If the hard pipe function is not enabled for a PW, -- is displayed. |
InLabel Status | In-label status. |
Control Word | Control word status:
|
VCCV Capability | VCCV capability:
|
Switch-l2vc type | MS-PW type. Currently, the MS-PW type can only be SVC<-->SVC. |
Switch-l2vc tunnel info | Tunnel information on both ends.
|
CKey | Index of the public tunnel for VPN QoS. |
NKey | Index of the public tunnel. |
Tunnel policy | Name of the tunnel policy. |
Create time | How long the VC has been created. |
time of last reroute | Last switchback time. |
UP time | How long the VC keeps the Up state. |
Last change time | How long the VC status remains unchanged. |
Session State | Status of the session:
|
Local/Remote Label | In-label/Out-label on both ends. |
Local/Remote MTU | Local and remote MTU values of the PWs on both ends:
|
Local/Remote Control Word | Whether the control word function is enabled on both ends:
|
Local/Remote VCCV Capability | Whether VCCV is enabled on both ends:
|
Control-Word transparent | Whether the control word transparent transmission function is enabled:
|
PW redundancy mode | PW redundancy mode. By default, the PW redundancy mode is FRR.
|
Switchover Flag | Whether to perform a switchover:
|
reroute policy | Revertive switching policy of a PW protection group. The default revertive switching delay is 30s. In master/slave mode, you can run the reroute (protect-group view) command to modify the revertive switching policy. |
delay timer ID | ID of the switchback delay timer. |
reason of last reroute | Reason for the last switchback. |
residual time | Remaining time. |
L2VPN QoS CIR value | Committed information rate for VPN QoS. |
L2VPN QoS PIR value | Peak information rate for VPN QoS. |
L2VPN QoS qos-profile name | VPN QoS profile name. |