< Home

display vpls forwarding-info

Function

The display vpls forwarding-info command displays forwarding information of 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 forwarding information of a specified VSI.

The value is an existing VSI.
peer peer-address

Specifies the peer IP address of the PW.

The value is in dotted decimal notation.
negotiation-vc-id vc-id

Specifies the VC ID of the PW.

The value is an integer that ranges from 1 to 4294967295.
remote-site site-id

Specifies the remote site ID.

The value is an integer that ranges from 0 to 65534.
state

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

-
up

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

-
down

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

-
verbose

Displays detailed forwarding information of the VSI.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the VPLS is configured, you can run the display vpls forwarding-info command to view the forwarding information of all VSIs.

Prerequisites

One of the following operations has been performed before the display vpls forwarding-info command is used:
  • Configuring Kompella VPLS

  • Configuring Martini VPLS

  • Configuring BGP AD VPLS

Precautions

  • The display vpls forwarding-info vsi vsi-name command is used to display forwarding information of a specified VSI (in Martini mode or Kompella mode).

  • The display vpls forwarding-info vsi vsi-name peer peer-address [ negotiation-vc-id vc-id ] command is used to display forwarding information of a specified PW in the Martini VSI.

  • The display vpls forwarding-info vsi vsi-name peer peer-address remote-site site-id command is used to display forwarding information about a specified PW in the Kompella VSI.

Example

# Display brief forwarding information of all PWs in all VSIs.

<HUAWEI> display vpls forwarding-info
Total Number   : 2,        2  up,  0  down

Vsi-Name                        PeerIP          VcOrSiteId  PwState
a2                              3.3.3.9         2           UP
vplsad1                         3.3.3.9         0           UP

# Display brief information about the VSI PWs in Up state.

<HUAWEI> display vpls forwarding-info state up
Total Number   : 2,        2  up,  0  down

Vsi-Name                        PeerIP          VcOrSiteId  PwState
a2                              3.3.3.9         2           UP
vplsad1                         3.3.3.9         0           UP
Table 1 Description of the display vpls forwarding-info command output

Item

Description

Total Number

The number of VSI.

Vsi-Name

Name of the VSI.

PeerIP

Peer IP address of the PW in the VSI.

VcOrSiteId

  • VSI ID for the Martini VSI.
  • Site ID for the Kompella VSI.

PwState

PW status:
  • Up
  • Down

# Display detailed forwarding information of all PWs in all VSIs.

<HUAWEI> display vpls forwarding-info verbose
Total Number   : 2,        2  up,  0  down

**Vsi-Name      : a2
  Vsi Index     : 0                            PwState      : UP
  Peer IP       : 3.3.3.9                      VcOrSiteId   : 2
  InVcLabel     : 1026                         OutVcLabel   : 1025
  BroadTunnelID : 0x1                          OutInterface : Vlanif1025
  MainPwToken   : 0x1                          SlavePwToken : 0x0
  NKey          : 0x9                          CKey         : 0xa

**Vsi-Name      : vplsad1
  Vsi Index     : 2                            PwState      : UP
  Peer IP       : 3.3.3.9                      VcOrSiteId   : 0
  InVcLabel     : 1036                         OutVcLabel   : 1031
  BroadTunnelID : 0x1                          OutInterface : Vlanif1025
  MainPwToken   : 0x1                          SlavePwToken : 0x0
  NKey          : 0x9                          CKey         : 0x1b

# Display the detailed forwarding information about the VSI PWs in Up state.

<HUAWEI> display vpls forwarding-info state up verbose
Total Number   : 2,        2  up,  0  down

**Vsi-Name      : a2
  Vsi Index     : 0                            PwState      : UP
  Peer IP       : 3.3.3.9                      VcOrSiteId   : 2
  InVcLabel     : 1026                         OutVcLabel   : 1025
  BroadTunnelID : 0x1                          OutInterface : Vlanif1025
  MainPwToken   : 0x1                          SlavePwToken : 0x0
  NKey          : 0x9                          CKey         : 0xa

**Vsi-Name      : vplsad1
  Vsi Index     : 2                            PwState      : UP
  Peer IP       : 3.3.3.9                      VcOrSiteId   : 0
  InVcLabel     : 1036                         OutVcLabel   : 1031
  BroadTunnelID : 0x1                          OutInterface : Vlanif1025
  MainPwToken   : 0x1                          SlavePwToken : 0x0
  NKey          : 0x9                          CKey         : 0x1b
Table 2 Description of the display vpls forwarding-info verbose command output

Item

Description

Total Number

The number of VSI.

Vsi-Name

Name of the VSI.

Vsi Index

VSI index.

PwState

PW status:
  • Up
  • Down

Peer IP

Peer IP address of the PW in the VSI.

VcOrSiteId

  • VSI ID for the Martini VSI.
  • Site ID for the Kompella VSI.

InVcLabel

Incoming label of the VC.

OutVcLabel

Outgoing label of the VC.

BroadTunnelID

ID of the tunnel used for broadcast.

OutInterface

Outbound interface.

MainPwToken

Token of the master PW.

SlavePwToken

Token of the slave PW.

NKey

Network key. Each NKey corresponds to one 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 >