display vpls forwarding-info

Function

The display vpls forwarding-info command displays the forwarding information about all VSIs.

Format

display vpls forwarding-info [ vsi vsi-name [ peer peer-address [ negotiation-vc-id vc-id | remote-site site-id ] ] | state { up | down } ] [ verbose ]

Parameters

Parameter Description Value
vsi vsi-name

Displays the forwarding information about a VSI with the specified 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 peer-address

Displays the forwarding information about a VSI with the specified peer IP address.

The value is in dotted decimal notation.

negotiation-vc-id vc-id

Displays the forwarding information about a VSI with the specified VC ID.

The value is an integer ranging from 1 to 4294967295.

remote-site site-id

Displays the forwarding information about a VSI with the specified remote site ID.

The value is an integer ranging from 0 to 65534.

state

Displays the forwarding information about VSIs based on the PW status.

-

up

Displays the forwarding information about VSIs whose PWs are in the Up state.

-

down

Displays the forwarding information about VSIs whose PWs are in the Down state.

-

verbose

Displays the detailed forwarding information about VSIs.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check the forwarding information about a specific VSI, run the display vpls forwarding-info vsi command.

Example

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

# Display the summary forwarding information about all VSIs.
<HUAWEI> display vpls forwarding-info
Total Number   : 2,        2  up,  0  down

Vsi-Name                        PeerIP          VcOrSiteId  PwState
1                               6.6.6.6         1           UP
2                               6.6.6.6         2           UP
# Display the summary forwarding information about VSIs whose PWs are in the Up state.
<HUAWEI> display vpls forwarding-info state up
Total Number   : 2,        2  up,  0  down

Vsi-Name                        PeerIP          VcOrSiteId  PwState
1                               6.6.6.6         1           UP
2                               6.6.6.6         2           UP
# Display the detailed forwarding information about VSIs whose PWs are in the Up state.
<HUAWEI> display vpls forwarding-info state up verbose
Total Number   : 2,        2  up,  0  down

**Vsi-Name      : vsi1
  Vsi Index     : 0                            PwState      : BACKUP
  Peer IP       : 3.3.3.3                      VcOrSiteId   : 1
  InVcLabel     : 1029                         OutVcLabel   : 1030
  BroadTunnelID : 0x80002a                     OutInterface : GigabitEthernet0/1/2
  MainPwToken   : 0x80002a                     SlavePwToken : 0x0
  NKey          : 0x7                          CKey         : 0x8

**Vsi-Name      : vsi2
  Vsi Index     : 0                            PwState      : UP
  Peer IP       : 2.2.2.2                      VcOrSiteId   : 1
  InVcLabel     : 1028                         OutVcLabel   : 1030
  BroadTunnelID : 0x80003a                     OutInterface : GigabitEthernet0/1/0
  MainPwToken   : 0x80003a                     SlavePwToken : 0x0
  NKey          : 0x5                          CKey         : 0x6
# Display the detailed forwarding information about all VSIs.
<HUAWEI> display vpls forwarding-info verbose
Total Number   : 2,        2  up,  0  down

**Vsi-Name      : 1
  Vsi Index     : 0                            PwState      : UP
  Peer IP       : 6.6.6.6                      VcOrSiteId   : 1
  InVcLabel     : 234496                       OutVcLabel   : 162816
  BroadTunnelID : 0x80414000                   OutInterface : GigabitEthernet0/1/0
  MainPwToken   : 0x80414000                   SlavePwToken : 0x0
  NKey          : 0x3                          CKey         : 0x4

**Vsi-Name      : 2
  Vsi Index     : 1                            PwState      : UP
  Peer IP       : 6.6.6.6                      VcOrSiteId   : 2
  InVcLabel     : 250882                       OutVcLabel   : 179201
  BroadTunnelID : 0x80414001                   OutInterface : GigabitEthernet0/1/0
  MainPwToken   : 0x80414001                   SlavePwToken : 0x0
  NKey          : 0x3                          CKey         : 0x5
Table 1 Description of the display vpls forwarding-info command output
Item Description
Total Number

There are two VSIs in total, and the two VSIs are both in the Up state.

Vsi-Name

VSI name.

PeerIP

Peer IP address.

VcOrSiteId
  • VSI ID if LDP is used as a VSI signaling.
  • Site ID if BGP is used as a VSI signaling.
PwState

PW status:

  • Up.
  • Backup.
  • Down.
Vsi Index

VSI index.

Peer IP

Peer IP address.

InVcLabel

Incoming VC label.

OutVcLabel

Outgoing VC label.

BroadTunnelID

ID of the tunnel used for broadcast.

OutInterface

Outbound interface.

MainPwToken

Token of the primary PW.

SlavePwToken

Token of the secondary PW.

NKey

Network key. Each NKey corresponds to a set of peer+tunnel policy.

CKey

User key. Each CKey corresponds to a PW.

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