evb vsi filter

Use evb vsi filter to configure a VSI filter.

Use undo evb vsi filter to remove a VSI filter.

Syntax

evb vsi filter [ group group-id ] vlan vlan-id [ mac mac-address ]

undo evb vsi filter [ group group-id ] [ vlan vlan-id [ mac mac-address ] ]

Default

No VSI filter exists.

Views

VSI interface view, VSI aggregate interface view

Predefined user roles

network-admin

Parameters

group group-id: Specifies a group ID that classifies VLAN IDs, in the range of 1 to 4094. When the number of VLANs exceeds 4094, the group ID and VLAN ID together identify a VLAN.

vlan vlan-id: Specifies the VLAN ID in the range of 1 to 4094. The VLAN must exist.

mac mac-address: Specifies the MAC address, which must be a valid unicast MAC address.

Usage guidelines

The EVB bridge uses a VSI filter to identify VSI traffic for a VM. Filters are usually assigned by a VSI manager. You can also manually create or remove a VSI filter by executing this command.

A VSI filter contains a set of VID values, MAC addresses, and group ID values. EVB supports the following filter info formats:

When you configure VSI filters on a VSI interface, follow these guidelines:

When you configure VSI filters on a VSI aggregate interface, follow these guidelines:

Examples

# Configure a VSI filter for VLAN 1 on the VSI interface S-Channel 1/0/1:10.1.

<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10.1
[Sysname–S-Channel1/0/1:10.1] evb vsi filter vlan 1

# Configure a VSI filter for VLAN 1 on the VSI aggregate interface Schannel-Aggregation 1:10.1.

<Sysname> system-view
[Sysname] interface schannel-aggregation 1:10.1
[Sysname–Schannel-Aggregation1:10.1] evb vsi filter vlan 1

Related commands