Administrator Guide

Layer 2 Switching Commands 842
Default Configuration
No assigned MAC address.
Command Mode
VLAN Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example associates MAC address with VLAN ID 1.
console(config)# vlan 1
console(config-vlan-1)#vlan association mac 0001.0001.0001
vlan association subnet
Use the vlan association subnet command in VLAN Configuration mode to
associate a VLAN to a specific IP-subnet. Only packets with a matching
source IP address are placed into the VLAN.
Syntax
vlan association subnet
ip-address subnet-mask
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)
Default Configuration
No assigned ip-subnet.
Command Mode
VLAN Configuration mode
User Guidelines
This command has no user guidelines.
2CSNXXX_SWUM204.book Page 842 Monday, January 25, 2016 1:25 PM