< Home

display vsi

Function

The display vsi command displays information about a VSI.

Format

display vsi [ name vsi-name ] [ verbose ]

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

display vsi name vsi-name peer-info peer-ip [ verbose ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When you run the display vsi command:
  • 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.

Example

# 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
# Display information about the hybrid VSI named vsi1.
<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    
Table 1 Description of the display vsi command output

Item

Description

Vsi Name

Name of the VSI.

To set the value, run the vsi command.

Mem Disc

Member discovery mode:
  • static
  • auto
  • --

PW Type

PW type:
  • ldp
  • bgp
  • bgpad
  • mixed

Mac Learn

Mode of learning the MAC address.

Encap Type

Encapsulation type.
  • vlan
  • ethernet

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:
  • up
  • down
  • *down

# 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
Table 2 Description of the display vsi verbose command output

Item

Description

VSI Name

Name of the VSI.

Administrator VSI

Whether the VSI is an administrator VSI:

  • yes
  • no

Isolate Spoken

Whether the forwarding isolation function is enabled:

  • enable
  • disable

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:

  • VLAN
  • Ethernet

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:

  • enable: indicates that the VSI is a P2P VSI.
  • disable: indicates that the VSI is not a P2P VSI.

Create Time

Time when the VSI is created.

VSI State

Status of the VSI:
  • up
  • down
  • administratively down

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:

  • 0: disabled
  • 1: enable

PwIndex

PW index.

Control Word

Whether the control word is enabled for the local end on the PW:
  • enable: The control word is enabled.
  • disable: The control word is disabled.

BFD for PW

Whether BFD is configured:

  • unavailable: not configured
  • available: configured
  • timeout: timeout period after which a BFD session fails to be established

Interface Name

Name of the interface bound to the VSI.

Access Port

Whether the interface supports the access-port attribute:
  • true: indicates that the interface supports the access-port attribute.
  • false: indicates that the interface does not support the access-port attribute.

State

Status of the AC bound to the VSI.
  • up
  • down

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.
  • up
  • down
  • backup

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:
  • enable: The control word is enabled.
  • disable: The control word is disabled.

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.

  • LSP
  • CR-LSP
  • GRE
  • Other

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
Table 3 Description of the display vsi name bgp1 verbose command output

Item

Description

VSI Name

Name of the VSI.

Administrator VSI

Whether the VSI is an administrator VSI:

  • yes: It is an administrator VSI.
  • no: It is not an administrator VSI.

Isolate Spoken

Whether the forwarding isolation function is enabled:

  • enable
  • disable

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:

  • VLAN
  • Ethernet

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:
  • up
  • down
  • administratively down

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            
Table 4 Description of the display vsi name vplsad1 verbose command output

Item

Description

PW Signaling

Type of the PW signaling, which can be ldp, bgp, bgpad or ldp bgpad.

Member Discovery Style

Member discovery mode:

  • auto: indicates automatic member discovery. When creating a VSI on a Kompella VPLS network, configure auto in the vsi command.
  • static: indicates static member discovery. When creating a VSI on a Martini VPLS network, configure static in the vsi command.
  • --: When creating a VSI on a BGP AD VPLS network, do not configure the member discovery mode in the vsi command.

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.

# Display detailed information of PW status of peers to all VSIs.
<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
# Display detailed information of PW status of a specific peer to a specified VSI.
<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
Table 5 Description of the display vsi peer-info command output

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

  • VC ID for an LDP PW
  • TAII for a BGP-AD PW

Local VC Label

VC label distributed locally.

Remote VC Label

VC label distributed by the peer.

VC State

Status of the PW.
  • up

  • down

# Display statistics about PW status of peers to all VSIs.
<HUAWEI> display vsi peer-info statistics
Total Local Peers: 1           1 Up          0 Down
---------------------------------------------------------
Vsi Name                        Up Peers       Down Peers
---------------------------------------------------------
a2                              1              0
# Display statistics about PW status of peers to a specified VSI.
<HUAWEI> display vsi name a2 peer-info statistics
Vsi Name                        Up Peers       Down Peers
---------------------------------------------------------
a2                              1              0
Table 6 Description of the display vsi peer-info statistics command output

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.

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