vlan association mac
Use the vlan association mac command in VLAN Database mode to associate
a MAC address to a VLAN. The maximum number of MAC-based VLANs is
256.
Syntax
mac-address vlanid
vlan association mac
mac-address
no vlan association mac
mac-address
— MAC address to associate. (Range: Any MAC address in the
format xxxx.xxxx.xxxx)
vlanid
— VLAN to associate with subnet. (Range: 1-4093)
Default Configuration
No assigned MAC address.
Command Mode
VLAN Database mode
User Guidelines
This command has no user guidelines.
Example
The following example associates MAC address with VLAN ID 1.
console(config-vlan)#vlan association mac
0001.0001.0001 1
vlan association subnet
Use the vlan association subnet command in VLAN Database mode to
associate a VLAN to a specific IP-subnet.
Syntax
ip-address subnet-mask vlanid
vlan association subnet
ip-address subnet-mask
no vlan association subnet
748
VLAN Commands