Scenario
VLAN Plan
VLAN Translation Policy
Scenario 2
Single VLAN tag
l
S-VLAN ID: 300
l
S-VLAN type: smart
l
S-VLAN attribute: common
l
C-VLAN ID: 3001
ONU: Configure a VLAN for all
ONUs and add the same C-
VLAN tag to packets. All ONUs
are in the same C-VLAN.
OLT: The OLT switches
between C-VLAN tags and S-
VLAN tags (C-VLAN is
different from the planned S-
VLAN).
Scenario 1:
Configure the mapping between a GEM port and a VLAN. The service flow of user VLAN 300
is mapped to GEM port 12 in the ONU line profile.
huawei(config)#
ont-lineprofile gpon profile-name ftto_line
huawei(config-gpon-lineprofile-1)#
gem mapping 12 2 vlan 300
huawei(config-gpon-lineprofile-1)#
commit
huawei(config-gpon-lineprofile-1)#
quit
Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 300.
huawei(config)#
vlan 300 smart
huawei(config)#
port vlan 300 0/19 0
Create service flows. Set the service VLAN to 300, GEM port ID to 12, and user VLAN to 300,
and use traffic profile
ftto_voip
.
huawei(config)#
service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftto_voip outbound traffic-table name
ftto_voip
huawei(config)#
service-port vlan 300 gpon 0/1/0 ont 2 gemport 12 multi-service
user-vlan 300 inbound traffic-table name ftto_voip outbound traffic-table name
ftto_voip
Scenario 2:
Configure the mapping between a GEM port and a VLAN. The service flow of user VLAN 3001
is mapped to GEM port 12 in the ONU line profile.
huawei(config)#
ont-lineprofile gpon profile-name ftto_line
huawei(config-gpon-lineprofile-1)#
gem mapping 12 2 vlan 3001
huawei(config-gpon-lineprofile-1)#
commit
huawei(config-gpon-lineprofile-1)#
quit
Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 300.
huawei(config)#
vlan 300 smart
huawei(config)#
vlan attrib 300 stacking
huawei(config)#
port vlan 300 0/19 0
Create service flows. Set the service VLAN to 300, GEM port ID to 12, and user VLAN to 3001.
Use traffic profile
ftto_voip
.
huawei(config)#
service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service
user-vlan 3001 tag-transform translate inbound traffic-table name ftto_voip
outboun
d traffic-table name ftto_voip
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
12 FTTO Configuration(SOHO and SME)
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1116