The total of the VLANs having been processed is 2
The total of the port VLAN(s) having been added is 2
Step 4
Add service ports to VLANs.
Create service ports for users 1, 2, 3, and 4, and then add the service ports to VLAN 100 and
VLAN 101.
huawei(config)#
service-port 1 vlan 100 vdsl mode ptm 0/1/0 multi-service user-encap
pppoe
rx-cttr 6 tx-cttr 6
huawei(config)#
service-port 2 vlan 100 vdsl mode ptm 0/1/1 multi-service user-
encap pppoe
rx-cttr 6 tx-cttr 6
huawei(config)#
service-port 3 vlan 101 vdsl mode ptm 0/1/2 multi-service user-encap
pppoe
rx-cttr 6 tx-cttr 6
huawei(config)#
service-port 4 vlan 101 vdsl mode ptm 0/1/3 multi-service user-encap
pppoe
rx-cttr 6 tx-cttr 6
Step 5
Set the inner VLAN tag.
The inner VLAN tag is used to identify the user. An inner VLAN tag under the same ISP must
be unique. The VLAN tags under different ISPs can be the same with each other.
huawei(config)#
display service-port all
{ <cr>|sort-by<K>||<K> }:
Command:
display service-port all
-------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA
-------------------------------------------------------------------------
0 100 stacking vdl 0/1/ 0 - - encap pppoe 6 6 up
1 100 stacking vdl 0/1/ 1 - - encap pppoe 6 6 up
2 101 stacking vdl 0/1/ 2 - - encap pppoe 6 6 up
3 101 stacking vdl 0/1/ 3 - - encap pppoe 6 6 up
-------------------------------------------------------------------------
Total : 4 (Up/Down : 4/0)
huawei(config)#
stacking label service-port 1 11
huawei(config)#
stacking label service-port 2 12
huawei(config)#
stacking label service-port 3 11
huawei(config)#
stacking label service-port 4 12
NOTE
In the actual configuration, the index of the traffic stream may vary according to the number of traffic
streams in the system. You only need to ensure that the actual index corresponds to the inner VLAN tag.
Step 6
Save the data.
huawei(config)#
save
----End
Result
l
After being authenticated by the ISP 1 BRAS, users 1 and 2 can obtain the services provided
by ISP 1.
l
After being authenticated by the ISP 2 BRAS, users 3 and 4 can obtain the services provided
by ISP 2.
SmartAX MA5616 Multi-service Access Module
Configuration Guide
8 Configuration Example of Services on the MA5616
Through GPON Upstream Transmission
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
371