
Chapter 56 VLAN
OLT2406 User’s Guide
452
56.12.1 Subnet-based VLAN Command Examples
This example configures a subnet-based VLAN (
subnet1VLAN
) with priority
6
and a VID of
200
for traffic
received from IP subnet
172.16.37.1/24
.
56.13 Protocol Based VLANs
Protocol based VLANs allow you to group traffic into logical VLANs based on the protocol you specify.
When an upstream frame is received on a port (configured for a protocol based VLAN), the OLT checks
if a tag is added already and its protocol. The untagged packets of the same protocol are then placed
in the same protocol based VLAN. One advantage of using protocol based VLANs is that priority can be
assigned to traffic of the same protocol.
Note: Protocol based VLAN applies to un-tagged packets and is applicable only when you
use IEEE 802.1Q tagged VLAN.
For example, ports 1, 2, 3, and 4 belong to static VLAN 100, and ports 4, 5, 6, 7 belong to static VLAN 120.
You can configure a protocol based VLAN A with priority 3 for ARP traffic received on port 1, 2 and 3.
You can also have a protocol based VLAN B with priority 2 for Apple Talk traffic received on port 6 and
7. All upstream ARP traffic from ports 1, 2, and 3 will be grouped together, and all upstream Apple Talk
traffic from ports 6 and 7 will be in another group and have higher priority than ARP traffic when they go
through the uplink port to a backbone switch C.
subnet-based-vlan name <
name
>
source-ip <
ip
> mask-bits <
mask-
bits
> source-port <
port
> vlan
<
vlan-id
> priority <0-7>
Specifies the name, IP address, subnet mask,
source-port and VLAN ID of the subnet based
VLAN you want to configure along with the
priority you want to assign to the outgoing
frames for this VLAN.
C
13
subnet-based-vlan name <
name
>
source-ip <
ip
> mask-bits <
mask-
bits
> vlan <
vlan-id
> priority <0-7>
inactive
Disables the specified subnet-based VLAN.
C
13
no subnet-based-vlan
Disables subnet-based VLAN on the OLT.
C
13
no subnet-based-vlan source-ip
<
ip
> mask-bits <
mask-bits
>
Removes the specified subnet from the subnet-
based VLAN configuration.
C
13
no subnet-based-vlan dhcp-vlan-
override
Disables the DHCP VLAN override setting for
subnet-based VLAN(s).
C
13
Table 224 Subnet Based VLAN Commands (continued)
COMMAND
DESCRIPTION
M
P
OLT2406# subnet-based-vlan name subnet1VLAN source-ip 172.16.37.1 mask-bits
--> 24 vlan 200 priority 6
OLT2406(config)# exit
OLT2406# show subnet-vlan
Global Active :Yes
Name Src IP Mask-Bits Vlan Priority Entry Active
----------- ----------- --------- ---- -------- ------------
subnet1VLAN 172.16.37.1 24 200 6 1
Summary of Contents for OLT2406
Page 4: ...Document Conventions OLT2406 User s Guide 4 Desktop Laptop Switch IP Phone Smart T V...
Page 32: ...Table of Contents OLT2406 User s Guide 32 Index 758...
Page 33: ...33 PART I Introduction and Hardware Installation...
Page 63: ...63 PART II Web Configurator...
Page 179: ...Chapter 21 Classifier OLT2406 User s Guide 179 Figure 112 Classifier Example...
Page 182: ...Chapter 22 Policy Rule OLT2406 User s Guide 182 Figure 113 Advanced Application Policy Rule...
Page 186: ...Chapter 22 Policy Rule OLT2406 User s Guide 186 Figure 114 Policy Example...
Page 248: ...Chapter 28 Loop Guard OLT2406 User s Guide 248 Figure 151 Advanced Application Loop Guard...
Page 393: ...393 PART III CLI Commands...
Page 581: ...Chapter 78 VoIP OLT2406 User s Guide 581...
Page 725: ...725 PART IV Troubleshooting Specifications Appendices and Index...