602 VLAN Commands
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
•
ip-address
— Source IP address. (Range: Any valid IP address)
•
subnet-mask
— Subnet mask. (Range: Any valid subnet mask)
•
vlanid
— VLAN to associated with subnet. (Range: 1-4093)