Show subnet-vlan – Microsens MS453490M Management Guide User Manual

Page 807

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring IP Subnet VLANs

– 807 –

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.

E

XAMPLE

The following example assigns traffic for the subnet 192.168.12.192, mask

255.255.255.224, to VLAN 4.

Console(config)#subnet-vlan subnet 192.168.12.192 255.255.255.224 vlan 4

Console(config)#

show subnet-vlan

This command displays IP Subnet VLAN assignments.

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

Use this command to display subnet-to-VLAN mappings.

The last matched entry is used if more than one entry can be matched.

E

XAMPLE

The following example displays all configured IP subnet-based VLANs.

Console#show subnet-vlan

IP address Mask VLAN ID

----------------- ----------------- ---------

192.168.12.0 255.255.255.128 2

192.168.12.128 255.255.255.192 3

192.168.12.192 255.255.255.224 4

192.168.12.224 255.255.255.240 5

192.168.12.240 255.255.255.248 6

192.168.12.248 255.255.255.252 7

192.168.12.252 255.255.255.254 8

192.168.12.254 255.255.255.255 9

192.168.12.255 255.255.255.255 10

Console#

Advertising