Configuring mac-based vlans, Figure 3-136, Ip subnet vlan configuration – LevelOne FGL-2870 User Manual

Page 292

Advertising
background image

Configuring the Switch

3-238

3

Web – Click VLAN, IP Subnet VLAN, Configuration. Enter the IP address, subnet
mask, and the VLAN to which matching frames will be forwarded. Then click Apply.

Figure 3-136 IP Subnet VLAN Configuration

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)

Console(config)#subnet-vlan subnet 192.168.1.0 255.255.255.0 vlan 2

4-325

Console(config)#

Advertising