Configuring ip subnet vlans, Subnet-vlan 806, Table 111: ip subnet vlan commands – Microsens MS453490M Management Guide User Manual

Page 806: Configuring ip subnet, Vlans, Ip s, Vlan

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring IP Subnet VLANs

– 806 –

C

ONFIGURING

IP S

UBNET

VLAN

S

When using IEEE 802.1Q port-based VLAN 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).

subnet-vlan

This command configures IP Subnet VLAN assignments. Use the no form to

remove an IP subnet-to-VLAN assignment.

S

YNTAX

subnet-vlan subnet ip-address mask vlan vlan-id [priority priority]
no subnet-vlan subnet {ip-address mask | all}

ip-address – The IP address that defines the subnet. Valid IP

addresses consist of four decimal numbers, 0 to 255, separated by

periods.
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-4093)
priority – The priority assigned to untagged ingress traffic.

(Range: 0-7, where 7 is the highest priority)

D

EFAULT

S

ETTING

Priority: 0

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

Each IP subnet can be mapped to only one VLAN ID. An IP subnet

consists of an IP address and a subnet 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

Table 111: IP Subnet VLAN Commands

Command

Function

Mode

subnet-vlan

Defines the IP Subnet VLANs

GC

show subnet-vlan

Displays IP Subnet VLAN settings

PE

Advertising