display vpls forwarding-info [ vsi vsi-name [ peer peer-address [ negotiation-vc-id vc-id | remote-site site-id ] ] | state { up | down } ] [ verbose ]
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. |
- |
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
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.
# 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
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 |
|
PwState |
PW status:
|
# 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
Item |
Description |
---|---|
Total Number |
The number of VSI. |
Vsi-Name |
Name of the VSI. |
Vsi Index |
VSI index. |
PwState |
PW status:
|
Peer IP |
Peer IP address of the PW in the VSI. |
VcOrSiteId |
|
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. |