一、配置客户端数据通过网关转发,每vlan都要配置,以vlan13为例;以及全局模式配置广播的限制
ip-service mac-forced-forwarding enable
ip-service mac-forced-forwarding vlan 13 gateway 172.16.13.254
control-panel
packet-limit all 1000
二、为ONU配置两个通道透传vlan 13和vlan 1数据
interface gpon-onu_1/2/1:10
name NET_Ceshi
description NET_Ceshi
sn-bind enable sn
tcont 1 name NET-HYWL profile T-80M
gemport 1 name NET-HYWL unicast tcont 1 dir both
encrypt 1 enable downstream
switchport mode hybrid vport 1
service-port 1 vport 1 user-vlan 13 vlan 13
service-port 2 vport 1 user-vlan 1 vlan 1
!
三、配置ONU远程IP,不限制广播包
pon-onu-mng gpon-onu_1/2/1:10
mgmt-ip 172.16.100.100 255.255.255.0 vlan 1 priority 7 route 0.0.0.0 0.0.0.0
172.16.100.35 host 1
service yewu gemport 1
no broadcast-limit cpu
vlan port eth_0/1 mode tag vlan 13
vlan port eth_0/2 mode tag vlan 13
vlan port eth_0/3 mode tag vlan 13
vlan port eth_0/4 mode tag vlan 13
vlan port eth_0/5 mode tag vlan 13
vlan port eth_0/6 mode tag vlan 13
vlan port eth_0/7 mode tag vlan 13
vlan port eth_0/8 mode tag vlan 13
!
四、登陆远程ONU,关闭端口隔离
ZXAN#telnet 172.16.100.100
Login:admin
Password:admin
ZXAN>enable
Please input password:admin
ZXAN# configure
ZXAN(config)# eth-switch port-protect disable