display vsi [ name vsi-name ] [ verbose ]
display vsi [ name vsi-name ] peer-info [ statistics ]
display vsi name vsi-name peer-info peer-ip [ verbose ]
Parameter | Description | Value |
---|---|---|
name vsi-name | Displays the name of a specified VSI. |
The value is an existing VSI. |
verbose | Displays detailed information about the VSI. |
- |
peer-info | Displays detailed information or statistics about the PW status of peers. |
- |
statistics | Displays statistics about the PW status of peers. |
- |
peer-ip | Displays detailed information about the PW status of the peer with a specified IP address. |
- |
The display vsi command displays information about VSIs. By default, information of all VSIs is displayed.
The display vsi peer-info command displays detailed information about the PW status of peers of all VSIs.
The display vsi name vsi-name peer-info command displays detailed information about the PW status of peers to a specified VSI.
The display vsi name vsi-name peer-info peer-ip command displays detailed information about the PW status of a specific peer to a specified VSI.
The display vsi peer-info statistics command displays statistics about the PW status of peers of all VSIs.
The display vsi name vsi-name peer-info statistics command displays statistics about the PW status of a specific peer to a specified VSI.
# Display information about the VSI named a2.
<HUAWEI> display vsi name a2
Vsi Mem PW Mac Encap Mtu Vsi
Name Disc Type Learn Type Value State
--------------------------------------------------------------------------
a2 static ldp unqualify vlan 1500 up
<HUAWEI> display vsi name vsi1
Vsi Mem PW Mac Encap Mtu Vsi
Name Disc Type Learn Type Value State
--------------------------------------------------------------------------
vsi1 -- mixed unqualify vlan 1500 up
Item |
Description |
---|---|
Vsi Name |
Name of the VSI. To set the value, run the vsi command. |
Mem Disc |
Member discovery mode:
|
PW Type |
PW type:
|
Mac Learn |
Mode of learning the MAC address. |
Encap Type |
Encapsulation type.
If the encapsulation types on both ends are different, run the encapsulation { ethernet | vlan } command in the VSI view to change the encapsulation type on one end to be the same as that on the other end. |
Mtu Value |
Maximum transmission unit. If the MTU values on both ends are different, run the mtu mtu-value command in the VSI view to change the MTU values on one end to be the same as that on the other end. |
Vsi State |
Status of the VSI:
|
# Display detailed information about all VSIs.
<HUAWEI> display vsi verbose ***VSI Name : a2 Administrator VSI : no Isolate Spoken : disable VSI Index : 0 PW Signaling : ldp Member Discovery Style : static PW MAC Learn Style : unqualify Encapsulation Type : vlan MTU : 1500 Diffserv Mode : uniform Mpls Exp : -- DomainId : 255 Domain Name : Ignore AcState : disable P2P VSI : disable Create Time : 0 days, 3 hours, 6 minutes, 43 seconds VSI State : up VSI ID : 2 *Peer Router ID : 10.3.3.9 Negotiation-vc-id : 2 primary or secondary : primary ignore-standby-state : no VC Label : 1026 Peer Type : dynamic Session : up Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 Broad BackupTunnel ID : 0x0 CKey : 10 NKey : 9 Stp Enable : 0 PwIndex : 0 Control Word : disable BFD for PW : unavailable Interface Name : Vlanif1024 State : up Access Port : false Last Up Time : 2012/07/06 14:00:15 Total Up Time : 0 days, 3 hours, 6 minutes, 20 seconds **PW Information: *Peer Ip Address : 10.3.3.9 PW State : up Local VC Label : 1026 Remote VC Label : 1025 Remote Control Word : disable PW Type : label Local VCCV : alert lsp-ping bfd Remote VCCV : alert lsp-ping bfd Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 Broad BackupTunnel ID : 0x0 Ckey : 0xa Nkey : 0x9 Main PW Token : 0x1 Slave PW Token : 0x0 Tnl Type : LSP OutInterface : Vlanif1025 Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2012/07/06 14:01:07 PW Total Up Time : 0 days, 3 hours, 5 minutes, 28 seconds ***VSI Name : bgp1 Administrator VSI : no Isolate Spoken : disable VSI Index : 6 PW Signaling : bgp Member Discovery Style : auto PW MAC Learn Style : unqualify Encapsulation Type : vlan MTU : 1500 Diffserv Mode : uniform Mpls Exp : -- DomainId : 255 Domain Name : Ignore AcState : disable P2P VSI : disable Create Time : 2 days, 20 hours, 19 minutes, 16 seconds VSI State : up BGP RD : 172.16.1.1:1 SiteID/Range/Offset : 1/5/0 Import vpn target : 100:1 Export vpn target : 100:1 Remote Label Block : 35840/5/0 Local Label Block : 0/35840/5/0 Interface Name : Vlanif1022 State : up Access Port : false Last Up Time : 2012/08/06 03:24:45 Total Up Time : 0 days, 0 hours, 10 minutes, 11 seconds **PW Information: *Peer Ip Address : 10.3.3.9 PW State : up Local VC Label : 35843 Remote VC Label : 35841 PW Type : label Local VCCV : alert lsp-ping bfd Remote VCCV : alert lsp-ping bfd Tunnel ID : 0x2e4d Broadcast Tunnel ID : 0x2e4d Broad BackupTunnel ID : 0x0 Ckey : 0x17 Nkey : 0x15 Main PW Token : 0x2e4d Slave PW Token : 0x0 Tnl Type : LSP OutInterface : Vlanif1025 Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2012/08/06 03:25:12 PW Total Up Time : 0 days, 0 hours, 9 minutes, 44 seconds ***VSI Name : vplsad1 Administrator VSI : no Isolate Spoken : disable VSI Index : 2 PW Signaling : bgpad Member Discovery Style : -- PW MAC Learn Style : unqualify Encapsulation Type : vlan MTU : 1500 Diffserv Mode : uniform Mpls Exp : -- DomainId : 255 Domain Name : Ignore AcState : disable P2P VSI : disable Create Time : 0 days, 1 hours, 28 minutes, 24 seconds VSI State : up VPLS ID : 172.16.1.1:1 RD : 172.16.1.1:1 Import vpn target : 100:1 Export vpn target : 100:1 VSI ID : 1.1.1.9 *Peer Router ID : 10.3.3.9 VPLS ID : 172.16.1.1:1 SAII : 1.1.1.9 TAII : 10.3.3.9 VC Label : 1027 Peer Type : dynamic Session : up Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 CKey : 12 NKey : 9 Interface Name : Vlanif1023 State : up Access Port : false Last Up Time : 2012/07/06 15:38:40 Total Up Time : 0 days, 1 hours, 27 minutes, 56 seconds **PW Information: *Peer Ip Address : 10.3.3.9 PW State : up Local VC Label : 1027 Remote VC Label : 1026 PW Type : label Local VCCV : alert lsp-ping bfd Remote VCCV : alert lsp-ping bfd Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 Broad BackupTunnel ID : 0x0 Ckey : 0xc Nkey : 0x9 Main PW Token : 0x1 Slave PW Token : 0x0 Tnl Type : LSP OutInterface : Vlanif1025 Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2012/07/06 15:38:56 PW Total Up Time : 0 days, 1 hours, 27 minutes, 40 seconds
Item |
Description |
---|---|
VSI Name |
Name of the VSI. |
Administrator VSI |
Whether the VSI is an administrator VSI:
|
Isolate Spoken |
Whether the forwarding isolation function is enabled:
|
VSI Index |
Index of the VSI. |
PW Signaling |
Type of the PW signaling, which can be ldp, bgp, bgpad or ldp bgpad. To set the value, run the pwsignal or bgp-ad command. |
Member Discovery Style |
Member discovery mode, which can be auto or static. |
PW MAC Learn Style |
Mode of MAC address learning of the PW. |
Encapsulation Type |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC:
If the PW encapsulation types on both ends are different, run the encapsulation { ethernet | vlan } command in the VSI view to change the encapsulation type on one end to be the same as that on the other end. |
MTU |
Maximum transmission unit. If the MTU values on both ends are different, run the mtu mtu-value command in the VSI view to change the MTU values on one end to be the same as that on the other end. |
Diffserv Mode |
VSI QoS mode. |
Mpls Exp |
EXP priority in MPLS packets. |
DomainId |
ID of a domain. |
Domain Name |
Domain name. |
Ignore AcState |
Whether the vpls ignore-ac-state command is used to prevent the status of a VSI from being affected by the status of the Attachment Circuit (AC). |
P2P VSI |
A P2P VSI identifier, which can be:
|
Create Time |
Time when the VSI is created. |
VSI State |
Status of the VSI:
|
BGP RD |
Route distinguisher. The BGP RD is an identifier on the local device for identifying a VSI on the PE in BGP VPLS. This item is displayed only when the VPLS type is Kompella. |
SiteID/Range/Offset |
Site ID, site range (the number of sites), and initial site ID offset of the VSI on the local device. This item is displayed only when the VPLS type is Kompella. |
Import vpn target |
Inbound extended community attribute from the target VPN. This item is displayed only when the VPLS type is Kompella. |
Export vpn target |
Outbound extended community attribute to the target VPN. This item is displayed only when the VPLS type is Kompella. |
Remote Label Block |
Initial value, label range, and initial site ID offset of the remote label block. This item is displayed only when the VPLS type is Kompella. |
Local Label Block |
Initial value, label range, and initial site ID offset of the local label block. This item is displayed only when the VPLS type is Kompella. |
VSI ID |
VSI ID that is displayed only when the Martini VPLS is configured. If the VSI IDs or negotiation IDs on both ends are different, run the vsi-id vsi-id or peer (VSI-LDP view) command in the VSI-LDP view to change the VSI ID or negotiation ID on one end to be the same as that on the other end. |
Peer Router ID |
ID of the peer device. This item is displayed only when the VPLS type is Martini. |
Negotiation-vc-id |
VC ID for negotiation. |
primary or secondary |
Whether the PW is a primary PW or a secondary PW. |
ignore-standby-state |
Whether the PW ignores the secondary state sent from the peer device. yes: Ignore the secondary state sent from the peer device. no: Do not ignore the secondary state sent from the peer device. |
VC Label |
Label value of the VC. This item is displayed only when the VPLS type is Martini. |
Peer Type |
PW type of the peer, which can be Dynamic or Static. This item is displayed only when the VPLS type is Martini. |
Session |
Status of the session between the local end and its peer. The status can be Up or Down. This item is displayed only when the VPLS type is Martini. |
Tunnel ID |
Tunnel ID that is displayed only when the Martini VPLS is configured. |
Broadcast Tunnel ID |
Tunnel ID (for broadcast). |
Broad BackupTunnel ID |
ID of the selected backup broadcast tunnel. |
CKey |
Index of the public tunnel for VPN QoS. |
NKey |
Index of the public tunnel. |
Stp Enable |
Whether STP for PW is enabled:
|
PwIndex |
PW index. |
Control Word |
Whether the control word is enabled for the local end on
the PW:
|
BFD for PW |
Whether BFD is configured:
|
Interface Name |
Name of the interface bound to the VSI. |
Access Port |
Whether the interface supports the access-port attribute:
|
State |
Status of the AC bound to the VSI.
|
Last Up Time |
Last time when the AC interface goes Up. |
Total Up Time |
Total time when the AC interface is Up. |
PW Information |
Information about the PW. |
Peer Ip Address |
IP addresses of the peer. |
PW State |
Status of the PW.
|
Local VC Label |
VC label distributed locally. |
Remote VC Label |
VC label distributed by the peer. |
Remote Control Word |
Whether the control word is enabled for the remote end on
the PW:
|
PW Type |
Type of the PW. |
Local VCCV | Type of VCCV supported on the local device. |
Remote VCCV | Type of VCCV supported on the remote device. |
Tunnel ID |
Tunnel ID. |
Main PW Token |
Token of the master PW. |
Slave PW Token |
Token of the slave PW. |
Tnl Type |
Type of a tunnel.
|
OutInterface |
Outbound interface. |
Backup OutInterface |
Outbound interface of the selected backup broadcast tunnel. |
PW Last Up Time |
Last time when the PW goes Up. |
PW Total Up Time |
Total time when the PW is Up. |
# Display detailed information about the BGP VSI named bgp1.
<HUAWEI> display vsi name bgp1 verbose ***VSI Name : bgp1 Administrator VSI : no Isolate Spoken : disable VSI Index : 6 PW Signaling : bgp Member Discovery Style : auto PW MAC Learn Style : unqualify Encapsulation Type : vlan MTU : 1500 Diffserv Mode : uniform Mpls Exp : -- DomainId : 255 Domain Name : Ignore AcState : disable P2P VSI : disable Create Time : 2 days, 20 hours, 19 minutes, 16 seconds VSI State : up BGP RD : 172.16.1.1:1 SiteID/Range/Offset : 1/5/0 Import vpn target : 100:1 Export vpn target : 100:1 Remote Label Block : 35840/5/0 Local Label Block : 0/35840/5/0 Interface Name : Vlanif1022 State : up Access Port : false Last Up Time : 2012/08/06 03:24:45 Total Up Time : 0 days, 0 hours, 10 minutes, 11 seconds **PW Information: *Peer Ip Address : 10.3.3.9 PW State : up Local VC Label : 35843 Remote VC Label : 35841 PW Type : label Local VCCV : alert lsp-ping bfd Remote VCCV : alert lsp-ping bfd Tunnel ID : 0x2e4d Broadcast Tunnel ID : 0x2e4d Broad BackupTunnel ID : 0x0 Ckey : 0x17 Nkey : 0x15 Main PW Token : 0x2e4d Slave PW Token : 0x0 Tnl Type : LSP OutInterface : Vlanif20 Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2012/08/06 03:25:12 PW Total Up Time : 0 days, 0 hours, 9 minutes, 44 seconds
Item |
Description |
---|---|
VSI Name |
Name of the VSI. |
Administrator VSI |
Whether the VSI is an administrator VSI:
|
Isolate Spoken |
Whether the forwarding isolation function is enabled:
|
VSI Index |
Index of the VSI. |
PW Signaling |
Type of the PW signaling, which can be ldp, bgp, bgpad or ldp bgpad. |
Member Discovery Style |
Member discovery mode, which can be auto or static. |
PW MAC Learn Style |
Mode of MAC address learning of the PW. |
Encapsulation Type |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC:
If the PW encapsulation types on both ends are different, run the encapsulation { ethernet | vlan } command in the VSI view to change the encapsulation type on one end to be the same as that on the other end. |
MTU |
Maximum transmission unit. If the MTU values on both ends are different, run the mtu mtu-value command in the VSI view to change the MTU values on one end to be the same as that on the other end. |
Diffserv Mode |
VSI QoS mode. |
Mpls Exp |
EXP priority in MPLS packets. |
DomainId |
ID of a domain. |
Domain Name |
Domain name. |
Ignore AcState |
Whether the vpls ignore-ac-state command is used to prevent the status of a VSI from being affected by the status of the AC. |
Create Time |
Time when the VSI is created. |
VSI State |
Status of the VSI:
|
BGP RD |
Route distinguisher. The BGP RD is an identifier on the local device for identifying a VSI on the PE in BGP VPLS. This item is displayed only when the VPLS type is Kompella. |
SiteID/Range/Offset |
Site ID, site range (the number of sites), and initial site ID offset of the VSI on the local device. This item is displayed only when the VPLS type is Kompella. |
Import vpn target |
Inbound extended community attribute from the target VPN. |
Export vpn target |
Outbound extended community attribute to the target VPN. |
Local Label Block |
Initial value, label range, and initial site ID offset of the local label block. |
# Display information about the BGP AD VSI named vplsad1.
<HUAWEI> display vsi name vplsad1 Vsi Mem PW Mac Encap Mtu Vsi Name Disc Type Learn Type Value State -------------------------------------------------------------------------- vplsad1 -- bgpad unqualify vlan 1500 up
# Display detailed information about the BGP AD VSI.
<HUAWEI> display vsi name vplsad1 verbose ***VSI Name : vplsad1 Administrator VSI : no Isolate Spoken : disable VSI Index : 2 PW Signaling : bgpad Member Discovery Style : -- PW MAC Learn Style : unqualify Encapsulation Type : vlan MTU : 1500 Diffserv Mode : uniform Mpls Exp : -- DomainId : 255 Domain Name : Ignore AcState : disable P2P VSI : disable Create Time : 0 days, 1 hours, 59 minutes, 39 seconds VSI State : up VPLS ID : 172.16.1.1:1 RD : 172.16.1.1:1 Import vpn target : 100:1 Export vpn target : 100:1 VSI ID : 1.1.1.9 *Peer Router ID : 10.3.3.9 VPLS ID : 172.16.1.1:1 SAII : 1.1.1.9 TAII : 10.3.3.9 VC Label : 1027 Peer Type : dynamic Session : up Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 CKey : 12 NKey : 9 Interface Name : Vlanif1023 State : up Access Port : false Last Up Time : 2012/07/06 15:38:40 Total Up Time : 0 days, 1 hours, 59 minutes, 11 seconds **PW Information: *Peer Ip Address : 10.3.3.9 PW State : up Local VC Label : 1027 Remote VC Label : 1026 PW Type : label Local VCCV : alert lsp-ping bfd Remote VCCV : alert lsp-ping bfd Tunnel ID : 0x1 Broadcast Tunnel ID : 0x1 Broad BackupTunnel ID : 0x0 Ckey : 0xc Nkey : 0x9 Main PW Token : 0x1 Slave PW Token : 0x0 Tnl Type : LSP OutInterface : Vlanif1025 Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2012/07/06 15:38:56 PW Total Up Time : 0 days, 1 hours, 58 minutes, 55 seconds
Item |
Description |
---|---|
PW Signaling |
Type of the PW signaling, which can be ldp, bgp, bgpad or ldp bgpad. |
Member Discovery Style |
Member discovery mode:
|
VPLS ID |
Identifier for identifying a BGP AD VSI on various PEs. |
RD |
Route Distinguisher, which is the same as the VPLS ID in the BGP AD VSI. |
SAII |
Source Attachment Individual Identifier, which is a local IP address used during negotiation on the creation of a PW in the BGP AD VSI. |
TAII |
Target Attachment Individual Identifier, which is a remote IP address used during negotiation on the creation of a PW in the BGP AD VSI. |
<HUAWEI> display vsi peer-info VSI Name: a2 Signaling: ldp -------------------------------------------------------------------- Peer Transport Local Remote VC Addr VC ID/TAII VC Label VC Label State -------------------------------------------------------------------- 10.3.3.9 2 1026 1025 up
<HUAWEI> display vsi name a2 peer-info 10.3.3.9 VSI Name: a2 Signaling: ldp -------------------------------------------------------------------- Peer Transport Local Remote VC Addr VC ID/TAII VC Label VC Label State -------------------------------------------------------------------- 10.3.3.9 2 1026 1025 up
Item |
Description |
---|---|
Vsi Name |
Name of the VSI. |
Signaling |
Signaling mode, which can be ldp, bgp, bgpad or ldp bgpad. |
Peer Addr |
IP addresses of the peer. |
Transport VC ID/TAII |
|
Local VC Label |
VC label distributed locally. |
Remote VC Label |
VC label distributed by the peer. |
VC State |
Status of the PW.
|
<HUAWEI> display vsi peer-info statistics
Total Local Peers: 1 1 Up 0 Down
---------------------------------------------------------
Vsi Name Up Peers Down Peers
---------------------------------------------------------
a2 1 0
<HUAWEI> display vsi name a2 peer-info statistics
Vsi Name Up Peers Down Peers
---------------------------------------------------------
a2 1 0
Item |
Description |
---|---|
Total Local Peers |
Total number of remote peers to the local end, that is, total number of PWs. |
Up |
Total number of PWs in Up state. |
Down |
Total number of PWs in Down state. |
Vsi Name |
Name of the VSI. |
Up Peers |
Total number of PWs in Up state in a specified VSI. |
Down Peers |
Total number of PWs in Down state in a specified VSI. |