display mpls static-l2vc

Function

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

Format

display mpls static-l2vc [ hard-pipe ] [ vc-id | state { up | down } ]

Parameters

Parameter Description Value
hard-pipe

Indicates an IP hard pipe.

Only the NetEngine 8000 F1A supports this parameter.

-

vc-id

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

The value is an integer ranging from 1 to 4294967295.

state

Displays information about static PWs with the specified status.

-

up

Displays information about static PWs in the Up state.

-

down

Displays information about static PWs in the Down state.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To view information about static VCs on an interface, run the display mpls static-l2vc command with the interface name specified.

If the interface name is not specified, information about static VCs on all the interfaces is displayed.

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about hard-pipe static PWs in the Up state.
<HUAWEI> display mpls static-l2vc hard-pipe state up
Total svc connections:  1,  1 up,  0 down

 *Client Interface      : GigabitEthernet0/1/0.1 is up
  AC Status             : up
  VC State              : up
  VC ID                 : 9
  VC Type               : Ethernet
  Destination           : 3.3.3.9
  Transmit VC Label     : 19
  Receive VC Label      : 19
  Label Status          : 0
  Token Status          : 0
  Control Word          : Disable
  VCCV Capability       : alert ttl lsp-ping bfd 
  active state          : inactive
  OAM Protocol          : --
  OAM Status            : --
  OAM Fault Type        : --
  PW APS ID             : --
  PW APS Status         : --
  TTL Value             : 1
  Link State            : up
  Tunnel Policy Name    : tp
  Hard-pipe bandwidth   : 50 Kbps
  Hard-pipe expand-ratio: 20 %
  Hard-pipe burst time  : 200us
# Display information about a hard-pipe static PW with the specified VC ID.
<HUAWEI> display mpls static-l2vc hard-pipe 9
Total svc connections:  1,  1 up,  0 down

 *Client Interface      : GigabitEthernet0/1/0.1 is up
  AC Status             : up
  VC State              : up
  VC ID                 : 9
  VC Type               : Ethernet
  Destination           : 3.3.3.9
  Transmit VC Label     : 19
  Receive VC Label      : 19
  Label Status          : 0
  Token Status          : 0
  Control Word          : Disable
  VCCV Capability       : alert ttl lsp-ping bfd 
  active state          : inactive
  OAM Protocol          : --
  OAM Status            : --
  OAM Fault Type        : --
  PW APS ID             : --
  PW APS Status         : --
  TTL Value             : 1
  Link State            : up
  Tunnel Policy Name    : tp
  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        : te    , TNL ID : 0x000000000300000002
  Create time           : 0 days, 0 hours, 1 minutes, 27 seconds
  UP time               : 0 days, 0 hours, 1 minutes, 27 seconds
  Last change time      : 0 days, 0 hours, 1 minutes, 27 seconds
  VC last up time       : 2015/07/25 16:23:07
  VC total up time      : 0 days, 0 hours, 1 minutes, 27 seconds
  CKey                  : 1
  NKey                  : 3959423113
  Hard-pipe bandwidth   : 50 Kbps
  Hard-pipe expand-ratio: 20 %
  Hard-pipe burst time  : 200us
Table 1 Description of the display mpls static-l2vc command output
Item Description
Total svc connections

Total number of SVC connections, including those in the up state and those in the down state.

AC Status

AC status.

VC State

VC status:

  • down.
  • up.
VC Type

VC encapsulation type:

  • ATM 1to1 VCC.
  • ATM 1to1 VPC.
  • ATM AAL5 PDU.
  • ATM AAL5 SDU.
  • ATM Nto1 VCC.
  • ATM Nto1 VPC.
  • ATM Transparent cell.
  • CEP.
  • CESoPSN basic mode.
  • Ethernet.
  • IP-interworking.
  • IP-layer2.
  • PPP.
  • SAT E1 over Packet.
  • SAT E3 over Packet.
  • SAT T1 over Packet.
  • VLAN.
VC total up time

Total Up time of a VC, with the Down time subtracted.

VC ID

ID of the VC, which uniquely identifies a VC.

If no VC ID is specified when you run the mpls static-l2vc command, the VC ID is displayed as 0.

VC tunnel/token info

Displays information about the VC tunnel or token ("1 tunnels/tokens" indicates that the PW uses one tunnel or token).

VC last up time

Last time when the VC became up.

Destination

LSR ID of the VC peer device.

Transmit VC Label

Local VC label.

Label Status

Status of a label:

  • 0: The label is available.
  • 1: Confirmation from the slave main control board is needed.
  • 2: The label has been released.
  • 3: Confirmation fails.
Receive VC Label

Remote VC label.

Token Status

Status of a token:

  • 0: The token is available.
  • 1: Confirmation from the slave main control board is needed.
  • 2: The token has been released.
  • 3: Confirmation fails.
Control Word

Whether the control word function is enabled.

VCCV Capability

Whether VC connectivity detection is enabled.

active state

Whether the interface is in the active state (the active state indicates that the interface can forward packets):

  • inactive.
  • active.
OAM Protocol

Link detection protocol:

  • MPLS-OAM: MPLS OAM is deployed to monitor the PW status.
  • TP-OAM: MPLS-TP OAM is deployed to monitor the PW status.
  • --: No link detection protocol is deployed to monitor the PW status, or a link detection protocol is deployed but the packet receiving function of the link detection protocol is not enabled.
OAM Status

Link status displayed by the link detection protocol:

  • Nondefect: The PW link is normal.
  • Defect: The PW link is faulty.
  • Detect-stop: The detection has stopped.
  • - -: No link detection protocol is deployed to monitor the PW, or a link detection protocol is deployed to monitor the PW but the packet receiving function of the link detection protocol is not enabled.
OAM Fault Type

Type of the link fault detected by the link detection protocol:

  • none: No fault is detected.
  • MPLS-TP OAM alarms:
    • dloc: indicates the loss of connection.
    • rdi: indicates a remote defect indication.
    • dmmg: indicates MEG information inconsistency.
    • dunm: indicates MEP information inconsistency.
    • unp: indicates priority information inconsistency.
    • unphb: indicates PHB information inconsistency.
    • ais: indicates an alarm indication signal.
    • sd1-near: indicates a near-end signal defect.
    • sd1-far: indicates a far-end signal defect.
    • sd2-near: indicates a near-end signal fault.
    • sd2-far: indicates a far-end signal fault.
    • lock: indicates a LOCK alarm.
    • csf: indicates a CSF alarm.
    • Crc-Ais: indicates a CRC-AIS alarm.
    • Crc-Sd: indicates a CRC-SD alarm.
    • Crc-Sf: indicates a CRC-SF alarm.
  • MPLS OAM alarms:
    • locv: indicates the loss of connectivity.
    • excess: indicates excessive trail termination source identifiers.
    • mismatch: indicates inconsistency of trail termination source identifiers.
    • mismerge: indicates incorrect merging of trail termination source identifiers.
  • --: indicates no link detection protocol is deployed for a PW.

Type of the PW fault detected by the link detection protocol:

  • none: No fault is detected.
  • MPLS OAM alarms:
    • locv: indicates the loss of connectivity.
    • excess: indicates excessive trail termination source identifiers.
    • mismatch: indicates inconsistency of trail termination source identifiers.
    • mismerge: indicates incorrect merging of trail termination source identifiers.
  • - -: indicates no link detection protocol is deployed for a PW.
PW APS ID

ID of the PW APS instance associated with the local PW.

PW APS Status

PW APS status:

  • LO: Services are locked to the primary PW.
  • SF_P: The secondary or bypass PW becomes faulty.
  • FS: Services are forcibly switched from the primary PW to the secondary or bypass PW.
  • SF: The primary PW becomes faulty.
  • SD_P: Signals degrade on the secondary or bypass PW.
  • SD: Signals degrade on the primary PW.
  • MS: Services are manually switched from the primary PW to the secondary or bypass PW.
  • WTR: The system is waiting to switch traffic back from the secondary or bypass PW to the primary PW.
  • NR: The primary, secondary, or bypass PW is working properly.
PW Template Name

Name of a PW template.

TTL Value

TTL value of the PW.

Link State

Integrative PW status:

  • up.
  • down.

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

  • Service PW status.
  • OAM status.
Tunnel Policy Name

Name of a tunnel policy.

Hard-pipe bandwidth

Hard-pipe bandwidth.

Hard-pipe expand-ratio

Hard-pipe bandwidth expansion ratio.

Hard-pipe burst time

Traffic burst time of the hard pipe.

Main or Secondary

Whether a VC is a primary or secondary VC.

load balance type

Load balancing mode for a LDP VPWS PW:

  • flow: indicates the per-flow load balancing mode.
  • packet: indicates the per-packet load balancing mode.
Access-port

Whether the access-port attribute is supported by an interface:

  • true: supported.
  • false: not supported.
TNL Type

Type of the tunnel used by the PW.

TNL ID

ID of the tunnel used by the PW.

Create time

How long the VC has been created.

UP time

How long the VC has been in the up state.

Last change time

How long the VC status has remained unchanged.

CKey

Index of the PW.

NKey

Index of a public network tunnel.

Client Interface

User interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >