Administrator Guide

Layer 2 Switching Commands 821
show vlan association mac
Use the show vlan association mac command in Privileged Exec mode to
display the VLAN associated with a specific configured MAC address. If no
MAC address is specified, the VLAN associations of all the configured MAC
addresses are displayed.
Syntax
show vlan association mac [
mac-address
]
mac-address
— Specifies the MAC address to be entered in the list.
(Range: Any valid MAC address)
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Configuration mode and all Configuration submodes
User Guidelines
MAC Address—The configured MAC address
VLAN —The associated VLAN identifier
Example
The following example shows no entry in MAC address to VLAN cross-
reference.
console#show vlan association mac
MAC Address VLAN ID
----------------------- -------
0001.0001.0001.0001 1
show vlan association subnet
Use the show vlan association subnet command in Privileged Exec mode to
display the VLAN associated with a specific configured IP-Address and
netmask. If no IP Address and net mask are specified, the VLAN associations
of all the configured IP-subnets are displayed.
2CSNXXX_SWUM204.book Page 821 Monday, January 25, 2016 1:25 PM