Intel SBCEGBESW1 Switch User Manual


 
VLAN Commands
376 Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide
Example
The following example maps the MAC address 00:13:20:95:21:AA to macs group 4.
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-id
no 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-vlan)# map mac 00:13:20:95:21:AA host macs-group 4
Console (config-if)# switchport general map macs-group 1 vlan 8