display vsi

Function

The display vsi command displays VSI information.

Format

display vsi [ name vsi-name ] [ verbose ]

Parameters

Parameter Description Value
name vsi-name

Specifies the name of a VSI.

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.

verbose

Displays detailed VSI information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

In the display vsi command:

  • If vsi-name is specified, information about a specified VSI is displayed.
  • If vsi-name is not specified, information about all VSIs is displayed.

Precautions

If the output of the display vsi [ name vsi-name ] [ verbose ] command does not contain PW information, no PW is set up for this VSI. This command displays only the information about the VSI on the local end.

To view information about the VSI on the remote end, run the display vsi remote command.

Example

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

# Display information about the BGP AD VPLS instance named 3.
<HUAWEI> display vsi name 3 verbose

 ***VSI Name               : 3
    Work Mode              : normal
    Administrator VSI      : no
    Isolate Spoken         : disable
    VSI Index              : 3
    PW Signaling           : bgpad
    Member Discovery Style : --
    Bridge-domain Mode     : disable
    PW MAC Learn Style     : unqualify
    Encapsulation Type     : vlan
    MTU                    : 1500
    Diffserv Mode          : uniform
    Service Class          : --
    Color                  : --
    DomainId               : 255
    Domain Name            : 
    Ignore AcState         : enable
    P2P VSI                : disable
    Multicast Fast Switch  : disable
    Create Time            : 0 days, 0 hours, 36 minutes, 46 seconds
    VSI State              : up
    Resource Status        : --
                
    VPLS ID                : 10.10.1.1:1
    RD                     : 10.10.1.1:1
    Import vpn target      : 100:1 
    Export vpn target      : 100:1 
    BGPAD VSI ID           : 1.1.1.1

   *Peer Router ID         : 2.2.2.2
    VPLS ID                : 10.10.1.1:1
    SAII                   : 1.1.1.1
    TAII                   : 2.2.2.2
    VC Label               : 48066
    Peer Type              : dynamic
    Session                : up
    Tunnel ID              : 0x0000000001004c4b43 
    Broadcast Tunnel ID    : --
    CKey                   : 6
    NKey                   : 16777366

  **PW Information:

   *Peer Ip Address        : 2.2.2.2
    PW State               : up
    Local VC Label         : 48066
    Remote VC Label        : 48066
    PW Type                : label
    Tunnel ID              : 0x0000000001004c4b43 
    Broadcast Tunnel ID    : --
    Broad BackupTunnel ID  : --
    Ckey                   : 6
    Nkey                   : 16777366
    Main PW Token          : 0x0
    Slave PW Token         : 0x0
    Tnl Type               : ldp
    OutInterface           : --
    Backup OutInterface    : --
    Stp Enable             : 0
    Mac Flapping           : 0
    Monitor Group Name     : --
    PW Last Up Time        : 2020/11/23 11:45:52
    PW Total Up Time       : 0 days, 0 hours, 36 minutes, 12 seconds
# Display VSI information.
<HUAWEI> display vsi
Total VSI number is 1, 0 is up, 1 is down, 0 is LDP mode, 0 is BGP mode, 0 is BGPAD mode, 0 is mixed mode, 1 is unspecified mode
--------------------------------------------------------------------------
Vsi                             Mem    PW    Mac       Encap     Mtu   Vsi
Name                            Disc   Type  Learn     Type      Value State
--------------------------------------------------------------------------
1                               --     --    unqualify vlan      1500  down
# Display information about the BGP VPLS instance named bgp1.
<HUAWEI> display vsi verbose
***VSI Name               : bgp1
    Work Mode              : normal
    Administrator VSI      : no
    Isolate Spoken         : disable
    VSI Index              : 1
    PW Signaling           : bgp
    Member Discovery Style : --
    Bridge-domain Mode     : disable
    PW MAC Learn Style     : unqualify
    Encapsulation Type     : vlan
    MTU                    : 1500
    Diffserv Mode          : uniform
    Service Class          : --
    Color                  : --
    DomainId               : 255
    Domain Name            : 
    Ignore AcState         : disable
    P2P VSI                : disable
    Multicast Fast Switch  : disable
    Create Time            : 1 days, 4 hours, 56 minutes, 50 seconds
    VSI State              : down
    Resource Status        : --
                
    BGP RD                 : 1.2.3.4:2 auto
    SiteID/Range/Offset    : 1/10/0
    Import vpn target      : 200:1                  
    Export vpn target      : 200:1                  
    Local Label Block      : 0/368640/8/0 
 
    Interface Name         : Ethernet0/1/17.1
    State                  : up
    Ac Block State         : unblocked
    Access Port            : false
    AC Token Exceed        : YES
    Last Up Time           : 2019/08/21 07:49:03
    Total Up Time          : 1 days, 4 hours, 54 minutes, 10 seconds
# Display detailed information about all VSIs.
<HUAWEI> display vsi verbose
***VSI Name               : a2
    Work Mode              : normal
    Administrator VSI      : no
    Isolate Spoken         : disable
    VSI Index              : 1
    PW Signaling           : ldp
    Member Discovery Style : --
    Bridge-domain Mode     : disable
    PW MAC Learn Style     : unqualify
    Encapsulation Type     : vlan
    MTU                    : 1500
    Diffserv Mode          : uniform
    Service Class          : --
    Color                  : --
    DomainId               : 255
    Domain Name            :
    Ignore AcState         : disable
    P2P VSI                : disable
    Multicast Fast Switch  : disable 
    Create Time            : 0 days, 23 hours, 28 minutes, 1 seconds
    VSI State              : up
    Resource Status        : --

    VSI ID                 : 2
   *Peer Router ID         : 3.3.3.9
    primary or secondary   : primary
    ignore-standby-state   : no
    VC Label               : 18
    Peer Type              : dynamic
    Session                : up
    Tunnel ID              : 0x0000000001004c4b82
    Broadcast Tunnel ID    : --
    Broad BackupTunnel ID  : --
    Tunnel Policy Name     : tp1
    CKey                   : 1
    NKey                   : 1610612838
    Stp Enable             : 0
    PwIndex                : 0
    Control Word           : disable
    Interface Name         : GigabitEthernet0/1/17.1
    State                  : up
    Ac Block State         : unblocked
    Access Port            : false
    Last Up Time           : 2012/09/10 10:14:46
    Total Up Time          : 0 days, 23 hours, 23 minutes, 5 seconds

  **PW Information:

   *Peer Ip Address        : 3.3.3.9
    PW State               : up
    Local VC Label         : 18
    Remote VC Label        : 18
    Remote Control Word    : disable
    PW Type                : label
    Tunnel ID              : 0x0000000001004c4b82
    Broadcast Tunnel ID    : --
    Broad BackupTunnel ID  : --
    Ckey                   : 1
    Nkey                   : 1610612838
    Main PW Token          : 0x0
    Slave PW Token         : 0x0
    Tnl Type               : ldp
    OutInterface           : GigabitEthernet0/1/0
    Backup OutInterface    :
    Stp Enable             : 0
    Mac Flapping           : 0
    PW Last Up Time        : 2012/09/11 02:39:41
    PW Total Up Time       : 0 days, 23 hours, 15 minutes, 58 seconds
    Configured Flowlabel   : send , -- 
    Received Flowlabel     : -- , receive 
    Negotiated Flowlabel   : send , --
# 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                              --     ldp  unqualify vlan      1500  up
Table 1 Description of the display vsi command output
Item Description
Work Mode

VSI working mode:

  • normal: normal VSI.
  • bd-mode: BD VSI.
  • bvsi: PBB B-VSI.
  • ivsi: PBB I-VSI.
  • ivsi-p2p: P2P PBB I-VSI.
  • ivsi-mp2mp: MP2MP PBB I-VSI.
  • ivsi-bevpn-interwork: PBB I-VSI interacting with PBB EVPN.
Administrator VSI

Whether the VSI is an mVSI:

  • yes: It is an mVSI.
  • no: It is not an mVSI.
VSI State

Status of the VSI:

  • Up.
  • Down.
VSI Index

Index of the VSI.

VSI ID

ID of the VSI. This field is displayed only when LDP VPLS is configured.

If the VSI IDs or negotiation IDs on both ends are different, run the vsi-id vsi-id command in the VSI-LDP view to change the VSI ID on one end, or run the peer (VSI-LDP view) command in the VSI-LDP view to change the negotiation ID, so that the settings at both ends are the same.

Isolate Spoken

Whether the forwarding isolation function is enabled:

  • enable.
  • disable.
PW Signaling

PW signaling type.

PW MAC Learn Style

MAC address learning mode of the PW. The value can be unqualify or qualify.

PW Information

Information about the PW.

PW State

Current status of the PW:

  • Up.
  • Down.
PW Type

PW type:

  • label: common PW.
  • mehvpls: spoke PW.
PW Last Up Time

Last time when the PW is up.

PW Total Up Time

Total time when the PW is up.

Member Discovery Style

Member discovery mode, which can be dynamic discovery or static discovery.

Bridge-domain Mode

Whether the VSI in BD mode is enabled:

  • enable.
  • disable.
Encapsulation Type

Encapsulation type of the VSI:

  • VLAN.
  • Ethernet.
MTU

Maximum transmission unit.

Diffserv Mode

QoS DiffServ mode for VSI services.

Service Class

QoS service class for VSI services.

Color

QoS color for VSI services.

DomainId

Domain ID.

Domain Name

Domain name.

Ignore AcState

Whether the vpls ignore-ac-state command is configured to prevent the VSI status from being affected by the AC status:

  • enable.
  • disable.
P2P VSI

Whether the VSI is a P2P VSI:

  • enable: The VSI is a P2P VSI.
  • disable: The VSI is not a P2P VSI.
Multicast Fast Switch

Multicast fast switching status:

  • enable: Multicast fast switching is enabled.
  • disable: Multicast fast switching is not enabled.
Create Time

Time when a VSI is created.

State

Status of the AC bound to the VSI:

  • Up.
  • Down.
up

Number of VSIs in the Up state.

Resource Status

Whether the resource is available. Currently, only -- is displayed.

VPLS ID

VPLS domain ID.

BGPAD mode

Number of VSIs in BGP A-D mode.

SAII

Source AII.

TAII

Destination AII.

VC Label

Label value of the VC. This field is displayed only when LDP VPLS is configured.

Peer Router ID

ID of the peer device This field is displayed only when LDP VPLS is configured.

Peer Type

PW type of the peer, which can be dynamic or static. This field is displayed only when LDP VPLS is configured.

Peer Ip Address

Peer IP address.

Session

Status of the session between the local end and its peer. The status can be Up or Down. This field is displayed only when LDP VPLS is configured.

Tunnel ID

Tunnel ID. If there are multiple tunnels, they are displayed in sequence and separated by spaces. This field is displayed only when LDP VPLS is configured.

Tunnel Policy Name

Tunnel policy name.

Broadcast Tunnel ID

Tunnel ID (for BUM traffic forwarding).

CKey

PW index.

NKey

Index of the public tunnel.

Local VC Label

VC label distributed locally.

Local Label Block

Local label block.

Remote VC Label

VC label distributed by the peer.

Broad BackupTunnel ID

ID of the backup tunnel selected for BUM traffic forwarding.

Main PW Token

Token of the primary PW.

Slave PW Token

Token of the secondary PW.

Tnl Type

Tunnel type:

  • LSP.
  • CR-LSP.
  • GRE.
  • Other.
OutInterface

Outbound interface.

Backup OutInterface

Outbound interface of the backup tunnel selected for BUM traffic forwarding.

Stp Enable

Whether STP for PW is enabled:

  • 0: disabled.
  • 1: enabled.
Mac Flapping

Whether MAC flapping for VSI is enabled:

  • 0: disabled.
  • 1: enabled.
Last Up Time

Last time when the AC interface is up.

Total Up Time

Total time when the AC interface is up.

Total VSI number

Total number of VSIs.

Learned Flag

B-MAC address learning result.

Learned In Label

Learned incoming label.

Learned Out Label

Learned outgoing label.

Interface Name

Name of the interface bound to the VSI.

Ac Block State

Blocking status of the AC interface:

  • unblocked.
  • blocked.
Access Port

Whether an interface supports the Access-port attribute.

  • true: supported.
  • false: not supported.
LDP mode

Number of LDP VSIs.

BGP mode

Number of VSIs in BGP mode.

mixed mode

Number of VSIs in mixed mode.

unspecified mode

Number of VSIs in unspecified mode.

Vsi Name

VSI name.

Mem

Member discovery mode.

Encap

Encapsulation type of the VSI:

  • 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 value on one end to be the same as that on the other end.

down

Number of VSIs in the down state.

auto

Whether the RD value of the instance is automatically generated.

AC Token Exceed

Number of AC tokens exceeded the upper limit.

primary or secondary

Description of the primary or secondary PW. primary indicates the primary PW, and secondary indicates the secondary PW.

ignore-standby-state

Whether the PW ignores the standby state sent by the remote device. The value yes indicates that the PW ignores the standby state, and the value no indicates that the PW does not ignore the standby state.

PwIndex

PW index.

Control Word

Whether the control word function is enabled on the local end:

  • enable.
  • disable.
Received Flowlabel

Remote flow label configuration:

  • send, --: The remote end is enabled to send flow labels.
  • --, receive: The remote end is enabled to receive flow labels.
  • send, receive: The remote end is enabled to send and receive flow labels.
Negotiated Flowlabel

Flow label capability negotiation status:

  • send , --: The local end is enabled to send flow labels, and the remote end is enabled to receive flow labels.
  • -- , receive: The local end is enabled to receive flow labels, and the remote end is enabled to send flow labels.
  • send , receive: The local and remote ends are enabled to send and receive flow labels.
SiteID

Site ID.

Offset

Offset.

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