《中兴GPON-620开通脚本》由会员分享,可在线阅读,更多相关《中兴GPON-620开通脚本(4页珍藏版)》请在金锄头文库上搜索。
1、以南新华中兴C220为例telnet 10.1.100.3。登陆互相应的OLTTrying 10.1.100.3 .Press CTRL+K to abortConnected to 10.1.100.3 .*Welcome to ZXAN product C220 of ZTE Corporation*Username:zte.输入用户名Password:zte.输入密码nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/5/1.查看ONT从哪个口上来的%Code 32310-GPONSRV : No related information t
2、o show.nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/5/2%Code 32310-GPONSRV : No related information to show.nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/5/3%Code 32310-GPONSRV : No related information to show.nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/5/4%Code 32310-GPONSRV : No rel
3、ated information to show.nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/4/1%Code 32310-GPONSRV : No related information to show.nanxinhua_zte_c220#show gpon onu uncfg gpon-olt_0/4/2.本例是从0/4/2口上来的ONT:SN ZTEGC010105EOnuIndex Sn State-gpon-onu_0/4/2:1 ZTEGC010105E unknownnanxinhua_zte_c220#show gpon
4、 onu uncfg gpon-olt_0/4/2OnuIndex Sn State-gpon-onu_0/4/2:1 ZTEGC010105E unknownnanxinhua_zte_c220#show running-config interface gpon-olt_0/4/2.查看0/4/2口用到第几个ONT了,接着把没注册的ONT注册上Building configuration.!interface gpon-olt_0/4/2name OLT-2auto-learning disableonu 1 type ZTEG-F620 sn ZTEG72005038onu 2 type
5、 ZTEG-F620 sn ZTEG72005471onu 3 type ZTEG-F620 sn ZTEG7200452Fonu 4 type ZTE-F601 sn ZTEG720054DConu 5 type ZTEG-F620 sn ZTEG72005624onu 6 type ZTEG-F620 sn ZTEGC010157Conu 7 type ZTEG-F620 sn ZTEGC01027BD!endnanxinhua_zte_c220(config)#interface gpon-olt_0/4/2.进入相应发现未注册ONT的端口nanxinhua_zte_c220(confi
6、g-if)#onu 8 type ZTEG-F620 sn ZTEGC010105E.注册ONT:SN ZTEGC010105Enanxinhua_zte_c220(config-if)#exitnanxinhua_zte_c220(config)#show vlan-sm.查看0/4/2口用的VLAN方式smart-qinq item num(used): 3Ingress-Port Begin- End- EType Cos Svlan NewCos GroupId StatusVid Vid-gpon-olt_0/1/1 201 2200 - - 201 - - OKgpon-olt_0
7、/1/2 201 2200 - - 201 - - OKgpon-olt_0/2/1 201 2200 - - 201 - - OKnanxinhua_zte_c220(config)#nanxinhua_zte_c220(config)#interface gpon-onu_0/4/2:8.进入相应的端口nanxinhua_zte_c220(config-if)#tcont 2 name kd profile up-20m.加载数据service-port vlan 等信息:参照各局的脚本nanxinhua_zte_c220(config-if)# tcont 2 gap mode2nanx
8、inhua_zte_c220(config-if)# tcont 4 name zd profile up-2mnanxinhua_zte_c220(config-if)# tcont 4 gap mode2nanxinhua_zte_c220(config-if)#$ort2 unicast tcont 2 dir both queue 1nanxinhua_zte_c220(config-if)#$imit upstream default downstream down-8mnanxinhua_zte_c220(config-if)#$ort4 unicast tcont 4 dir b
9、oth queue 1nanxinhua_zte_c220(config-if)#$imit upstream default downstream defaultnanxinhua_zte_c220(config-if)# switchport mode hybrid vport 2nanxinhua_zte_c220(config-if)# switchport mode hybrid vport 4nanxinhua_zte_c220(config-if)#$ort 1 vport 2 user-vlan 464 vlan 464 svlan 201nanxinhua_zte_c220(
10、config-if)# service-port 6 vport 4 user-vlan 200 vlan 200nanxinhua_zte_c220(config-if)#exit.退出nanxinhua_zte_c220(config)#pon-onu-mng gpon-onu_0/4/2:8.进入相应的PON端口nanxinhua_zte_c220(gpon-onu-mng)#$1 type internet gemport 2 vlan 464.加载数据:参照各局的脚本nanxinhua_zte_c220(gpon-onu-mng)#$de add up-prio 0 up-vid 4
11、64 down-mode untagnanxinhua_zte_c220(gpon-onu-mng)#$de add up-prio 0 up-vid 464 down-mode untagnanxinhua_zte_c220(gpon-onu-mng)#$de add up-prio 0 up-vid 464 down-mode untagnanxinhua_zte_c220(gpon-onu-mng)#exit.退出nanxinhua_zte_c220(config)#show running-config interface gpon-onu_0/4/2:8.查看刚才配的数据Buildi
12、ng configuration.!interface gpon-onu_0/4/2:8name ONU-2:8description ONU-2:8vport-mode gemport def-map-type 1:1tcont 2 name kd allocid 270 profile up-20mtcont 2 gap mode2tcont 4 name zd allocid 271 profile up-2mtcont 4 gap mode2gemport 2 name gemport2 portid 143 unicast tcont 2 dir both queue 1gempor
13、t 2 traffic-limit upstream default downstream down-8mgemport 4 name gemport4 portid 144 unicast tcont 4 dir both queue 1gemport 4 traffic-limit upstream default downstream defaultswitchport mode hybrid vport 2switchport mode hybrid vport 4service-port 1 vport 2 user-vlan 464 vlan 464 svlan 201 service-port 6 vport 4 user-vlan 200 vlan 200!endnanxinhua_zte_c220(config)#show onu running config gpon-onu_0/4/2:8.查看刚才配的数据pon-onu-mng gpon-onu_0/4/2:8service eth1 type internet gemport 2 vlan 464onu-vlan ethuni eth