Reference Guide

VLAN Commands 417
User Guidelines
The associated VLAN cannot be the default VLAN.
Up to 256 MAC addresses can be mapped to a VLAN.
A MAC can be mapped to only one VLAN. If the same MAC is mapped to more than one
VLAN, it is effectively mapped only according to the last mapping.
Example
This example maps MAC address 0060.704c.73ff to VLAN 123.
show vlan mac-to-vlan
The show vlan mac-to-vlan Privileged EXEC mode command displays the MAC-to-VLAN
database.
Syntax
show mac-to-vlan
[
mac-address
]
mac-address
— Specifies the MAC address to be viewed.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example displays the MAC-to-VLAN database.
Console# config
Console(config)# vlan database
Console(config-if)# mac-to-vlan 0060.704c.73ff 123
Console# show vlan mac-to-vlan
MAC Address VLAN
----------- ----