HP 6125XLG R2306-HP 6125XLG Blade Switch EVB Configuration Guide - Page 11

Configuring VSI filters

Page 11 highlights

To create a VSI: Step 1. Enter system view. 2. Enter S-channel interface view. 3. Create a VSI. Command system-view interface s-channel interface-number:channel-id evb vsi vsi-local-id { association | pre-association } Remarks N/A N/A By default, no VSI exists on an S-channel. Configuring VSI filters A VSI filter contains a set of VID values (VLAN information) or a set of MAC and VID values (). 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 VSI filters by performing this task. Follow these guidelines when you configure VSI filters for VSIs on an S-channel: • Before the configuration, make sure the S-channel where you configure a VSI filter operates in trunk mode. Otherwise, the configuration fails. • After you configure a VSI filter on a VSI, an S-channel interface automatically permits the VLAN that is configured in the VSI filter for the subordinate VSI. The same rule takes effect on Layer 2 interfaces associated with S-channels. • After you delete a VSI filter that contains information about a VLAN on a VSI, if other VSI filters on all VSIs of an S-channel interface do not contain the VLAN, the S-channel interface automatically denies traffic from the VLAN that is configured on the VSI filter. The same rule takes effect on Layer 2 interfaces associated with S-channels. • When a filter configured on a VSI contains information about a VLAN, you cannot configure the filter on the same VSI again or on other VSIs of the S-channel interface to which the VSI belongs. Otherwise, the system displays an error. • If the VSI filter is a set of VID values, and the MAC address learning function for the corresponding S-channel is disabled, traffic for the VSI cannot be forwarded. • Activate a VSI after configuring a VSI filter, and deactivate a VSI before removing a VSI filter. To configure a VSI filter for a VSI: Step 1. Enter system view. 2. Enter VSI view. 3. Configure a VSI filter. Command Remarks system-view N/A interface s-channel interface-number:channel-id.vsi-loc al-id N/A evb vsi filter vlan vlan-id [ mac mac-address ] By default, no VSI filter is configured. 8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

8
To create a VSI:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter S-channel interface
view.
interface
s-channel
interface-number
:
channel-id
N/A
3.
Create a VSI.
evb vsi
vsi-local-id
{
association
|
pre-association
}
By default, no VSI exists on an
S-channel.
Configuring VSI filters
A VSI filter contains a set of VID values (VLAN information) or a set of MAC and VID values (<MAC,
VLAN>). 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 VSI filters by performing this task.
Follow these guidelines when you configure VSI filters for VSIs on an S-channel:
Before the configuration, make sure the S-channel where you configure a VSI filter operates in trunk
mode. Otherwise, the configuration fails.
After you configure a VSI filter on a VSI, an S-channel interface automatically permits the VLAN that
is configured in the VSI filter for the subordinate VSI. The same rule takes effect on Layer 2 interfaces
associated with S-channels.
After you delete a VSI filter that contains information about a VLAN on a VSI, if other VSI filters on
all VSIs of an S-channel interface do not contain the VLAN, the S-channel interface automatically
denies traffic from the VLAN that is configured on the VSI filter. The same rule takes effect on Layer
2 interfaces associated with S-channels.
When a filter configured on a VSI contains information about a VLAN, you cannot configure the
filter on the same VSI again or on other VSIs of the S-channel interface to which the VSI belongs.
Otherwise, the system displays an error.
If the VSI filter is a set of VID values, and the MAC address learning function for the corresponding
S-channel is disabled, traffic for the VSI cannot be forwarded.
Activate a VSI after configuring a VSI filter, and deactivate a VSI before removing a VSI filter.
To configure a VSI filter for a VSI:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
interface
s-channel
interface-number
:
channel-id
.
vsi-loc
al-id
N/A
3.
Configure a VSI filter.
evb vsi filter vlan
vlan-id
[
mac
mac-address
]
By default, no VSI filter is
configured.