800 VLAN Commands
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
vlan association mac

mac-address vlanid

no vlan association mac
mac-address
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
vlan association subnet

ip-address subnet-mask vlanid

no vlan association subnet
ip-address subnet-mask
2CSPC4.XCT-SWUM2XX1.book Page 800 Monday, October 3, 2011 11:05 AM