Professional Documents
Culture Documents
2
Contents
3
ZXR10 Configuration Methods
Configuration through
COM port
Configuration in Telnet
Configuration through
Secure Shell (SSH)
Configuration through
SNMP
4
© ZTE Corporation. All rights reserved
Example -- Serial Port Connection
1,After connecting PC to Router
correctly, click Start > Programs 3,Select Com port,
> Accessories >Communications which is used for
> HyperTerminal connection with router,
click OK
5
© ZTE Corporation. All rights reserved
Example--Telnet Connection
6
© ZTE Corporation. All rights reserved
CLI Feature
Command Abbreviation
Error Hint ZXR10>e?
7
© ZTE Corporation. All rights reserved
Contents
8
System command modes
1.User mode
2.Privilege mode (enable mode)
3.Global configuration mode
4.Interface configuration mode
5.Route configuration mode
6. BOOTP mode
……
9
© ZTE Corporation. All rights reserved
User Mode
1: User Mode
When logging in to the system, the user enters the user mode
automatically.
In user mode, a user can run commands, such as ping and
telnet and also can view some system information.
ZXR10>?
Exec commands:
disable Turn off privileged commands
enable Turn on privileged commands
Exit Exit from the EXEC
Login Login as a particular user
logout Exit from the EXEC
Ping Send echo messages
ping6 Send IPv6 echo messages
Quit Quit from the EXEC
show Show running system information
telnet Open a telnet connection
telnet6 Open a telnet6 connection
trace Trace route to destination
trace6 Trace route to destination using IPv6
who List users who are logining on
10
© ZTE Corporation. All rights reserved
Privileged Mode
2:Privileged Mode
In user mode, enter enable command and corresponding password to enter
privileged mode
In privileged mode, a user can view more detailed configuration information and
also can enter configuration mode to configure entire router.
ZXR10>enable
Password: (The input password will not be displayed on the screen)
ZXR10#
ZXR10# ?
Exec commands:
cd Change current working directory
clear Reset functions
clock Manage the system clock
configure Enter configuration mode
copy Copy from one file to another
debug Debugging functions
--More--
11
© ZTE Corporation. All rights reserved
Configuration Mode
3. Global Configuration Mode
Global configuration mode
12
© ZTE Corporation. All rights reserved
BOOTP Mode
4. BOOTP Mode
In BOOTP mode CLI command can not be used
There are a set of commands to implement limited system
maintain function
Upgrading Version at Abnormality
Configuring system password
System Bootstrap, ZXR10 8908E System Boot Version: 3.01
Creation date: Dec 15 2010, 15:04:05
Copyright (c) 2010 by ZTE Corporation.
Hit any key to stop autoboot: 0
[ZXR10 Boot]:
[ZXR10 Boot]:c
'.' = clear field; '-' = go to previous field; '^' = quit
Boot Location [0:Net,1:Flash] : 0 0
Client IP : 128.7.8.129 128.7.8.130
Netmask : 255.255.255.0 255.255.255.0
Server IP : 128.7.8.128 128.7.8.126
Gateway IP : 128.7.8.1 128.7.8.2
FTP User : zxr10
……
13
© ZTE Corporation. All rights reserved
Contents
14
ZXR10# dir --Displays files, subdirectory information
Flash file system Directory of MP-0/T1/0: /flash
262144 KB total (107352 KB free)
ZXR10#dir
Directory of MP-0/T1/0: /flash/DATA0
262144 KB total (107340 KB free)
15
© ZTE Corporation. All rights reserved
System configuration file
RAM flash
Running-Config Startrun.dat
show
running-config
Console
startrun.dat
-- The startrun.dat configuration has been written into
FLASH, and still exists after power-off and restart
running
--The running configuration has been written into
memory, and ceases to exists after power-off and restart
16
© ZTE Corporation. All rights reserved
Save configuration file
ZXR10#
ZXR10# write
Building configuration...
..
[ok]
ZXR10#
17
© ZTE Corporation. All rights reserved
Backing Up Configuration File
Configuring a Router as FTP Client, Execute wftpd32.exe, and WFTPD
window
18
© ZTE Corporation. All rights reserved
Backing Up Configuration File
Execute the following steps in User/Rights Security Dialog,
i. Click New User to create a new user, such as target, and set
password.
ii. Select target in the pull down list box of User Name.
iii. Input the directory of edition files or configuration files in the
box of Home Directory, such as IMG catalog in D disk
19
© ZTE Corporation. All rights reserved
Backing Up Configuration File
To prevent the configuration file being destroyed, use the copy
command to back up it
ZXR10# copy ftp < source-device> < source-file> < destination-device> <
destination-file>
Example
User name is who, and password is who. User uploads the file
startrun.dat from the directory cfg to the ftp server with IP
address 192.168.4.244
20
© ZTE Corporation. All rights reserved
Recovering Configuration File
To recover the configuration file in FLASH from background FTP
server, use the following command.
ZXR10# copy ftp < source-device> < source-file> < destination-device> <
destination-file>
Example
User name is who, and password is who. User downloads the file
startrun.dat from the ftp server with IP address 192.168.4.244,
and rename it as “startrun.bak”
21
© ZTE Corporation. All rights reserved
Contents
22
Set Basic System Information
Router Name
ZXR10(config)# hostname zte-university
zte-university(config)# exit
zte-university# write
Building configuration...
..
[ok]
zte-university#
Welcome Words
ZXR10(config)# banner incoming C
You have entered a secured system.Authorized access only!
C
ZXR10(config)#
23
© ZTE Corporation. All rights reserved
System Time
Example:
Configure the system time as 23:12: 01 on Feb, 23, 2011
24
© ZTE Corporation. All rights reserved
Password
25
© ZTE Corporation. All rights reserved
Contents
26
Interface Type - 1
Physical interface
fei: 100M Etherent
gei: Gigabit Ethernet Interface
xgei: 10 Gigabit Ethernet Interface
Naming Rules :
<Interface type>_<frame ID>/<Slot ID><Sub-cardID>/<Port ID>.<Sub-
interface ID>
For example,
Gei-0/1/0/1 : No.1 port on No.0 Gigabit Ethernet subcard on No.1 slot
on No.0 frame
27
© ZTE Corporation. All rights reserved
Interface Type - 2
Logical interface
loopback: loopback interface
gre_tunnel: GRE tunnel
smartgroup: Smartgroup interface
supervlan: Supervlan interface
Null: NULL interface
te_tunnel: TE tunnel
v6_tunnel: V6 tunnel
Naming Rules :
<Interface type><Port ID>
For example,
smartgroup6: No.6 Smartgroup interface
28
© ZTE Corporation. All rights reserved
Ethernet Interface Configuration
1. Enters into interface configuration mode
ZXR10(config-if-port-name)#no shutdown
3. Enabling Auto-Negotiation
29
© ZTE Corporation. All rights reserved
Viewing Port Information
• Views the information about all interfaces
ZXR10#show interface
• Views the summary information about the interface on the slot of the shelf.
30
© ZTE Corporation. All rights reserved
Viewing Port Information
ZXR10(config)#show interface gei-0/3/0/1
gei-0/3/0/1 is administratively down, line protocol is down
Description is none
Hardware is Gigabit Ethernet, address is 00d0.d0c0.0c80
Internet address is unassigned
IP MTU 1500 bytes
MTU 1600 bytes
BW1000000 Kbits
MPLS MTU 1500 bytes
The port is optical
Duplex auto
Negotiation auto
Last Clear Time : 2012-04-25 09:27:04 Last Refresh Time: 2012-04-25 14:37:41
120s input rate : 0Bps 0Pps
120s output rate: 0Bps 0Pps
Intf utilization: input 0% output 0%
……
ZXR10#show interface b
Interface Portattribute Mode BW(Mbits) Admin Phy Prot Description
xgei-0/1/0/1 optical Duplex/full 10000 up down down none
xgei-0/1/0/2 optical Duplex/full 10000 down down down none
xgei-0/1/0/3 optical Duplex/full 10000 up down down none
31
© ZTE Corporation. All rights reserved
Contents
32
System Information--Version
ZXR10# show version
ZXR10 8902E Software, 8900&8900E Version: V3.02.01.B07, RELEASE SOFTWARE
Copyright (c) 2010-2020 by ZTE Corporation.
Compiled 2014-10-24, 15:34:01
System image files are:</flash/hsmp.set>
System uptime is 0 days, 0 hours, 32 minutes
[MP(M) , shelf 0 ,panel T1]
cpu 0
Main processor : PowerPC P1020E Processor
Bootrom Version : V1.05
Memory : 2048 Mbytes
System Flash : 256 Mbytes
System Serial : -1
Serial Number : 18446744073709551615
System baud : 9600 baud
System nvram : 8 kbytes
CPUcard CPLD : V1.0
FPGA Version : V1.50
CLK_ASC Version : V4.9.7
CLK_EPLD Version : V1.0
System SD : 0 Mbytes
CPLD Version : V1.60
Board Type : HMCR
Board Name : 8902EMCS1D
……
33
© ZTE Corporation. All rights reserved
System Information--Configuration and CPU
ZXR10# show run
Building configuration...
……
interface vlan 1
ip address 10.40.87.189 255.255.252.0
……
ZXR10(config)#show processor
============================================================================
============================================================================
M : Master CPU
……
CPU threshold: 80
MEM threshold: 80
============================================================================
=============================================================================
Shelf phySlot CPUID Power CPU(5s) CPU(1m) CPU(5m) Peak PhyMem FreeMem Mem
=============================================================================
MP(M) 0 5 0 96 16% 16% 16% 23% 1024 353 65.455%
-----------------------------------------------------------------------------------------------------------------------------------
--
MP(S) 0 6 0 92 8% 8% 8% 9% 1024 538 47.439%
-----------------------------------------------------------------------------------------------------------------------------------
--
NP 0 2 0 86 19% 19% 18% 21% 1024 669 34.620%
-----------------------------------------------------------------------------------------------------------------------------------
--
……
34
© ZTE Corporation. All rights reserved