10.3、进入 ONU 端口下配置业务端口 VLAN
ZXAN(config)#inter epon-onu_1/2/1:1
ZXAN(config-if)#sla-profile 10M
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#exit
10.4、上行添加VLAN
ZXAN(config)#inter gei_1/19/1
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config)#inter gei_1/19/2
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#switchport default vlan 100
ZXAN(config-if)#exit
10.5、远程 ONU 下配置用户侧 VLAN
由于带 WiFi 的 onu 带有 web 管理界面;在 web 页面上配置 vlan 相当于 untag vlan
ZXAN(config)#pon-onu-mng epon-onu_1/2/1:1
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode transparent
ZXAN(epon-onu-mng)#exit
ZXAN(config)#exit
11、保存配置
ZXAN#write
ZXAN(config)#show running
vlan database
vlan 1,100,200,300
!
!
epon
onu-authentication-mode auth-loid-as-sn 1/2 enable
encrypt algorithm 1/2 triple-churning key-update-period 20 churning-timer 3
onu-sla-profile profile-name create onu-sla-test
onu-sla-profile profile-set onu-sla-test upstream fixed 0 fixedpkt 64 assured 102400 maximum
1024000
ma
xburst 45000 priority 0
onu-sla-profile profile-set onu-sla-test downstream maximum 1024000
onu-sla-profile profile-name create 10M
onu-sla-profile profile-set 10M upstream fixed 0 fixedpkt 64 assured 5000 maximum 10000
maxburst 45000
priority 0
onu-sla-profile profile-set 10M downstream maximum 10000