配置ONU管理IP(红色字体是与一般配置的区别,共4处),此处把管理地址配置在VALN1,也可配置在其它VLAN.

1.在OLT配置相应vlanIP地址:

interface vlan 1

  ip address 172.XX.XXX.37 255.255.255.0//1

2.配置ONU相应VLAN业务透传

ZXAN(config)#

interface gpon-onu_1/2/3:3

name 3

 description test

 tcont 1 name JK-HYWL profile T-50M

 gemport 1 name JK-HYWL unicast tcont 1 dir both

 encrypt 1 enable downstream

 switchport mode hybrid vport 1

 service-port 1 vport 1 user-vlan 198 vlan 198

  service-port 2 vport 1 user-vlan 1 vlan 1    //2

3.配置ONU管理地址,同时透传相应VLAN业务:

pon-onu-mng gpon-onu_1/2/3:3

  mgmt-ip 172.XX.XXX.38 255.255.255.0 vlan 1 priority 0 route0.0.0.0 0.0.0.0 1

72.xx.xxx.35 host 1                  //3

 service 111 gemport 1 vlan 198,1     //4

 vlan port eth_0/1 mode tag vlan 198

 vlan port eth_0/2 mode tag vlan 198

 vlan port eth_0/3 mode tag vlan 198

 vlan port eth_0/4 mode tag vlan 198

 vlan port eth_0/5 mode tag vlan 198

 vlan port eth_0/6 mode tag vlan 198

 vlan port eth_0/7 mode tag vlan 198

 vlan port eth_0/8 mode tag vlan 198