username:zte

password:zte

/EPON宽带配置**/

ZXAN#con t

Enter configuration commands, one per line. End with CTRL/Z.

ZXAN(config)#

//配置ONU模版---------------

ZXAN(config)#pon

ZXAN(config-pon)#onu-type TDTC-201E epon speed 10g-asymmetric description 4FE, 2 POTS

ZXAN(config-pon)#onu-type-if HG4-2E eth_0/1-4

ZXAN(config-pon)#onu-type-if HG4-2E pots_0/1-2

ZXAN(config-pon)#show onu-type epon HG4-2E

Onu type name: HG4-2E

Pon type: epon

Description: 4FE,2POTS

Protect type: none

Speed: 10g-asymmetric

ZXAN(config-pon)#exit

ZXAN(config)#

//进入EPON配置模式,禁止该ONU类型的自动下发功能

ZXAN(config)#epon

ZXAN(config-epon)#auto-dispatch-set TDTC-201E disable

//授权----------------------

//授权模式修改

ZXAN(config-epon)#onu-authentication-mode service 1/4 hybrid

ZXAN(config-epon)#show epon authentication-mode 1/4

ZXAN(config-pon)#exit

//查看未授权

ZXAN(config)#show onu unauthentication [epon-olt_1/4/8]

ZXAN(config)#show running-config interface epon-olt_1/4/8

//认证ONU

ZXAN(config)#interface epon-olt_1/4/8

ZXAN(config-if)#onu 1 type ZTE-F420 mac 00d0.d09a.46b6

ZXAN(config-if)#exit

//(可选)查看ONU信息。

ZXAN(config-if)#show onu all-status epon-olt_1/4/8

ZXAN(config)#show onu detail-info epon-onu_1/4/8:1

ZXAN(config)#show mac 00d0.d09a.46b6

//上联数据----------------------

ZXAN(config)#interface gei_1/19/3

show vlan port gei_1/19/3

ZXAN(config-if)#

//上联口绑定VLAN将19槽位3号上联口绑定vlan 666

ZXAN(config-if)#switchport mode hybrid

ZXAN(config-if)#switchport vlan 666 tag

ZXAN(gpon-onu-mng)#exit

ZXAN(config)#

//PON口数据------------------------

ZXAN(config)#interface epon-onu_1/4/8:1

ZXAN(config-if)#switchport mode trunk

ZXAN(config-if)#switchport vlan 666 tag

//查询PON-ONU接口的vlan信息:

ZXAN(config-if)#show vlan port epon-onu_1/4/8:1

ZXAN(config-if)#show running-config interface epon-onu_1/4/8:1

ZXAN(config-if)#exit

ZXAN(config)#

//ONU端口配置-------------------

//ONU端口VLAN配置

ZXAN(config)#pon-onu-mng epon-onu_1/4/8:1

ZXAN(epon-onu-mng)#vlan port eth_0/1 mode tag vlan 666 priority 0

ZXAN(gpon-onu-mng)#exit

ZXAN(config)#show onu running config epon-onu_1/4/8:1

ZXAN(config)#

//带宽模版---------------------

ZXAN(config)#interface epon-onu_1/4/8:1

ZXAN(config-if)# sla upstream assured 100000 maximum 1000000

ZXAN(config-if)#sla downstream maximum 1000000

ZXAN(config-if)#exit

ZXAN(config)#show onu sla upstream epon-onu_1/4/8:1

ZXAN(config)#show onu sla downstream epon-onu_1/4/8:1

/GPON宽带配置**/

上联业务vlan48,用户vlan100

//配置ONU模版---------------

ZXAN(config)#pon

ZXAN(config-pon)#onu-type G103 gpon speed 10g-asymmetric description 1FE

ZXAN(config-pon)#onu-type-if HG4-2E eth_0/1

ZXAN(config-pon)#show onu-type gpon G103

ZXAN(config-pon)#show onu-ty

Logo

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。

更多推荐