Zyxel OLT2412 [98/326] Subnet based vlan command examples

Zyxel OLT2412 [98/326] Subnet based vlan command examples
Chapter 9 VLAN
OLT2412 User’s Guide
98
9.11.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.
9.12 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 port 1, 2 and 3 will be grouped together, and all
upstream Apple Talk traffic from port 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.
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.
no subnet-based-vlan
Disables subnet-based VLAN on the OLT.
no subnet-based-vlan source-ip
<ip> mask-bits <mask-bits>
Removes the specified subnet from the subnet-based VLAN
configuration.
no subnet-based-vlan dhcp-vlan-
override
Disables the DHCP VLAN override setting for subnet-based
VLAN(s).
Table 47 Subnet Based VLAN Commands (continued)
COMMAND DESCRIPTION
OLT2412# subnet-based-vlan name subnet1VLAN source-ip 172.16.37.1 mask-bits
--> 24 vlan 200 priority 6
OLT2412(config)# exit
OLT2412# show subnet-vlan
Global Active :Yes
Name Src IP Mask-Bits Vlan Priority Entry Active
----------- ----------- --------- ---- -------- ------------
subnet1VLAN 172.16.37.1 24 200 6 1

Содержание