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)#
Содержание 6152PL2 FICHE
Страница 2: ......
Страница 6: ...vi ...
Страница 8: ...viii ...
Страница 32: ...Tables xxxii ...
Страница 38: ...Figures xxxviii ...
Страница 56: ...Initial Configuration 2 10 2 ...
Страница 378: ...Configuring the Switch 3 322 3 ...
Страница 651: ...Address Table Commands 4 273 4 Example Console show mac address table aging time Aging time 100 sec Console ...
Страница 817: ......
Страница 818: ...SMC6128PL2 SMC6152PL2 149100000007A R01 ...