VLAN Commands

Example

The following example maps the MAC address 00:13:20:95:21:AA to macs group 4.

Console(config-vlan)# map mac 00:13:20:95:21:AA host macs-group4

switchport general map macs-group vlan

Use the switchport general map macs-group vlan interface configuration command to set a mac- based classification rule. Use the no form of this command to delete a classification.

Syntax

switchport general map macs-group group vlan vlan-idno switchport general map macs-group group

Parameters

group - Group numbe. Range:1 - 2147483647

vlan-id- Define the VLAN ID that is associated with the rule.

Default Configuration

This command has no default configuration.

Command Mode

Interface configuration (Ethernet, port-channel)

User Guidelines

MAC based VLAN rules can't contain overlapping ranges on the same interface. The priority between VLAN classification rules is:

1.MAC based VLAN (Best match between the rules)

2.Subnet based VLAN (Best match between the rules)

3.Protocol based VLAN

4.PVID

.

Example

The following example sets a mac-based classification rule.

Console (config-if)#switchport general map macs-group 1 vlan 8

376Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

Page 392
Image 392
Intel SBCEGBESW1 manual Switchport general map macs-group vlan, Console config-if#switchport general map macs-group 1 vlan