![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644711.webp)
VLAN Commands
4-333
4
Command Mode
Global Configuration
Command Usage
• The MAC-to-VLAN mapping applies to all ports on the switch.
• Source MAC addresses can be mapped to only one VLAN ID.
• Configured MAC addresses cannot be broadcast or multicast addresses.
• When MAC-based, IP subnet-based, and protocol-based VLANs are
supported concurrently, priority is applied in this sequence, and then
port-based VLANs last.
Example
The following example assigns traffic from source MAC address 00-00-00-11-22-33
to VLAN 10.
show mac-vlan
This command displays MAC address-to-VLAN assignments.
Command Mode
Privileged Exec
Command Usage
Use this command to display MAC address-to-VLAN mappings.
Example
The following example displays all configured MAC address-based VLANs.
Console(config)#mac-vlan mac-address 00-00-00-11-22-33 vlan 10
Console(config)#
Console#show mac-vlan
MAC address VLAN ID
------------------- ---------
00-00-00-11-22-33 10
Console#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......