Chapter 19
| VLAN Commands
Configuring MAC Based VLANs
– 479 –
show interfaces
protocol-vlan
protocol-group
This command shows the mapping from protocol groups to VLANs for the selected
interfaces.
Syntax
show interfaces protocol-vlan protocol-group
[interface]
interface
ethernet
unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
port-channel
channel-id (Range: 1-8)
Default Setting
The mapping for all interfaces is displayed.
Command Mode
Privileged Exec
Example
This shows that traffic entering Port 1 that matches the specifications for protocol
group 1 will be mapped to VLAN 2:
Console#show interfaces protocol-vlan protocol-group
Port Protocol Group ID VLAN ID Priority
-------- ----------------- ------- --------
Eth 1/1 1 vlan2 0
Console#
Configuring MAC Based VLANs
When using IEEE 802.1Q port-based VLAN classification, all untagged frames
received by a port are classified as belonging to the VLAN whose VID (PVID) is
associated with that port.
When MAC-based VLAN classification is enabled, the source address of untagged
ingress frames are checked against the MAC address-to-VLAN mapping table. If an
entry is found for that address, these frames are assigned to the VLAN indicated in
the entry. If no MAC address is matched, the untagged frames are classified as
belonging to the receiving port’s VLAN ID (PVID).
Table 99: MAC Based VLAN Commands
Command Function Mode
mac-vlan Defines the IP Subnet VLANs GC
show mac-vlan Displays IP Subnet VLAN settings PE