display mpls l2vc remote-info

Function

The display mpls l2vc remote-info command displays information about VPWS connections using the LDP signaling.

Format

display mpls l2vc remote-info [ [ vc-id ] | [ unmatch ] | [ verbose ] ]

Parameters

Parameter Description Value
vc-id

Specifies a 32-bit virtual circuit (VC) ID that is locally unique.

A combination of the VC ID and VC type uniquely identifies a VC.

The value is an integer ranging from 1 to 4294967295.

unmatch

Displays information about remote VCs that do not match the local configuration.

-

verbose

Displays detailed information about VCs on the remote peer.

-

remote-info

Displays information about VCs on the remote peer. If remote-info is specified whereas vc-id is not specified, information about all VPWS connections established between the peer and the local device is displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

After a VPWS connection is configured or fails, you can use the display mpls l2vc remote-info command to view information about the VPWS connection on the device or a specified interface, such as the VC status, AC status, and encapsulation type.

Prerequisites

The basic VPWS function has been configured.

Configuration Impact

If a large number of VPWS connections exist on the device, you are advised to specify VC ID in the display mpls l2vc command.

Example

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

# Display detailed information about the LDP VC information received from the remote peer.
<HUAWEI> display mpls l2vc remote-info verbose
Total remote LDP VC : 1 
  
VC ID              : 1
VC Type            : vlan
VC Label           : 1025
Peer Address       : 5.5.5.5
Group ID           : 0
MTU                : 1500
Control Word       : 0
Notification       : 1
Status Code        : 0
Match Local VC     : MATCH
Max ATM CELLS      : --
TDM RTP Header     : --
TDM Encap Num      : --
TDM Bit Rate       : --
VCCV Code          : 0x706
# Display VPWS connection information received from the remote peer.
<HUAWEI> display mpls l2vc remote-info
Total remote ldp vc : 1

Transport  Group      Peer            Remote         Remote     C   MTU/  N   S
VC ID      ID         Addr            Encap          VC Label   Bit CELLS Bit Bit
100        0          192.168.3.3     vlan           18         0   1500  1   0
Table 1 Description of the display mpls l2vc remote-info command output
Item Description
Total remote ldp vc

Total number of remote LDP VCs that have been established.

VC ID

ID of the VC.

VC Type

Encapsulation type of the VC.

VC Label

VC label.

Peer Addr

IP address of the remote peer.

Peer Address

IP address of the remote peer.

Group ID

ID of a group to which the VC belongs. The default value is 0.

Control Word

Whether the control word function is enabled:

  • 1: The control word function is enabled.
  • 0: The control word function is not enabled.
Notification

Whether Notification messages are supported:

  • 1: Notification messages are supported.
  • 0: Notification messages are not supported.
Status Code

Status code:

  • 0: indicates the forwarding state.
  • 1: indicates the non-forwarding state.
Match Local VC

Whether the local VC ID matches the remote VC ID:

  • MATCH.
  • NOT-MATCH.
Max ATM CELLS

Maximum number of ATM cells that can be transmitted.

If ATM encapsulation is used, the value ranges from 1 to 28, and the default value is 28. If non-ATM encapsulation is used, -- is displayed.

VCCV Code

VCCV code of the remote peer.

TDM RTP Header

Indicates whether the RTP header is added to the transparently transmitted TDM frames.

TDM Encap Num

Specifies the number of TDM frames encapsulated in a Circuit Emulation Services over Packet Switch Network (CESoPSN) or Structure-Agnostic Time Division Multiplexing over Packet (SAToP) packet.

TDM Bit Rate

Indicates the bit rate of TDM transparent transmission encapsulation.

Transport VC ID

VC ID that uniquely identifies a VC.

Remote Encap

Encapsulation type of the VC on the remote peer.

Remote VC Label

Remote VC label.

C Bit

Whether the control word function is enabled:

  • 1: The control word function is enabled.
  • 0: The control word function is not enabled.
N Bit

Whether Notification messages are supported:

  • 1: Notification messages are supported.
  • 0: Notification messages are not supported.
S Bit

Status code:

  • 0: indicates the forwarding state.
  • 1: indicates the non-forwarding state.
MTU/CELLS

L2VPN MTU.

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