evb vsi

Use evb vsi to create a VSI interface or VSI aggregate interface.

Use undo evb vsi to remove a VSI interface or VSI aggregate interface.

Syntax

evb vsi vsi-local-id { association | pre-association }

undo evb vsi vsi-local-id

Default

No VSI interface or VSI aggregate interface exists on an S-channel.

Views

S-channel interface view, S-channel aggregate interface view

Predefined user roles

network-admin

Parameters

vsi-local-id: Specifies a VSI local ID in the range of 0 to 1023.

association: Specifies the association property. On a VSI interface with the association property, all filters immediately take effect.

pre-association: Specifies the pre-association property. On a VSI interface with the pre-association property, VLAN filters take effect, but <VLAN, MAC> filters are not effective.

Usage guidelines

A VSI interface is an interface created on an S-channel interface through this command, and it is a subinterface of the S-channel interface. A VSI aggregate interface is created on an S-channel aggregate interface, and it is a subinterface of the S-channel aggregate interface. Removing an S-channel also removes all its VSI interfaces and VSI aggregate interfaces.

A VSI interface or VSI aggregate interface is usually created or deleted by a VSI manager. You can also manually create or delete a VSI interface, or modify its pre-association or association property by executing this command.

If MAC address information is contained in the traffic sent by a VM when you change association to pre-association for a VSI interface or VSI aggregate interface, the following events occur:

When you change pre-association to association for a VSI interface, the EVB bridge sets the VM's MAC address.

After creating a VSI interface or VSI aggregate interface, you can enter VSI interface view or VSI aggregate interface view by executing the interface command.

Examples

# Create a VSI interface on S-Channel 1/0/1:10, with VSI local ID 1 and the association property.

<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10
[Sysname-S-Channel1/0/1:10] evb vsi 1 association

# Create a VSI aggregate interface on Schannel-Aggregation 1:10, with VSI local ID 1 and the association property.

<Sysname> system-view
[Sysname] interface schannel-aggregation 1:10
[Sysname–Schannel-Aggregation1:10] evb vsi 1 association

Related commands