display l2vpn vsi

Use display l2vpn vsi to display information about VSIs.

Syntax

display l2vpn vsi [ name vsi-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name vsi-name: Specifies a VSI by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VSI, this command displays information about all VSIs.

verbose: Displays detailed information about VSIs. If you do not specify this keyword, the command displays brief information about VSIs.

Examples

# Display brief information about all VSIs.

<Sysname> display l2vpn vsi
Total number of VSIs: 1, 1 up, 0 down, 0 admin down

VSI Name                        VSI Index       MTU    State
vpna                            0               1500   Up

Table 5: Command output

Field

Description

MTU

MTU on the VSI.

State

VSI state:

  • Up—The VSI is up.

  • Down—The VSI is down.

  • Admin down—The VSI has been manually shut down by using the shutdown command.

# Display detailed information about all VSIs.

<Sysname> display l2vpn vsi verbose
VSI Name: vpna
  VSI Index               : 0
  VSI State               : Down
  MTU                     : 1500
  Bandwidth               : -
  Broadcast Restrain      : 5120 kbps
  Multicast Restrain      : -
  Unknown Unicast Restrain: 5120 kbps
  MAC Learning            : Enabled
  MAC Table Limit         : Unlimited
  MAC Learning rate       : -
  Drop Unknown            : -
  Flooding                : Enabled
  VXLAN ID                : 10
  Tunnels:
    Tunnel Name          Link ID    State    Type        Flood proxy
    Tunnel1              0x5000001  UP       Manual      Disabled
  ACs:
    AC                               Link ID    State
    RAGG1                            0          Down

Table 6: Command output

Field

Description

VSI Description

Description of the VSI. If the VSI does not have a description, the command does not display this field.

VSI State

VSI state:

  • Up—The VSI is up.

  • Down—The VSI is down.

  • Administratively down—The VSI has been manually shut down by using the shutdown command.

MTU

MTU on the VSI.

Bandwidth

Maximum bandwidth (in kbps) for known unicast traffic on the VSI. This field is not supported in the current software version.

Broadcast Restrain

Broadcast restraint bandwidth (in kbps).

Multicast Restrain

Multicast restraint bandwidth (in kbps). This field is not supported in the current software version.

Unknown Unicast Restrain

Unknown unicast restraint bandwidth (in kbps).

MAC Learning

State of the MAC learning feature.

MAC Table Limit

Maximum number of MAC address entries on the VSI.

MAC learning rate

MAC address entry learning rate of the VSI. This field is not supported in the current software version.

Drop Unknown

Action on source MAC-unknown frames received after the maximum number of MAC entries is reached. This field is not supported in the current software version.

Flooding

State of the VSI's flooding feature:

  • Enabled—Flooding is enabled on the VSI. The VTEP floods unknown unicast frames to both local and remote sites.

  • Disabled—Flooding is disabled on the VSI. The VTEP floods unknown unicast frames only to local sites.

Gateway Interface

VSI interface name.

State

Tunnel state:

  • Up—The tunnel is operating correctly.

  • Blocked—The tunnel is a backup proxy tunnel. Its tunnel interface is up, but the tunnel is blocked because the primary proxy tunnel is operating correctly. This value is not supported in the current software version.

  • Defect—The tunnel interface is up, but BFD cannot detect the remote VTEP. This value is not supported in the current software version.

  • Down—The tunnel interface is down.

Type

Tunnel assignment method:

  • Auto—The tunnel was automatically assigned to the VXLAN. This value is not supported in the current software version.

  • Manual—The tunnel was manually assigned to the VXLAN.

Flood proxy

Flood proxy state. This field is not supported in the current software version.

ACs

ACs that are bound to the VSI.

Link ID

AC's link ID on the VSI.

State

AC state:

  • Up.

  • Down.