vlanid
— VLAN to associate with subnet. (Range: 1-4093)
Default Configuration
No assigned MAC address.
Command Mode
VLAN Database mode
User Guidelines
The maximum number of MAC-based VLAN associations is 256.
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
no vlan association subnet
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)
•
Default Configuration
No assigned ip-subnet.
Command Mode
VLAN Database mode
User Guidelines
This command has no user guidelines.
Example
The following example associates IP address with VLAN ID 100.
522
ip-address subnet-mask vlanid
ip-address subnet-mask