OLT开局配置
提示符 > Password: 命令
enable
zxr10 密码
ZXAN# ZXAN# ZXAN# ZXAN# ZXAN# ZXAN# ZXAN(config)# OLT(config)# OLT(config)# OLT(config)# OLT# OLT# OLT# s
OLT (config)# OLT (config)# OLT (config)# OLT (config)# OLT (config)# OLT# OLT# OLT(config)# OLT(config-if)# OLT(config-if)# OLT# OLT# OLT(config)# OLT(config-if)# OLT(config-if)# OLT(config-if)# OLT(config)# OLT(config-if)# OLT(config-if)# OLT# OLT# OLT(config)#
dir 查询flash保存的文件目录 cd cfg 进入配置文件夹cfg del cfg *.* Reboot 重启
Show run
conf t 全局模式
hostname OLT 进入OLT
username zte password zte private 10 //远程登录用户名和密码 Enable secret zte //enable密码 exit
show run
show card 查看设备 conf t 全局
add-rack rackno 0 racktype ZXPON 添加机架
add-shelf shelfno 0 shelftype ZXA10C200-A 添加机框 show card //直到EPFC卡出现在real硬件中
add-card slotno 2 EPFC 在2号槽添加EPFC板 Master-backup enable rackno 0 shelfno 0 删除主控板
show card //直到所有EPFC、EC4GM卡出现在ctgtype和realtype中 Write保存
Conf t
inter epon-olt_0/1/2 进入端口0/1/2
Show onu-type end
Show onu unauth epon-olt_0/2/1 //查看ONU interface和MAC address Conf t
inter epon-olt_0/1/2
onu 1 type ZTE-D420 mac 001e.73e5.fb62
Show onu unauth epon-olt_0/2/1 //直到no relate information to show exit
inter epon-onu_0/2/1:1 Authentication enable end
show onu detail-info epon-onu_0/2/1:1
//直到adminstate为enable,Regstate为Registered Conf t
snmp-server host 192.168.88.100 trap version 2c zte enable NOTI server-index 1
// 网管信息上传到192.168.88.100
OLT(config-if)# OLT# OLT# OLT# OLT(config)# OLT(config)# OLT# OLT# OLT(config)# OLT(config-vlan)# OLT(config)# OLT(config-if)# OLT(config-if)# OLT(config)# OLT(config-if)# OLT(config-if)# OLT(config-if)# OLT(config)# OLT(config-if)# OLT(config-if)# OLT(config-if)# OLT(config-if)# OLT(config-if)# OLT# OLT(config)# OLT(config-onu-mng)#
OLT(config-onu-mng)# OLT# OLT# OLT(config)# OLT(config-onu-mng)# OLT(config-onu-mng)# OLT(config-onu-mng)# OLT(config-onu-mng)# OLT(config-onu-mng)# OLT(config-onu-mng)# OLT(config)# OLT# CISCO>
show run //保证有snmp trap信息
conf t
show nvram run conf t
nvram mng-ip-add 192.168.40.1 255.255.255.0 //带外网管IP exit
show nvram run conf t vlan 88 exit
interface vlan 88
ip add 192.168.88.1 255.255.255.0 //带内网管IP
exit
inter epon-onu_0/2/1:1
switchport mode hybrid //或trunk
switchport vlan 10,50,88,100 tag // 语音、视频、上网数据、网管 show run //保证epon-onu_0/2/1:1接口的vlan inter gei_0/4/4
switchport mode hybrid //或trunk switchport vlan 10,50,88,100 tag shutdown
no shutdown //确保上联口up end
Conf t
pon-onu-mng epon-onu_0/2/1:1
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,并指定静态路由 end
Ping 192.168.88.11 //保证OLT与ONU连通 Conf t
pon-onu-mng epon-onu_0/2/1:1
Vlan port eth_0/1 mode tag vlan 10 priority 6
Vlan port eth_0/1 mode tag vlan 0 priority 4
Vlan port eth_0/2 mode tag vlan 50 priority 4
Vlan port eth_0/2 mode tag vlan 0 priority 5
Vlan port eth_0/3 mode tag vlan 100 priority 5
exit exit
write
enable //如何切换成CISCO?
CISCO # CISCO(config) # CISCO(config-vlan) # CISCO(config) # CISCO(config-vlan) # CISCO(config) # CISCO(config-vlan) # CISCO(config) # CISCO(config-vlan) # CISCO(config) # CISCO(config-if) # CISCO(config-if) # CISCO(config) # CISCO(config-if) # CISCO(config-if) # CISCO(config) # CISCO(config-if) # CISCO(config-if) # CISCO # CISCO # CISCO # CISCO> CISCO # CISCO # CISCO(config) # CISCO(config) # CISCO(config) # C ISCO # C ISCO # CISCO(config) # CISCO(config-range) # CISCO(config-range) # CISCO(config-range) # C ISCO # C ISCO #
conf t Vlan 10 exit vlan 50 exit vlan 88 exit vlan 100 exit inter f0/4 Sw mode trunk Sw trunk allow all inter f0/5
Sw mode access Sw access vlan 50 inter f0/10 Sw mode access Sw access vlan 100
show run // f0/1 in vlan100,Access口;f0/2 in vlan50,Access口erase startup-config reload
enable
show vlan //vlan50含f0/2,vlan88, vlan100含f0/1,f0/23, vlan200 conf t
vlan database
no vlan 50 88 100 200 end
show vlan //确保vlan清空 conf t
interface range fastethernet 0/1-24 Sw mode access Sw access vlan 1 end
show vlan Show ip in b
C ISCO # CISCO(config) # OLT# OLT(config)# OLT(config-vlan)# OLT(config)#
Ingter f0/4
conf t
conf t
vlan 200 //VOIP业务 exit
Show vlan summary