display vsi peer-info

Function

The display vsi peer-info command displays the PW status information of VSI peers.

Format

display vsi { name vsi-name peer-info [ peer-address ] | peer-info }

display vsi [ name vsi-name ] peer-info statistics

Parameters

Parameter Description Value
name vsi-name

Specifies the VSI name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

peer-info

Displays information about locally configured peers.

-

peer-address

Specifies the IPv4 address of the peer.

The value is in dotted decimal notation.

statistics

Collects statistics about the Up and Down PWs.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

When you run the display vsi peer-info command:

  • If you specify peer-info but do not specify statistics, the command output displays the detailed PW status information about the peers of all VSIs.
  • If you specify both peer-info and statistics, the command output displays the PW status statistics about the peers of all VSIs.

Precautions

If the command output does not contain PW information, the local VSI has not established any PW. In this situation, the command output shows only basic information about the local VSI.

Example

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

# Display the PW status statistics about the peers of a specified VSI.
<HUAWEI> display vsi peer-info statistics
Total Local Peers: 11     9 Up           2 Down
---------------------------------------------------
Vsi Name                  Up Peers       Down Peers
---------------------------------------------------
ldp-peer-info-1           4              0
ldp-peer-info-2           5              2
# Display the detailed PW status information about the peers of a specified VSI.
<HUAWEI> display vsi name ldp-peer-info-1 peer-info
VSI Name: ldp-peer-info-1                             Signaling: ldp
--------------------------------------------------------------------
Peer                Transport  Local      Remote      VC
Addr                VC ID      VC Label   VC Label    State
--------------------------------------------------------------------
2.2.2.2             1          1040       1043        up
# Display the detailed PW status information about the peers of all VSIs.
<HUAWEI> display vsi peer-info
VSI Name: ldp-peer-info-1                             Signaling: ldp
--------------------------------------------------------------------
Peer                Transport  Local      Remote      VC
Addr                VC ID      VC Label   VC Label    State
--------------------------------------------------------------------
2.2.2.2             1          1040       1043        up
Table 1 Description of the display vsi peer-info command output
Item Description
Total Local Peers

Total number of locally configured peers, that is, total number of PWs.

Local

VC label distributed locally.

Up

Total number of locally configured peers that are in the Up state, that is, total number of Up PWs.

Up Peers

Total number of peers in the Up state for a specified VSI, that is, total number of Up PWs for a specified VSI.

Down

Total number of locally configured peers in the Down state, that is, total number of Down PWs.

Down Peers

Total number of peers in the Down state for a specified VSI, that is, total number of Down PWs for a specified VSI.

VSI Name

VSI name.

Peer

Peer IP address.

Transport

VC ID.

Remote

VC label distributed by the peer.

VC

Current PW status.

Signaling

PW signaling type, which can be LDP or BGP. Here, only LDP PW information can be displayed.

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