中兴OLT配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
OLT开局配置
提示符命令
> enable
Password: zxr10 密码
ZXAN# dir 查询flash保存的文件目录
ZXAN# cd cfg 进入配置文件夹cfg
ZXAN# del cfg *.*
ZXAN# Reboot 重启
ZXAN# Show run
ZXAN# conf t 全局模式
ZXAN(config)# hostname OLT 进入OLT
OLT(config)# username zte password zte private 10 //远程登录用户名和密码
OLT(config)# Enable secret zte //enable密码
OLT(config)# exit
OLT# show run
OLT# show card 查看设备
OLT# conf t 全局
s add-rack rackno 0 racktype ZXPON 添加机架
OLT (config)# add-shelf shelfno 0 shelftype ZXA10C200-A添加机框
OLT (config)# show card //直到EPFC卡出现在real硬件中
OLT (config)# add-card slotno 2 EPFC 在2号槽添加EPFC板
OLT (config)# Master-backup enable rackno 0 shelfno 0 删除主控板
OLT (config)# show card //直到所有EPFC、EC4GM卡出现在ctgtype和realtype中OLT# Write保存
OLT# Conf t
OLT(config)# inter epon-olt_0/1/2 进入端口0/1/2
OLT(config-if)# Show onu-type
OLT(config-if)# end
OLT# Show onu unauth epon-olt_0/2/1 //查看ONU interface和MAC address OLT# Conf t
OLT(config)# inter epon-olt_0/1/2
OLT(config-if)# onu 1 type ZTE-D420 mac 001e.73e5.fb62
OLT(config-if)# Show onu unauth epon-olt_0/2/1 //直到no relate information to show OLT(config-if)# exit
OLT(config)# inter epon-onu_0/2/1:1
OLT(config-if)# Authentication enable
OLT(config-if)# end
OLT# show onu detail-info epon-onu_0/2/1:1
//直到adminstate为enable,Regstate为Registered OLT# Conf t
OLT(config)# snmp-server host 192.168.88.100trap version 2c zte enable NOTI server-index 1
// 网管信息上传到192.168.88.100
OLT(config-if)# show run //保证有snmp trap信息
OLT# conf t
OLT# show nvram run
OLT# conf t
OLT(config)# nvram mng-ip-add 192.168.40.1 255.255.255.0 //带外网管IP
OLT(config)# exit
OLT# show nvram run
OLT# conf t
OLT(config)# vlan 88
OLT(config-vlan)# exit
OLT(config)# interface vlan 88
OLT(config-if)# ip add 192.168.88.1 255.255.255.0 //带内网管IP
OLT(config-if)# exit
OLT(config)# inter epon-onu_0/2/1:1
OLT(config-if)# switchport mode hybrid //或trunk
OLT(config-if)# switchport vlan 10,50,88,100 tag // 语音、视频、上网数据、网管OLT(config-if)# show run //保证epon-onu_0/2/1:1接口的vlan OLT(config)# inter gei_0/4/4
OLT(config-if)# switchport mode hybrid //或trunk
OLT(config-if)# switchport vlan 10,50,88,100 tag
OLT(config-if)# shutdown
OLT(config-if)# no shutdown //确保上联口up
OLT(config-if)# end
OLT# Conf t
OLT(config)# pon-onu-mng epon-onu_0/2/1:1
OLT(config-onu-mng)# Mgmt-ip onu-ip 192.168.88.11 255.255.255.0 7 88 mgm-ip 192.168.0.0 255.255.0.0 192.168.88.254 status enable
//远程管理ONU的IP,并指定静态路由
OLT(config-onu-mng)# end
OLT# Ping 192.168.88.11 //保证OL T与ONU连通
OLT# Conf t
OLT(config)# pon-onu-mng epon-onu_0/2/1:1
OLT(config-onu-mng)# Vlan port eth_0/1 mode tag vlan 10 priority 6
OLT(config-onu-mng)# Vlan port eth_0/1 mode tag vlan 0 priority 4
OLT(config-onu-mng)# Vlan port eth_0/2 mode tag vlan 50 priority 4
OLT(config-onu-mng)# Vlan port eth_0/2 mode tag vlan 0 priority 5
OLT(config-onu-mng)# Vlan port eth_0/3 mode tag vlan 100 priority 5
OLT(config-onu-mng)# exit
OLT(config)# exit
OLT# write
CISCO> enable //如何切换成CISCO?
CISCO # conf t
CISCO(config) # Vlan 10
CISCO(config-vlan) # exit
CISCO(config) # vlan 50
CISCO(config-vlan) # exit
CISCO(config) # vlan 88
CISCO(config-vlan) # exit
CISCO(config) # vlan 100
CISCO(config-vlan) # exit
CISCO(config) # inter f0/4
CISCO(config-if) # Sw mode trunk
CISCO(config-if) # Sw trunk allow all
CISCO(config) # inter f0/5
CISCO(config-if) # Sw mode access
CISCO(config-if) # Sw access vlan 50
CISCO(config) # inter f0/10
CISCO(config-if) # Sw mode access
CISCO(config-if) # Sw access vlan 100
CISCO # show run // f0/1 in vlan100,Access口;f0/2 in vlan50,Access口CISCO # erase startup-config
CISCO # reload
CISCO> enable
CISCO # show vlan //vlan50含f0/2,vlan88, vlan100含f0/1,f0/23, vlan200 CISCO # conf t
CISCO(config) # vlan database
CISCO(config) # no vlan 50 88 100 200
CISCO(config) # end
C ISCO # show vlan //确保vlan清空
C ISCO # conf t
CISCO(config) # interface range fastethernet 0/1-24
CISCO(config-range) # Sw mode access
CISCO(config-range) # Sw access vlan 1
CISCO(config-range) # end
C ISCO # show vlan
C ISCO # Show ip in b
Ingter f0/4
C ISCO # conf t
CISCO(config) #
OLT# conf t
OLT(config)# vlan 200 //VOIP业务OLT(config-vlan)# exit
OLT(config)# Show vlan summary。