Zte Cli
Zte Cli
Caderno de Comandos
(CLI Book)
Matheus R A Plastino
v 2.4
GERENCIA OUTBAND
ZXAN(config)# interface mng1
ZXAN(config-if)# ip address 192.168.99.2 255.255.255.0
GERENCIA INBAND
ZXAN(config)# vlan 4000
ZXAN(config-vlan)# exit
ZXAN(config)# interface vlan 4000
ZXAN(config-if)# ip address 192.168.99.2 255.255.255.0
ZXAN(config-if)# exit
ZXAN(config)# ip route 0.0.0.0 0.0.0.0 192.168.99.1
VERIFICAR CARDS
ZXAN(config)# show card
HABILITAR SSH
ZXAN(config)# ssh server enable
MUDANDO HOSTNAME
ZXAN(config)# hostname OLT_001
AUTORIZANDO ONUs
ZXAN(config)# interface gpon-olt_1/2/1
ZXAN(config-if)# onu 1 type ZTE-F643 sn ZTEGC65152F5
CRIANDO PROFILES DE IP
ZXAN(config-gpon)# onu profile ip STATIC gateway 192.168.7.1 primary-dns 192.168.7.1
VERIFICANDO ALARMES
ZXAN(config)# show alarm pool
ATUALIZANDO ONUs
ZXAN(config)# interface mng1
ZXAN(config-if)# boot-server 192.168.99.1
ZXAN(config-if)# boot-username gpon
ZXAN(config-if)# boot-password gpon
ZXAN# cpe update-and-reboot f62xp2t4.bin gpon-olt_1/2/1 1
ZXAN# cpe update-and-reboot f62xp2t4.bin type ZTE-F660
ZXAN(config)# show cpe update-status gpon-olt_1/2/1 1
ZXAN# show cpe information gpon-olt_1/2/1 1
ATUALIZANDO A OLT
ZXAN(config)# interface mng1
ZXAN(config-if)# ip 192.168.99.10
ZXAN(config-if)# boot-server 192.168.99.1
ZXAN(config-if)# boot-username gpon
ZXAN(config-if)# boot-password gpon
ZXAN# write
ZXAN# reboot
//stop boot
#p
#c
//reboot
ZXAN# file download version scxn.fw
ZXAN# file download version scxn_lx.mvr
ZXAN# file download version scxn.bt
ZXAN# show version-saved master
ZXAN# show card
ZXAN# show version-running
ZXAN# update-boot slotno 10
ZXAN# reboot
ZXAN# show version-running
HABILITANDO AUTO-WRITE
ZXAN(config)# show auto-write
ZXAN(config)# auto-write enable
ZXAN(config)# auto-write 03:00:00 nov 1 2017
BACKUP DA OLT
ZXAN(config)# file-server auto-backup all server-index 1 ftp ipaddress 192.168.99.1 path bak user zte
password zte
ZXAN(config)# auto-backup condition cfg-changed hold-off-time 1 max-hold-off-time 2
ZXAN(config)# file-server manual-backup cfg server-index 1 ftp ipaddress 192.168.99.2 user zte
password
ZXAN# manual-backup all
ZXAN(config)# show file-server auto-backup
MANIPULANDO WIFI
ZXAN#(gpon-onu-mng 1/1/16:2)# wifi enable channel 11 tx-power-percent 100
ZXAN#(gpon-onu-mng 1/1/16:2)# ssid auth wpa wifi_0/1 wpa2-psk encrypt aes key SenhaWIFI123
ZXAN#(gpon-onu-mng 1/1/16:2)# ssid ctrl wifi_0/1 name NOMESSID
CONFIGURANDO OPTION82
ZXAN(config)# dhcp-option82 enable
ZXAN(config)# vlan 200
ZXAN(config)# ip dhcp snooping
ZXAN(config)# port-location access-node-identifier inband-mac
ZXAN(config)# port-location hostname OLT_LAB_001
ZXAN(config)# port-location flexible-syntax enable
ZXAN(config)# interface gpon-onu_1/2/1:1
ZXAN(config)# switchport mode hybrid vport 1
ZXAN(config)# switchport vlan 200 tag vport 1
ZXAN(config)# ip dhcp snooping enable vport 1
ZXAN(config)# ip access-group 300 in vport 1
ZXAN(config)# hcp-option82 enable vport 1
ZXAN(config)# dhcp-option82 trust true replace vport 1
ZXAN(config)# port-location format dsl-forum vport 1
ZXAN(config)# port-location sub-option remote-id enable vport 1
ZXAN(config)# port-location sub-option remote-id name ZTEGC0A2B93C vport 1
HABILITAR PON PROTECTION
ZXAN(config)# pon
ZXAN(config-pon)# clear gpon-olt_1/1/2
ZXAN(config-pon)# protection group zte workpon gpon-olt_1/1/1 protectpon gpon-olt_1/1/2 typeB
ZXAN(config-pon)# protection prop group zte mode revertive wtr 120
ZXAN(config-pon)# protection switch-command group zte force w2p
ZXAN(config-pon)# show protection group information zte