display vsi services

Function

The display vsi services command displays information about the AC interfaces bound to a VSI.

Format

display vsi services { all | vsi-name | interface interface-type interface-number | vlan vlan-id | interface interface-name | bridge-domain }

Parameters

Parameter Description Value
all

Displays information about the AC interfaces bound to all VSIs.

-

vsi-name

Displays information about the AC interfaces bound to the specified 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.

interface interface-type interface-number

Displays information about the specified AC interface bound to the VSI.

interface-type specifies the type of the interface. interface-number specifies the number of the interface.

vlan vlan-id

Displays information about the specified VLAN AC interfaces bound to the VSI.

The value is a decimal integer ranging from 1 to 4094.

bridge-domain

Displays information about the EVC sub-interfaces bound to the specified VSI in the BD.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check information about the AC interfaces bound to a VSI, run the display vsi services command. The command output shows the status of the VSI and AC interfaces.

Configuration Impact

If a large number of AC interfaces and VSIs exist on the device, you are advised to specify the VSI name, AC interface, and VLAN ID when using the display vsi services command. Otherwise, excess output information may cause the following problems:

  • The displayed information is repeatedly refreshed and the required information cannot be obtained.
  • The system does not respond because of prolonged information traversing and searching.

Example

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

# Display information about AC interface GE 0/1/0.1 bound to a VSI.
<HUAWEI> display vsi services interface gigabitethernet0/1/1.1
Total: 1
Code: AS(Admin Status), PS(Physical Status)
--------------------------------------------------------------------------------
Interface/Bridge-domain             Vsi Name                        AS    PS
--------------------------------------------------------------------------------
GigabitEthernet0/1/1.1              vsi2                            down  up
--------------------------------------------------------------------------------
# Display information about the AC interface in VLAN 10 and bound to a VSI.
<HUAWEI> display vsi services vlan 10
Total: 1
Code: AS(Admin Status), PS(Physical Status)
--------------------------------------------------------------------------------
Interface/Bridge-domain             Vsi Name                        AS    PS
--------------------------------------------------------------------------------
Eth-Trunk1.1                        vsi1                            down  down
--------------------------------------------------------------------------------
# Display information about the AC interfaces bound to the VSI named vsi1.
<HUAWEI> display vsi services vsi1
Total: 1
Code: AS(Admin Status), PS(Physical Status)
--------------------------------------------------------------------------------
Interface/Bridge-domain             Vsi Name                        AS    PS
--------------------------------------------------------------------------------
Eth-Trunk1.1                        vsi1                            down  down
--------------------------------------------------------------------------------
# Display information about the AC interfaces bound to all VSIs.
<HUAWEI> display vsi services all
Total: 3
Code: AS(Admin Status), PS(Physical Status)
--------------------------------------------------------------------------------
Interface/Bridge-domain             Vsi Name                        AS    PS
--------------------------------------------------------------------------------
GigabitEthernet0/1/3                1                               up    up
GigabitEthernet0/1/1.1              vsi2                            down  up
Eth-Trunk1.1                        vsi1                            down  down
--------------------------------------------------------------------------------
Table 1 Description of the display vsi services command output
Item Description
Interface/Bridge-domain

Interface/BD to which a VSI is bound.

If a VSI is bound to an AC interface, the interface name is displayed. If the VSI is bound to a BD, EVC sub-interface information in the BD is displayed.

Vsi Name

Name of the VSI to which the AC interface is bound.

AS

Administrative status of an interface:

  • up.
  • down.
PS

Physical status of an interface:

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