Configuring ip subnet vlans – LevelOne FGL-2870 User Manual

Page 291

Advertising
background image

VLAN Configuration

3-237

3

CLI – This example mirrors all traffic entering VLAN 1 to port 28.

Configuring IP Subnet VLANs

When using port-based classification, all untagged frames received by a port are
classified as belonging to the VLAN whose VID (PVID) is associated with that port.

When IP subnet-based VLAN classification is enabled, the source address of
untagged ingress frames are checked against the IP subnet-to-VLAN mapping table.
If an entry is found for that subnet, these frames are assigned to the VLAN indicated
in the entry. If no IP subnet is matched, the untagged frames are classified as
belonging to the receiving port’s VLAN ID (PVID).

Command Usage
• Each IP subnet can be mapped to only one VLAN ID. An IP subnet consists of an

IP address and a mask.

• When an untagged frame is received by a port, the source IP address is checked

against the IP subnet-to-VLAN mapping table, and if an entry is found, the
corresponding VLAN ID is assigned to the frame. If no mapping is found, the PVID
of the receiving port is assigned to the frame.

• The IP subnet cannot be a broadcast or multicast IP address.
• 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
IP Address – The IP address for a subnet. Valid IP addresses consist of four

decimal numbers, 0 to 255, separated by periods.

Subnet Mask – This mask identifies the host address bits of the IP subnet.
• VLAN ID – VLAN to which matching IP subnet traffic is forwarded. (Range: 1-4094)

Console(config)#interface ethernet 1/1

4-220

Console(config-if)#port monitor vlan 1

4-260

Console(config-if)#

Advertising