![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644304.webp)
Configuring the Switch
3-248
3
CLI
– This example maps all traffic from the IP subnet of 192.168.2.0 to VLAN 2.
Configuring MAC-based VLANs
The MAC-based VLAN feature assigns VLAN IDs to ingress untagged frames
according to source MAC addresses.
When MAC-based VLAN classification is enabled, untagged frames received by a
port are assigned to the VLAN which is mapped to the frame’s source MAC address.
When no MAC address is matched, untagged frames are assigned to the receiving
port’s native VLAN ID (PVID).
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.
Command Attributes
•
MAC Address
– A source MAC address which is to be mapped to a specific VLAN.
The MAC address must be specified in the format xx-xx-xx-xx-xx-xx.
• VLAN ID
– VLAN to which ingress traffic matching the specified source MAC
address is forwarded. (Range: 1-4094)
Web
– Click VLAN, MAC-based VLAN, Configuration. Enter the MAC address, the
VLAN to which matching frames will be forwarded, and then click Apply.
Figure 3-144 MAC-based VLAN Configuration
Console(config)#subnet-vlan subnet 192.168.1.0 255.255.255.0 vlan 2
4-331
Console(config)#
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: ......