Run the
display traffic table ip
command to query existing traffic profiles in the
system. If the traffic profiles existing in the system do not meet the requirements, you
need to run the
traffic table ip
command to add a traffic profile.
Set the profile ID to ftto_hsi, the CIR to 4 Mbit/s, and the priority to 0. In addition,
configure the scheduling mode so that packets are scheduled according to their
priorities.
huawei(config)#
traffic table ip name ftto_hsi cir 4096 priority 0 priority-
policy local-setting
2.
Configure the mapping between a GEM port and a VLAN. Create a service VLAN
and a service flow.
Table 12-36
Scenario plan
Scenario
VLAN Plan
VLAN Translation Policy
gateway ONU
Double-tagged
VLAN
l
S-VLAN ID: 100
l
S-VLAN type:
smart
l
S-VLAN
attribute:
stacking
l
C-VLAN ID:
1001
l
C'-VLAN ID:
1010-1011
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
the C-VLAN tag and the S-VLAN
+C'-VLAN tag. All ONUs are in
different C-VLANs.
Configure the mapping between a GEM port and a VLAN. The service flow of user
VLAN 1001 is mapped to GEM port 14 in the ONU line profile.
huawei(config)#
ont-lineprofile gpon profile-name ftto_line
huawei(config-gpon-lineprofile-1)#
gem mapping 14 0 vlan 1001
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 100.
huawei(config)#
vlan 100 smart
huawei(config)#
vlan attrib 100 stacking
huawei(config)#
port vlan 100 0/19 0
Create service flows. Set the service VLAN to 100, GEM port ID to 14, and user
VLAN to 1001, and use traffic profile ftto_hsi.
huawei(config)#
service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-
service
user-vlan 1001 tag-transform translate-and-add inner-vlan 1010 inbound
traffic-table name
ftto_hsi outbound traffic-table name ftto_hsi
huawei(config)#
service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-
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.
1195