Chapter 56 VLAN
OLT2406 User’s Guide
450
The following section lists the commands for this feature.
56.10.1 VLAN Trunking Setup Commands Example
This example enables VLAN trunking on port msc-1-1.
This example disables VLAN trunking on port msc-1-1.
56.11 Subnet Based VLANs
Subnet based VLANs allow you to group traffic into logical VLANs based on the source IP subnet you
specify. When a frame is received on a port, the OLT checks if a tag is added already and the IP subnet
it came from. The untagged packets from the same IP subnet are then placed in the same subnet
based VLAN. One advantage of using subnet based VLANs is that priority can be assigned to traffic
from the same IP subnet.
For example, an ISP (Internet Service Provider) may divide different types of services it provides to
customers into different IP subnets. Traffic for voice services is designated for IP subnet 172.16.1.0/24,
video for 192.168.1.0/24 and data for 10.1.1.0/24. The OLT can then be configured to group incoming
traffic based on the source IP subnet of incoming frames.
You can then configure a subnet based VLAN with priority 6 and VID of 100 for traffic received from IP
subnet 172.16.1.0/24 (voice services). You can also have a subnet based VLAN with priority 5 and VID of
200 for traffic received from IP subnet 192.168.1.0/24 (video services). Lastly, you can configure VLAN
with priority 3 and VID of 300 for traffic received from IP subnet 10.1.1.0/24 (data services). All untagged
Table 223 Port VLAN Trunking Commands
COMMAND DESCRIPTION M P
interface port-channel <aid>
Enters config-interface mode for the specified
port(s).
aid: <msc|ge|pon>-<slot>-<port> | <
<msc|ge|pon>-<slot>-<port>&&-<port>
Use “msc-1-<port>” for an uplink port (“msc-1-
” applies to the active MSC no matter which slot
it is in).
C13
vlan-trunking
Enables VLAN trunking on ports connected to
other switches or routers (but not ports directly
connected to end users). This allows frames
belonging to unknown VLAN groups to go out
via the VLAN-trunking port.
C13
no vlan-trunking
Disables VLAN trunking on the port(s). C 13
OLT2406# config
OLT2406(config)# interface port-channel msc-1-1
OLT2406(config-interface)# vlan-trunking
OLT2406# config
OLT2406(config)# interface port-channel msc-1-1
OLT2406(config-interface)# no vlan-trunking