ZTE OLT initial steps
In this post you'll find step by step instructions for initial OLT configuration and for setting up the IP connectivity of the ZTE C300, C320, C350, C220 OLTs. After completing these steps, you'll be ready to connect your OLT to SmartOLT.
For setup instructions of the ZTE C6xx Titan series like C600, C610, C620, C650 or C680 please access this link.
1Connect to the OLT
Click to choose how you connect to the OLT
- Ethernet / Telnet or SSH: a network cable to the management port of a factory-new OLT, or the network path of an OLT you can already reach.
- Serial / Console: the original serial cable to the CL1 or CLI port. Use it when the OLT has no account yet or remote access does not work.
Ethernet connection (Telnet or SSH)
- On a factory-new OLT, connect an Ethernet cable to the dedicated (out-of-band) management port. It is labeled 10/100 or MNG and sits near the CL1 or DIAG port. This port is for management only and cannot carry customer traffic. If the OLT is already reachable over your network, keep the existing cabling.
- When you connect directly to the factory IP, configure 136.1.1.1/255.255.255.0 on your PC, or on the MikroTik port connected to the OLT management port.
- Verify connectivity. You should receive replies.
ping 136.1.1.100ping [OLT IP address]
- Connect with PuTTY or from a terminal, using Telnet or SSH.
Telnet sends everything, including the password, as plain text. Use it only on a direct cable or a trusted management network. In PuTTY, select Telnet and enter the OLT IP address.
telnet 136.1.1.100telnet [OLT IP address]
SSH encrypts the session. It works only if the SSH server is enabled on the OLT and the account is allowed to log in over SSH.
PuTTY: Enter the OLT IP address in Host Name (or IP address), select SSH, then click Open. Log in with your OLT username and password.
Terminal (OpenSSH): Run the command below in your computer's terminal.
ssh zte@136.1.1.100ssh [username]@[OLT IP address]
- Log in. On a factory-new OLT the username is zte and the password is zte. On an OLT that is already configured, use its existing account.
************************************************ Welcome to ZXAN product C320 of ZTE Corporation ************************************************ Username: zte Password: zte ZXAN>
Recent C3xx OLTs can ship without any account. If you cannot log in using the default user/pass, or Telnet and SSH do not answer, use the serial console method.
Serial / Console connection
From a PC (PuTTY)
- Use the original ZTE serial cable, or a cable made with the original pinout. Connect it to the CL1 or CLI port of the OLT.
- If your PC has no serial port, use a USB-to-serial adapter.
- Find the COM port of the adapter in Windows Device Manager (Windows+X), under Ports (COM & LPT).
- In PuTTY, select Serial, enter the COM port and the speed. Set the other values under Connection > Serial:
- Speed: 9600, 57600 or 115200, depending on the OLT model and control board. If the console shows garbled text or nothing, try the next speed.
- Data bits: 8
- Parity: None
- Stop bits: 1
- Flow control: None
- Open the session and press Enter. If the OLT asks for a login, use its existing account. If the OLT has no account yet, stay on the serial console: you create the dedicated user in step 4.
Through a MikroTik
Connect the MikroTik RJ45 CONSOLE port to the ZTE C3xx CL1/CLI port with a standard straight-through RJ45 (1:1) patch cable. This connection has been tested with a MikroTik CCR2116 and a ZTE C3xx. This is a serial connection, so use the dedicated console ports at both ends. Open a MikroTik Terminal through WinBox or SSH over the network.
- Free the serial port and open the serial session:
/system console disable [find where port=serial0] /system serial-terminal serial0
- Press Ctrl+A, release the keys, then press R to detect the baud rate automatically. Press Enter to reach the OLT console.
To close the serial session, press Ctrl+A, release the keys, then press Q.
Enter privileged mode
If the prompt ends with ">" instead of "#", enter enable. The default enable password is zxr10, unless it was changed. The prompt changes to ZXAN#.
ZXAN>enable
Password: zxr10
ZXAN#
2Enable plug-and-play detection of the OLT boards and add the chassis type
# For C320 OLT
set-pnp enable
add-rack rackno 1 racktype C320Rack
add-shelf rackno 1 shelfno 1 shelftype C320_SHELF
# For C300 OLT
conf t
set-pnp enable
add-rack rackno 1 racktype IEC19
add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF
Verify the status of the cards using the command: show card
ZXAN# show card Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status ------------------------------------------------------------------------------- 1 1 0 PRWH PRWH 0 V1.0.0 INSERVICE 1 1 1 PRWH PRWH 0 V1.0.0 INSERVICE 1 1 2 GTGH GTGHK 16 V1.0.0 V2.1.0 INSERVICE 1 1 3 GTGH GTGHG 16 V1.0.0 V2.1.0 INSERVICE 1 1 4 GTGH GTGHK 16 V1.0.0 V2.1.0 INSERVICE 1 1 5 GTGH GTGHK 16 V1.0.0 V2.1.0 INSERVICE 1 1 10 SCXN SCXN 4 V1.0.0 V2.1.0 INSERVICE 1 1 11 SCXN 4 OFFLINE 1 1 19 HUVQ 4 OFFLINE 1 1 20 HUTQ HUTQ 4 V1.0.0 V2.1.0 INSERVICE
3Configure a new management IP address on the mng1 or VLAN interface
Select the interface of the management IP
interface mng1
ip address 10.200.0.2 255.255.255.0
If you connected over Ethernet using the old IP address, reconnect on the new IP address 10.200.0.2.
Add the default gateway and save configuration:
conf t
no ip route 0.0.0.0 0.0.0.0
ip route 0.0.0.0 0.0.0.0 10.200.0.1
exit
write
Check the routing table to confirm the default gateway was applied:
ZXAN# show ip route
Dest Mask Gw Interface Owner Pri Metric
0.0.0.0 0.0.0.0 10.200.0.1 mng1 static 1 0
10.200.0.0 255.255.255.0 10.200.0.2 mng1 direct 0 0
10.200.0.2 255.255.255.255 10.200.0.2 mng1 address 0 0
4Create a dedicated username/password
This user/pass will be used between SmartOLT and your OLT.
username smartoltusr password (enter a strong password) max-sessions 16 privilege 15
5Enable telnet service, that is usually factory disabled
conf tno ssh server only
exit
write
At this stage, your OLT is ready to be interconnected with SmartOLT.
Open your SmartOLT site, go to Settings → OLTs → Add OLT, fill in the fields displayed, click Test connection, and then Save.
# Other settings (If you use SmartOLT, these are configured automatically, no need to configure them manually):
conf t
auto-write enable
auto-write 18:00:00 everyday
mib-compatibility iftable v2
no ntp enable
no ntp client
ntp server 216.239.35.4 priority 2 version 4
ntp server 162.159.200.123 priority 3 version 4
ntp poll-interval 10
no ntp alarm-threshold
ntp client
ntp enable