3. About This Manual..............................................i
Command Introduction .....................................1
Manual Use Guide........................................................... 1
Description of Man-Machine Commands............................. 1
Auxiliary Function........................................................... 2
Command Mode ............................................................. 3
Basic System Management................................7
auto-download conig...................................................... 8
banner incoming ............................................................ 8
boot conig-ile............................................................... 9
clock set........................................................................ 9
clock timezone ..............................................................10
conigure terminal .........................................................10
disable.........................................................................11
enable .........................................................................11
enable secret ................................................................12
end .............................................................................13
exit .............................................................................13
lah-protect power-off ....................................................14
hostname.....................................................................14
help message................................................................15
more ...........................................................................15
multi-user conigure.......................................................16
nvram boot-password ....................................................17
nvram boot-server.........................................................17
nvram boot-username....................................................18
nvram default-gateway ..................................................18
nvram imgile-location....................................................19
nvram mng-ip-address ...................................................20
privilege.......................................................................20
reload ..........................................................................21
service password-encryption ...........................................21
show auto-download-conig ............................................22
show clock....................................................................22
show diagnostic information............................................22
show privilege...............................................................27
show running-conig ......................................................27
show start running-conig ...............................................28
4. show system-group .......................................................29
show username.............................................................29
show users ...................................................................29
show user-group ...........................................................30
show version ................................................................30
show version hardware...................................................30
show version mec..........................................................31
show version midplane...................................................32
show version npc...........................................................32
show version software....................................................32
show version sfc............................................................33
show version upc...........................................................33
username.....................................................................34
user-group ...................................................................34
who.............................................................................35
File System Management.................................37
cd ...............................................................................37
check dev-using ............................................................38
copy ............................................................................39
delete ..........................................................................39
dir...............................................................................40
format .........................................................................41
mkdir...........................................................................41
pwd.............................................................................42
rename ........................................................................42
rmdir ...........................................................................43
show lash-check...........................................................43
unmount ......................................................................44
update-imgile...............................................................44
write............................................................................45
write lash ....................................................................45
write imgile .................................................................46
write nvram..................................................................47
User Interface Management ............................49
answer-manual .............................................................49
answer-remote..............................................................50
line console 0................................................................50
line console absolute-timeout..........................................50
line console idle-timeout.................................................51
line telnet absolute-timeout ............................................51
6. logging timestamps .......................................................72
logging trap-enable........................................................72
memory-threshold.........................................................73
show alarm-level ...........................................................73
show logile ..................................................................74
show logging alarm........................................................74
show logging conigure...................................................75
show processor .............................................................75
show processor details ...................................................77
show temperature .........................................................77
syslog-server facility ......................................................78
syslog-server host .........................................................79
syslog-server source ......................................................80
temper-threshold ..........................................................80
write ...........................................................................81
write cmdlog.................................................................82
write logging.................................................................82
FTP/TFTP Server .............................................83
copy(FTP Client)............................................................83
copyTFTP Client....................................................... 84
ftp-server enable...........................................................84
ftp-server tick-user........................................................84
ftp-server top-directory ..................................................85
ip ftp password .............................................................85
ip ftp username.............................................................86
show ftp-server.............................................................86
show ftp-server-user......................................................86
IPV4 Basic Protocols .......................................89
address........................................................................90
arp timeout ..................................................................91
clear arp ......................................................................91
clear ip trafic-statistics ..................................................92
clear tcp connect ...........................................................92
clear tcp line.................................................................93
clear tcp statistics..........................................................93
clear tcp tcb..................................................................93
clear tcp tty ..................................................................93
clear tcp vty .................................................................94
detect loop-time............................................................94
detect option ................................................................94
7. detect try-times ............................................................95
detcet time-out .............................................................95
detect-group.................................................................96
detect-list.....................................................................96
ip address ....................................................................97
ip forwarding-mode .......................................................97
ip load-sharing..............................................................98
ip local policy route-map ................................................99
ip mtu..........................................................................99
ip policy route-map...................................................... 100
ip proxy-arp................................................................ 100
ip redirect................................................................... 101
ip route...................................................................... 101
ip source-route ........................................................... 102
ip stream cache........................................................... 103
ip stream enable ......................................................... 104
ip stream export.......................................................... 104
ip tcp inwait-time ....................................................... 105
ip tcp queuemax ......................................................... 106
ip tcp synwait-tim........................................................ 106
ip tcp window-size ....................................................... 107
ip unnumbered............................................................ 107
ip unreachable ............................................................ 108
netlow-sample-rate..................................................... 108
ntp authenticate.......................................................... 109
ntp authentication-key ................................................. 109
ntp enable.................................................................. 110
ntp server .................................................................. 110
ntp source .................................................................. 111
ntp trusted-key ........................................................... 111
ping........................................................................... 111
ping mng.................................................................... 113
ping mpls ................................................................... 113
set arp....................................................................... 114
show arp .................................................................... 115
show detect-group....................................................... 116
show ip forwarding ...................................................... 117
show ip protocol routing ............................................... 117
show ip protocol routing summary ................................. 118
show ip route.............................................................. 118
8. show ip trafic ............................................................. 119
show ntp status........................................................... 120
show tcp .................................................................... 120
show tcp brief ............................................................. 121
show tcp conig ........................................................... 121
show tcp line .............................................................. 121
show tcp statistics ....................................................... 122
show tcp tcb ............................................................... 122
show tcp tty................................................................ 123
show tcp vty ............................................................... 124
show vlan-forwarding................................................... 124
trace.......................................................................... 125
trace mpls .................................................................. 125
vlan arp-mode ............................................................ 126
vlan-forwarding........................................................... 127
9. About This Manual
Purpose This manual provides procedures and guidelines that support the
operation of ZXR10 router and Ethernet switch.
Intended
Audience
This manual is intended for engineers and technicians who perform
operation activities on ZXR10 router and Ethernet switch.
What Is in This
Manual
This manual contains the following chapters:
Chapter Summary
Chapter 1, Command
Introduction
This describes the use method of the
command manual, command description,
format convention, auxiliary function and
mode.
Chapter 2 Basic System
Management
Describes the basic system management
commands, including the coniguration and
viewing commands
Chapter 3 File System
Management
Describes the operation and management
commands for the ile system
Chapter 4 User Interface
Management
Describes the operation and management
commands for the user interfaces
Chapter 5 System
Log/Statistics
Management
Describes the operation and management
commands for the system log and statistics
Chapter 6 FTP/TFTP
Server
Describes the operation and management
commands for the FTP/TFTP server
Chapter 7 IPV4 Basic
Protocols
Describes the coniguration and view
commands of IPV4 basic protocols,
including the ARP, IP, TCP, DHCP, NAT and
VRRP
Related
Documentation
The following documentation is related to this manual:
� ZXR10 Router/Ethernet Switch Command Manual (Command
Index Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Ethernet
Switch Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
iguration Volume II)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
iguration Volume III)
� ZXR10 Router/Ethernet Switch Command Manual (Remote Ac-
cess Volume)
� ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout-
ing Volume I)
Conidential and Proprietary Information of ZTE CORPORATION i
11. C h a p t e r 1
Command Introduction
Table of Contents
Manual Use Guide............................................................... 1
Description of Man-Machine Commands................................. 1
Auxiliary Function............................................................... 2
Command Mode ................................................................. 3
Manual Use Guide
The commands in other volumes are classiied by functional mod-
ules, and each functional module corresponds to a chapter and
the commands in the chapter are organized in the form of level 2
directory and in the order of a–z.
To search a command, do as follows:
1. Find the desired command by referring to ZXR10 Router/Eth-
ernet Switch Command Manual — Command Index.
2. Find command details by the volume, chapter/section and page
of the obtained command.
Description of Man-Machine
Commands
Each MML command is described by the following items:
� Function
It describes the function implemented by this command.
� Command Mode
It describes the mode in which this command can be executed.
� Format
It describes the complete format of this command, including
the no format if possible.
� Parameter Description
It describes parameters in this command in the form and pre-
scribes the range and default value. If different products have
Conidential and Proprietary Information of ZTE CORPORATION 1
12. ZXR10 Command Manual (Basic Coniguration Volume I)
different parameter ranges or default values, an additional
form is used for description.
� Default
The default value is available in the case that this command is
not set. The default parameter value is not described here for
value selection.
Additional description shall be given if different products have
different default values.
� Instructions
First describes the platform version information about this
command. For example, “The platform version X.X.XX or later
supports this command” indicates this command is provided
from the beginning of the platform version X.X.XX. This com-
mand is provided from the platform version 2.6 by default.
Second describes the use method and precautions of this com-
mand.
� Example
It describes the use of this command in an example.
� Related Commands
Lists the command(s) related to this command.
� History Command
It describes history version information related to this com-
mand if a command is changed after version upgrade.
Do not describe the history command if this entry does not exist.
Auxiliary Function
The auxiliary function for ZXR10 devices is as follows.
1. In any command mode, enter a question mark (?) after the
DOS prompt of the system, a list of available commands in the
command mode will be displayed. With the context-sensitive
help function, the keywords and parameter lists of any com-
mands can be obtained.
i. In any command mode, enter a question mark "?" after the
DOS prompt of the system, and a list of all commands in
the mode and the brief description of the commands will
be displayed.
ii. Input the question mark behind a character or character
string to view the list of commands or keywords beginning
with this character or character string. Note that there is
no space between the character (string) and the question
mark.
iii. Press TAB behind the character string. If the command or
keyword beginning with this character string is unique, it
shall be completed with a space at the end. Note that there
is no space between the character string and the TAB.
2 Conidential and Proprietary Information of ZTE CORPORATION
13. Chapter 1 Command Introduction
iv. Input a question mark after a command, a keyword or a
parameter, the next keyword or parameter to be input will
be listed, and also a brief explanation will be given. Note
that a space must be entered before the question mark.
2. If incorrect command, keyword or parameter is input, the error
isolation is offered with ^ in the user interface after you press
ENTER. The ^ is below the irst character of the input incorrect
command, keyword or parameter.
3. ZXR10 router/Ethernet switch allows the command or key-
word to be abbreviated into a character or character string that
uniquely identiies this command or keyword. For example, the
show command can be abbreviated to sh or sho.
4. The user interface supports the function of recording input
commands. A maximum of ten history commands can be
recorded. The function is very useful in re-invocation of a long
or complicated command or ingress.
To re-invoke a command from the record buffer, conduct one
of the following operations, as shown below.
Command Function
Press CTRL-P or the
up arrow key
Re-invokes the latest command in the
record buffer. Repeat these keys to
invoke old commands forwards.
Press CTRL-N or the
down arrow key
Rolls the commands downward. When the
last command line is reached, one more
operation will roll the commands from the
begging of the buffer cyclically.
In any mode, execute the show history command to list the
latest commands input in this mode.
Command Mode
The command modes in this manual are shown below.
Mode Prompt Admis-
sion
Mode
Entry
Command
Functions
Exec
mode
ZXR10> enters directly
after logging
the system
Views simple
information
Privi-
leged
mode
ZXR10# Exec
mode
enable Conigures
system
parameters
Global
conig-
uration
mode
ZXR10(config)# Privi-
leged
mode
configure
terminal
Conigures
global service
parameters
Conidential and Proprietary Information of ZTE CORPORATION 3
14. ZXR10 Command Manual (Basic Coniguration Volume I)
Mode Prompt Admis-
sion
Mode
Entry
Command
Functions
Inter-
face
conig-
uration
mode
ZXR10(config-
if)#
Global
conig-
uration
mode
interface Conigures
port
parameters
and selects
a port type
depending on
the keyword
Subin-
terface
mode
ZXR10 (config-
subif)#
Global
conig-
uration
mode
interface Conigures
subinterface
parameters
of the
NPCI/NPCT
VLAN
data-
base
conig-
uration
mode
ZXR10(vlan-
db)#
Privi-
leged
mode
vlan datab
ase
Creates or
deletes VLANs
in batches
VLAN
conig-
uration
mode
ZXR10(config-
vlan)#
Global
conig-
uration
mode
vlan Conigures
VLAN
parameters
MSTP
conig-
uration
mode
ZXR10(config-
mstp)#
Global
conig-
uration
mode
spanning-t
ree mst conf
iguration
Conigures
MSTP
parameters
Basic
ACL
conig-
uration
mode
ZXR10(config-
basic-acl)#
Global
conig-
uration
mode
acl basic Deines basic
ACL rule
Ex-
tended
ACL
conig-
uration
mode
ZXR10(config-
ext-acl)#
Global
conig-
uration
mode
acl extend Deines
extended ACL
rule
Line
conig-
uration
mode
ZXR10(config-
line)#
Global
conig-
uration
mode
line console
0
line <1~64
>(GAR)
Conigures
parameters
related to
serial port
and telnet
connection
Layer
2 ACL
conig-
uration
mode
ZXR10(config-
link-acl)#
Global
conig-
uration
mode
acl link Deines layer
2 ACL rule
4 Conidential and Proprietary Information of ZTE CORPORATION
16. ZXR10 Command Manual (Basic Coniguration Volume I)
Mode Prompt Admis-
sion
Mode
Entry
Command
Functions
Route
conig-
uration
mode
(RIP)
address-fam
ily ipv4 vrf
Conigures
RIP VRF
parameters
IPv4 ad-
dress
family
conig-
uration
mode
ZXR10(config-
router-af)#
Route
conig-
uration
mode
(BGP)
address-fam
ily vpnv4
address-fam
ily ipv4 vrf
Conigures
BGP VPN
and VRF
parameters
Route
conig-
uration
mode
(BGP4+)
address-fam
ily ipv6
Conigures
BGP4+
unicast
address family
IPv6
unicast
address
family
conig-
uration
mode
ZXR10(config-
router-af)#
Route
conig-
uration
mode
(IS-
ISv6)
address-fam
ily ipv6
Conigures
IS-ISv6
address family
Route
map
conig-
uration
mode
ZXR10(config-
route-map)#
Global
conig-
uration
mode
route-map Conigures
route map
matching item
and operation
Channe-
lization
conig-
uration
mode
ZXR10(config-
control)#
Global
conig-
uration
mode
control Conigures
channelization
for ce1, ce3
and cpos3
Dial
peer
conig-
uration
mode
ZXR10(config-
voip100)#
Global
conig-
uration
mode
dial-peer
voice
Conigures
business
related to
integrated
service
Voice
port
conig-
uration
mode
ZXR10(config-
voice-port)#
Global
conig-
uration
mode
voice-port Conigures
voice service
IPSec
conig-
uration
mode
ZXR10(config-
ipsec)#
Global
conig-
uration
mode
ipsec Conigures
IPv6 IPSec
protection
Diagno-
sis mode
ZXR10(diag)# Privi-
leged
mode
diagnose Tests CPU
and memory
usage
6 Conidential and Proprietary Information of ZTE CORPORATION
17. C h a p t e r 2
Basic System
Management
Table of Contents
auto-download conig.......................................................... 8
banner incoming ................................................................ 8
boot conig-ile................................................................... 9
clock set ........................................................................... 9
clock timezone ..................................................................10
conigure terminal .............................................................10
disable.............................................................................11
enable .............................................................................11
enable secret ....................................................................12
end .................................................................................13
exit .................................................................................13
lah-protect power-off ........................................................14
hostname.........................................................................14
help message....................................................................15
more ...............................................................................15
multi-user conigure ..........................................................16
nvram boot-password ........................................................17
nvram boot-server.............................................................17
nvram boot-username........................................................18
nvram default-gateway ......................................................18
nvram imgile-location........................................................19
nvram mng-ip-address.......................................................20
privilege...........................................................................20
reload..............................................................................21
service password-encryption ...............................................21
show auto-download-conig ................................................22
show clock........................................................................22
show diagnostic information................................................22
show privilege...................................................................27
show running-conig ..........................................................27
show start running-conig ...................................................28
show system-group ...........................................................29
show username.................................................................29
show users .......................................................................29
show user-group ...............................................................30
show version ....................................................................30
show version hardware.......................................................30
show version mec..............................................................31
show version midplane.......................................................32
show version npc...............................................................32
show version software........................................................32
show version sfc................................................................33
show version upc...............................................................33
Conidential and Proprietary Information of ZTE CORPORATION 7
18. ZXR10 Command Manual (Basic Coniguration Volume I)
username.........................................................................34
user-group .......................................................................34
who.................................................................................35
auto-download config
Purpose Use this command to enable downloading the coniguration ile
automatically.
Command Modes Global Coniguration
Syntax auto-download config
no auto-download config
Instructions This command is to enable downloading coniguration ile auto-
matically. If the coniguration iles(startrun and conig) already
exist, delete them and reboot the rack to download them auto-
matically. When this function is disabled, if the downloading is in
the process, then it informs the TFTP module about shutting the
downloading.
Defaults It is enabled by default and the coniguration is writting into
NVRAM. It supports 52a.
Example This example describes how to enable downloading the conigura-
tion ile automatically.
ZXR10(config)#auto-download config
Related
Commands
boot config-file
show auto-download-config
banner incoming
Function Use this command to set the greeting for the system startup.
Command mode Global coniguration
Format banner incoming <end-char><TEXT><end-char>
Syntax
Description
<end-char> End character, with one character
<TEXT> Greeting: text including spaces and ENTER. It
does not exceed 253 characters at most and
end with<end-char>
Default Default welcome prompt.
Instructions 1. Set the user-deined <end-char>, with only one character:
banner incoming #. After you press ENTER, the system
prompts the following information:
Enter TEXT message. End with the character ’#’.
8 Conidential and Proprietary Information of ZTE CORPORATION
19. Chapter 2 Basic System Management
2. Enter the formal greeting text, which may include special char-
acters (except?) such as space and ENTER. It ends with ’#’.
Note:
The special character? is regarded as the help prompt by de-
fault. As a result, all the command parameters (text-type) or
the password cannot include?.
Example This example describes how to set the greeting to welcome.
ZXR10(config)#banner incoming #
Enter TEXT message. End with the character ’#’.
welcome
#
boot config-file
Purpose Use this command to set the path for conig ile.
Command Modes Global Coniguration
Syntax boot config-file <filename>
Syntax
Description
<filename> Sets the path for conig ile.
Instructions This command is to specify the path for conig ile. The conigura-
tion is writting into NVRAM. It only supports 52a currently.
Defaults It is enabled by default and the coniguration is writting into
NVRAM. It supports 52a.
Example This example describes how to set the path for coniguration ile
to cfg/conig.dat
ZXR10(config)#boot config-file cfg/config.dat
ZXR10(config)#
Related
Commands
auto-download config
show auto-download-config
clock set
Purpose Use this command to conigure the system clock in standard time
format.
Command Modes Privileged EXEC
Syntax clock set <current-time><month><day><year>
Conidential and Proprietary Information of ZTE CORPORATION 9
20. ZXR10 Command Manual (Basic Coniguration Volume I)
Syntax
Description
<current-time> The current time in the format: hh:mm:ss.
<month> Month, jan~dec
<day> Date, 1~31
<year> Year, 2001~2098
Example This example describes how to set the system time to 12 minutes
1 second past 23 o’clock on Feb. 23, 2001 with the following com-
mand.
ZXR10#clock set 23:12:01 feb 23 2001
Related
Commands
show clock
clock timezone
Purpose Use this command to conigure time zone information.
Command Modes Privileged EXEC
Syntax clock timezone <name-of-time-zone><hours-offset>[<minutes
-offset>]
Syntax
Description
<name-of-time-zo
ne>
Name of time zone
<hours-offset> Hours offset from UTC
<minutes-offset> Minutes offset from UTC
Instructions The parameter <minutes-offset> is added in versions 4.8.21 and
above.
Example This example describes how to conigure time zone as Beijing and
the <hours-offset> as 8.
ZXR10#clock timezone Beijing 8 0
Related
Commands
show clock
configure terminal
Purpose Use this command to change from the privileged EXEC to the global
coniguration mode.
Command Modes Privileged EXEC
Syntax configure terminal
Example This example describes how to change from the privileged EXEC
to the global coniguration mode.
10 Conidential and Proprietary Information of ZTE CORPORATION
21. Chapter 2 Basic System Management
ZXR10#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ZXR10(config)#
Related
Commands
end
exit
disable
Function Use this command to return from the privileged mode to exec
mode. Lower the current authority level.
Command Mode EXEC, Privileged EXEC
Syntax disable
disable [<level>]
Syntax
Description
<level> Authority level, 0~15, the default value is 1.
Instruction disable [<level>] is only applicable to ZXR10 T64E/T128
T600/T1200.
Example This example describes how to return from the privileged mode to
EXEC mode and lower the authority level to 1.
ZXR10#disable 1
ZXR10>
ZXR10>show privilege
Current privilege level is 1
ZXR10>
Related
Commands
enable
show privilege
enable
Function Use this command to enter from the EXEC to privilege EXEC mode.
Heighten the current authority level.
Command Mode EXEC, Privilege EXEC
Format enable
enable [<level>]
Parameter
Description
Parameter Description
<level> Authority level, the default value is 15.
Instructions � Password is required when entering into each authority level.
If the passwords have not been conigured, then entering into
the authority level is not permitted.
Conidential and Proprietary Information of ZTE CORPORATION 11
22. ZXR10 Command Manual (Basic Coniguration Volume I)
� The command enable <level> is only applicable to ZXR10
T64E/T128, T600/T1200.
Note:
This password is not displayed on the screen while it is entered,
and is case sensitive.
Example This example describes how to heighten authority level to 2; enter
from the EXEC to privilege EXEC mode.
ZXR10>enable 2
Password:
ZXR10#
ZXR10#show privilege
Current privilege level is 2
ZXR10#
Related
Commands
disable
show privilege
enable secret
Function Use this command to set the password for each mode. Use the no
command to cancel this set.
Command Mode Global coniguration
Syntax enable secret {0 <password>| 5 <password>|<password>}
enable secret [level <level-number>]{0 <password>| 5 <pass
word>|<password>}
no enable secret level <1~14>
Syntax
Description
level < level-number
>
Designates authority level, the default value
is 15
0 <password> Sets the privileged password with 3–16
characters to enter the privileged mode
5 <password> Sets encrypted privileged password with 3–24
characters
<password> Sets privileged password with 3–16 characters
by default
Instructions � The enable password displayed in show running-conig is the
encrypted privileged password, while the password that is used
for enable to enter the privileged mode is unencrypted privi-
leged password.
� The command enable secret [level <1~15>]{0 <passwor
d>| 5 <password>|<password>} is only applicable to ZXR10
T64E/T128.
12 Conidential and Proprietary Information of ZTE CORPORATION
23. Chapter 2 Basic System Management
Note:
Both commands enable secret 0 <password> and enable secret
<password> are used to enter an unencrypted password. Set the
password with the enable secret 5 <password> command. The
conigured password is not an encrypted privileged password un-
less the length of <password> is 24.
Example This example describes how to set the privilege password to
ZXR10.
ZXR10(config)#enable secret ZXR10
Related Command enable
end
Purpose Use this command to return to the privileged EXEC mode.
Command Modes The command is available for all modes other than the EXEC and
privileged EXEC mode.
Syntax end
Example This example describes how to return from the global coniguration
mode to the privileged EXEC mode.
ZXR10(config)#end
ZXR10#
Related
Commands
configure terminal
interface
router bgp
router ospf
router rip
exit
Purpose Use this command to quit the login router or return to the last
mode.
Command Modes All modes
Syntax exit
Instructions When it is executed under the EXEC mode or privileged EXEC
mode, it means exiting the login router. While in other modes,
it means returning to the last mode.
Example This example describes how to exit from the global coniguration
mode to the privileged EXEC mode.
ZXR10(config)#exit
ZXR10#
Conidential and Proprietary Information of ZTE CORPORATION 13
24. ZXR10 Command Manual (Basic Coniguration Volume I)
Related
Commands
configure terminal
login
logout
flah-protect power-off
Purpose Use this command to conirm the power-off.
Command Modes Privileged EXEC
Syntax flash-protect power-off [ force ]
Syntax
Description
force Forces the power-off manually.
Instructions The platform version 4.8.22 supports this command. The com-
mand with the parameter force means forcing power-off manu-
ally and being related to lash-protect. If the command is with the
parameter force , regardless of whether the Flash is in usage or
not, unload the Flash device and power-off manually. Or, if the
Flash is in usage, it can not power-off manually.
Example � This example describes how to set force power-off manually.
ZXR10# flash-protect power-off force
Are you sure to power off the machine?
If you execute the command successfully,
any other operation is invalid except power-off.
[yes/no]:y
.. OK!You can power off the machine later.
ZXR10#
� This example describes how to set power-off manually.
ZXR10# flash-protect power-off
Are you sure to power off the machine?
If you execute the command successfully,
any other operation is invalid except power-off.
[yes/no]:y
.. OK!You can power off the machine later.
ZXR10#
hostname
Purpose Use this command to set the network name of the system. cancel
the network name with the no command.
Command Modes Global coniguration
Syntax hostname <network-name>
no hostname
Syntax
Description
<network-name> Network name, with 1~32 characters
Defaults By default, the default system network name is ZXR10.
14 Conidential and Proprietary Information of ZTE CORPORATION
25. Chapter 2 Basic System Management
Instructions The modiied hostname takes effect immediately.
Example This example describes how to set the network name of the router
to ZXR10_router.
ZXR10(config)#hostname ZXR10_router
ZXR10_router(config)#
help message
Function Use this command to set whether to display all command com-
ments.
Command Mode Global coniguration mode
Format help message [full | partial]
Syntax
Description
Full Display all comments
Partial Omit some comments
Instruction By default, the comments are displayed in partial mode.
Example This example describes how to set help message to full.
ZXR10(config)#help message full
more
Purpose Use this command to display the lash ascii text such as log, dead
halt.
Command Modes Privileged EXEC
Syntax more <word>[ascii | binary [width]]
Syntax
Description
<word> The path for this ile
<ascii > The display mode of the text
<binary > The binary display mode
<width> The byte width of the unit
Instructions The platform version 4.8.22 supports this command. The com-
mand with the parameter force means forcing power-off manu-
ally and being related to lash-protect. If the command is with the
parameter force , regardless of whether the Flash is in usage or
not, unload the Flash device and power-off manually. Or, if the
Flash is in usage, it can not power-off manually.
Example � This example describes how to set force power-off manually.
ZXR10# flash-protect power-off force
Are you sure to power off the machine?
Conidential and Proprietary Information of ZTE CORPORATION 15
26. ZXR10 Command Manual (Basic Coniguration Volume I)
If you execute the command successfully,
any other operation is invalid except power-off.
[yes/no]:y
.. OK!You can power off the machine later.
ZXR10#
� This example describes how to set power-off manually.
ZXR10# flash-protect power-off
Are you sure to power off the machine?
If you execute the command successfully,
any other operation is invalid except power-off.
[yes/no]:y
.. OK!You can power off the machine later.
ZXR10#
multi-user configure
Function Use this command to permit multiple users to enter the conigura-
tion mode. Conigure the single user coniguration mode with the
no command.
Command Mode Global coniguration
Format multi-user configure
no multi-user configure
Instructions By default, only a user can enter the global coniguration mode.
Use this command to permit other users enter into the global con-
iguration mode. The no command is used to conigure the single
user to enter into coniguration mode. Make sure that other users
have exited coniguration mode, then use no command.
Note:
When multiple users are coniguring, their conigurations should
not conlict.
Example � This example describes how to enter the coniguration mode
and allow multiple user conigurations when there is no user in
the coniguration mode.
ZXR10#configure terminal
ZXR10(config)#multi-user configure
%Warning: allow others configure, must avoid conflict.
ZXR10(config)#
� This example describes how to enter the single user conigu-
ration mode when there is one user in the coniguration mode.
ZXR10#configure terminal
%Simultaneous configs not allowed. Locked from 168.1.168.168
ZXR10#
� This example describes how to do when other users have not
exited the coniguration mode.
ZXR10(config)#no multi-user conf
%Someone has entered the configure mode,
cannot set single-user configure!
ZXR10(config)#
Related Command configure terminal
16 Conidential and Proprietary Information of ZTE CORPORATION
27. Chapter 2 Basic System Management
nvram boot-password
Function Use this command to start the FTP download setting for the map-
ping ile and specify the password of the FTP server for download.
Command Mode Global coniguration
Format nvram boot-password <password>
Syntax
Description
<password> FTP password, with 3~16 characters
Instructions � Valid characters are as follows: 0123456789abcdefghi-
jklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ‘*-
=~!@#$%^& () _+[]{}|;’:,./<>
� This command works with such commands as nvram boot-se
rver, nvram boot-username, nvram imgfile-location and
nvram default-gateway.
Example This example describes how to Set the login password for the map-
ping ile download FTP to pass.
ZXR10(config)#nvram boot-password pass
Related
Commands
nvram boot-server
nvram boot-username
nvram default-gateway
nvram imgfile-location
nvram boot-server
Function Use this command to enable the FTP download settings for map-
ping iles and specify the IP address of the FTP server for download.
Command Mode Global coniguration
Syntax nvram boot-server <ip-address>
Syntax
Description
<ip-address> IP address in the dotted decimal notation
Instruction This command works with these commands: nvram boot-pass-
word, nvram boot-usernam, nvram imgile-location and nvram de-
fault-gateway.
Example This example describes how to set the IP address for the mapping
download FTP to 168.1.1.1.
ZXR10(config)#nvram bootserver 168.1.1.1
Related
Commands
nvram boot-password
nvram boot-username
nvram default-gateway
nvram imgfile-location
Conidential and Proprietary Information of ZTE CORPORATION 17
28. ZXR10 Command Manual (Basic Coniguration Volume I)
nvram boot-username
Function Use this command to enable the FTP download setting for mapping
iles and specify the username of the FTP server for download.
Command Mode Global coniguration
Syntax nvram boot-username <username>
Syntax
Description <username> Login user name, with 1~16 characters
Instructions � The valid characters include the letters, numerals and under-
line, case insensitive for the letters.
� This command works with these commands: nvram boot-pa
ssword, nvram boot-server, nvram imgfile-location and
nvram default-gateway.
Example This example describes how to set the user name for the mapping
ile download FTP to ZXR10.
ZXR10(config)#nvram boot-username ZXR10
Related Command nvram boot-password.
nvram boot-server
nvram default-gateway
nvram imgfile-location
nvram default-gateway
Function Use this command to set the IP address of the default gateway.
Command Mode Global coniguration
Syntax nvram default-gateway <ip-address>
Syntax
Description
<ip-address> IP address of the gateway in the dotted
decimal notation
Instruction This command works with these commands: nvram boot-passw
ord, nvram boot-server, nvram imgfile-location and nvram
boot-username.
Example This example describes how to set the default gateway as
168.1.1.1.
ZXR10(config)#nvram default-gateway 168.1.1.1
Related
Commands
nvram boot-password
nvram boot-server
nvram boot-username
nvram imgfile-location
18 Conidential and Proprietary Information of ZTE CORPORATION
29. Chapter 2 Basic System Management
nvram imgfile-location
Purpose Use this command to set the location for booting the mapping ile.
Command Modes Global coniguration
Syntax set ethernet-oam link-monitor frame-seconds threshold
<xxx> window <yyy>
nvram imgfile-location {local {flash | sd}<filename>}| netw
ork <filename>}
Syntax
Description
local The mapping ile is located locally.
flash If the version reboots from local, the storage
device type is lash.
sd If the version reboots from local, the storage
device type is sd card.
network The mapping ile is located in the network.
<filename> File name, with 1~80 characters.
Instructions � The valid characters for the ilename are as follows.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-
JKLMNOPQRSTUVWXYZ/.;,-=+$#~@% () !&[]{}
If it is speciied as network boot, the ilename can include the
path of the speciied FTP directory. For example, the speciied
FTP directory is sysm and now it is in the nets directory under
sysm of the FTP server, and the ile name can also include
the path under the sysm/nets directory. Note that the path
sysm/nets cannot be included repeatedly.
� This command works with these commands: nvram boot-p
assword, nvram boot-server, nvram boot-username and
nvram default-gateway.
� The platform version 4.8.22 supports rebooting from SD card
when the version starts from local.
Example � This example describes how to reset the card in slot 3.
ZXR10#reload slot 3
Proceed with reload? [yes/no]:y
ZXR10#
� This example describes how to reset the right sfc.
ZXR10#reload sfc 2
Proceed with reload? [yes/no]:y
ZXR10#
� This example describes how to reset the slave MP.
ZXR10#reload mp slave
Proceed with reload? [yes/no]:y
ZXR10#
Conidential and Proprietary Information of ZTE CORPORATION 19
30. ZXR10 Command Manual (Basic Coniguration Volume I)
nvram mng-ip-address
Function Set the IP address of the router MNG (management interface).
Command Mode Global coniguration
Syntax nvram mng-ip-address <ip-address><net-mask>
Syntax
Description
<ip-address> IP address of the MNG in the dotted decimal
notation
<net-mask> Subnet mask in the dotted decimal notation
Instruction This address can be used to log in to the router from an internal
network port.
Note:
The conigured interface address and this address cannot be in the
same network segment.
Example This example describes how to set the MNG IP address to 168.1.1.1
and the subnet mask to 255.255.0.0.
ZXR10(config)#nvram mng-ip-address 168.1.1.1 255.255.0.0
privilege
Function Use this command to set command authority level. Use no com-
mand to recover default authority level.
Command Mode Global coniguration
Syntax privilege <logic-mode>[all] level <0~15><command-keywor
ds> no privilege <logic-mode>[all] reset <command-keywor
ds>
Syntax
Description
<logic-mode> Logic mode type
all Supports all the commands that this command
key word appears head
level <0~15> Authority level
<command-keywor
ds>
l Command keywords
Example This example describes how to set all write appears ahead in priv-
ilege exec command authority level to 7.
ZXR10(config)#privilege exec all level 7 write
Related Command show privilege
20 Conidential and Proprietary Information of ZTE CORPORATION
31. Chapter 2 Basic System Management
reload
Purpose Use this command to reboot the system or reset the board in a
speciic slot.
Command Modes Privileged EXEC
Syntax reload [slot <slot-number>| sfc <slot-number >| mp slave]
reload [mp slave][force]
Syntax
Description
<slot-number> Slot number, in the range of 1~8.
sfc <slot-number> Flag of sfc (1: left sfc; 2 right sfc).
mp slave Restarts the slave board.
force Restarts the device or slave board by force.
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� The command without parameter is used to reboot the whole
system.
� The command with parameter slot is used to reset the board
in a speciic slot.
� The command with parameter sfc is used to reset a speciic sfc
board.
Example � This example describes how to reset the card in slot 3.
ZXR10#reload slot 3
Proceed with reload? [yes/no]:y
ZXR10#
� This example describes how to reset the right sfc.
ZXR10#reload sfc 2
Proceed with reload? [yes/no]:y
ZXR10#
� This example describes how to reset the slave MP.
ZXR10#reload mp slave
Proceed with reload? [yes/no]:y
ZXR10#
service password-encryption
Function Use this command to set user password encryption display func-
tion.
Command Mode Global coniguration mode
Format service password-encryption
no service password-encryption
Instruction All user password display in encryption after this command is con-
igured.
Conidential and Proprietary Information of ZTE CORPORATION 21
32. ZXR10 Command Manual (Basic Coniguration Volume I)
Related command username
show auto-download-config
Purpose Use this command to display the related coniguration when start-
ing auto-download-coniguration.
Command Modes Privileged EXEC
Syntax show auto-download-config
Instructions This command supports 52a.
Example � This example describes how to reset the card in slot 3.
ZXR10# show auto-download-config
Config file :flash:/config.text
auto download config :yes
Related
Commands
boot config-file
auto-download config
show clock
Purpose Use this command to display the system clock.
Command Modes All modes
Syntax show clock
Instructions When the time zone is conigured with this command, the local
time will be displayed.
Related
Commands
clock set
show diagnostic information
Purpose Use this command to display all the system information, when
there is fault in the system or in a functional module. It is used to
analyze the fault cause. This command contains show version, s
how processor, show privilege, show running-config, show
logfile and other information.
Command Modes Privileged EXEC
Syntax show diagnostic information [{[detail [{[module <module-n
ame>[|{begin | exclude | include}]][|{begin | exclude | incl
ude}]}]]|[module <module-name>[|{begin | exclude | inclu
de}]]|[save]}]
22 Conidential and Proprietary Information of ZTE CORPORATION
33. Chapter 2 Basic System Management
Syntax
Description
detail Displays detailed information of system.
module <module-na
me>
Displays information of a speciied module.
begin Displays the coniguration information starting
with the line including the speciied character
or character string.
exclude Displays the coniguration information
exclusive of the line including the speciied
character or character string.
include Displays the coniguration information
inclusive of the line including the speciied
character or character string.
save Saves the current system information to lash.
Defaults By default, brief system information is displayed in pagination, but
not saved.
Instructions � The platform version 4.8.21 and upgrade versions support this
command.
� Display the system information in command mode.
� Execute this command only on single terminal, otherwise an
error occurs.
� Cannot perform this operation when saving the coniguration
using Write command, otherwise an error occurs.
� The terminal length 0 command needs to be used in privi-
leged mode when contents needs to be displayed in one page.
Example This example describes how to use show diagnostic informati
on.
ZXR10#show diagnostic information
ZXR10 T128 Software, Version V2.08.21, RELEASE SOFTWARE
Copyright (c) 2000-2007 by ZTE Corporation
Compiled Feb 20 2008, 09:38:17
ZXR10 Router Operating System Software,ZTE Corporation
ZXR10 ROS Version V4.08.21
System image files from net
<ftp://192.168.3.111/zxr10.zar>
System uptime is 0 days, 0 hours, 5 minutes
[RPU, Panel 2, master]
Main processor: X86-2 with 512M bytes of memory
ROM: System Bootstrap, Version: Copyright 1984-1996 Wi,
RELEASE SOFTWARE
[MPU2, Panel 2, master]
Main processor: X86-2 with 512M bytes of memory
8K bytes of non-volatile configuration memory
64M bytes of processor board System flash (Read/Write)
ROM: System Bootstrap, Version: Copyright 1984-1996 Wi,
RELEASE SOFTWARE
System serial: 6
[SFC2, Panel 1, master]
Main processor: Power pc-2 with 32M bytes of memory
ROM: System Bootstrap, Version: ZXR10 BOOT V2.6.02-003,
RELEASE SOFTWARE
[SFC, Panel 2, slave]
Conidential and Proprietary Information of ZTE CORPORATION 23
34. ZXR10 Command Manual (Basic Coniguration Volume I)
Main processor: Power pc-1 with 64M bytes of memory
ROM: System Bootstrap, Version: , RELEASE SOFTWARE
[NPCT, Panel 5]
Main processor: XSCALE with 512M bytes of memory in slot 5
System with multiple processors (2 Network processors)
Every network processor with 512M bytes of memory
ROM(4M): System Bootstrap, Version:ZXR10 T128 BOOT 2.6.02,
RELEASE SOFTWARE
FPGA Version(Switch) : V42
CPLD Version(Np) : V65
CPLD Version(Interface) : V18
[NPCT, Panel 7]
Main processor: XSCALE with 512M bytes of memory in slot 7
System with multiple processors (2 Network processors)
Every network processor with 512M bytes of memory
ROM(4M): System Bootstrap, Version:ZXR10 T128 BOOT 2.6.02,
RELEASE SOFTWARE
FPGA Version(Switch) : V42
CPLD Version(Np) : V23
CPLD Version(Interface) : V17
M: Master processor
S: Slave processor
PhyMem: Physical memory (megabyte)
Panel CPU(5s) CPU(1m) CPU(5m) PhyMem Buffer Memory
SP(M) 1 5% 5% 4% 32 1% 40.637%
RP(M) 2 7% 7% 7% 511 0% 48.950%
MP(M) 2 4% 5% 17% 511 0% 40.383%
SP(S) 2 9% 9% 7% 64 1% 23.153%
NP(M) 5 16% 20% 57% 382 0% 39.983%
NP(M) 7 19% 22% 56% 382 0% 39.981%
Current privilege level is 15
Building configuration...
!**********Before interface -- show run on RP start!*********
!
!
urpf log off
!
eoam disable
no eoam authentication-key
!
!
protect
protect cpu-protect disable
protect slot 1 token 400
protect slot 2 token 400
protect slot 3 token 400
!
!
interface null1
out_index 1
!
interface fei_5/1
physical-layer mode npct
out_index 3
negotiation auto
protect interface token 25
!
interface gei_7/1
physical-layer mode npct
out_index 19
negotiation auto
protect interface token 100
!
!**********After interface -- show run on RP start!**********
!
ip nat stop
ip nat translation timeout class a 20
ip nat translation timeout class b 60
ip nat translation timeout class c 150
24 Conidential and Proprietary Information of ZTE CORPORATION
35. Chapter 2 Basic System Management
ip nat translation timeout class d 300
ip nat translation timeout class e 1200
ip nat translation timeout protocol icmp a
ip nat translation timeout protocol ip d
ip nat translation timeout protocol tcp d
ip nat translation timeout protocol tcp port 80 a
ip nat translation timeout protocol udp c
ip nat translation timeout protocol udp port 4000 d
ip nat translation maximal default 65535
!
!
time-range disable
!
bfd-version 1
!
!
version V4.08.21
!
nvram mng-ip-address 192.168.3.12 255.255.0.0
!
nvram boot-username wby
!
nvram boot-password 123456
!
nvram boot-server 192.168.3.111
!
nvram default-gateway 192.168.3.111
!
nvram imgfile-location network zxr10.zar
!
hostname ZXR10
!
enable secret level 15 5 RcMLuUKvnFZX9kNAV6A/UA==
!
!
user-authentication-type local
user-authorization-type local
!
line console 0
no login authentication
!
banner incoming @
**************************************************
Welcome to ZXR10 Carrier-Class High-end Router of
**************************************************
*****************
ZTE Corporation
*****************@
!
!
lfap disable
lfap max-send-fun-size 100
lfap update-interval 60
lfap server-retry-interval 60
lfap message-response-interval 60
lfap ka-interval 60
lfap flow-expired-time 600
!
!
!
snmp-server location No.68 Zijinghua Rd. Yuhuatai District,
Nanjing, China
snmp-server contact +86-25-52870000
snmp-server packetsize 1400
snmp-server engine-id 830900020300010289d64401
snmp-server view AllView internet included
snmp-server view DefaultView system included
!
!
!
protect
tcp synflood-protect disable
Conidential and Proprietary Information of ZTE CORPORATION 25
36. ZXR10 Command Manual (Basic Coniguration Volume I)
tcp synflood-protect defence 0 waittime 30 num 1
tcp synflood-protect max-connect high 90 low 60
tcp synflood-protect one-minute high 80 low 50
!
no ftp-server enable listen 21
ftp-server top-directory /flash/
!
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging cmdlog-interval 2880
logging timestamps datetime localtime
syslog-server facility local0
!
environ
alarm cpuload on
alarm temper on
alarm fan on
alarm power on
check cpuload interval 3
check temper interval 3
check fan interval 3
check power interval 3
cpuload-threshold high-grade 95 middle-grade 85 low-grade 75
temper-threshold BIC local lowthreshold -20
first-highthreshold 55 second-high
threshold 70
temper-threshold UPC master local lowthreshold -20
first-highthreshold 55 seco
nd-highthreshold 70
!
line console idle-timeout 120
line console absolute-timeout 1440
line telnet idle-timeout 120
line telnet absolute-timeout 1440
!
ssh server authentication ispgroup 1
ssh server authentication mode local
ssh server authentication type chap
no ssh server only
ssh server version 2
!
!
radius auto-change off
!
!
tacacs disable
tacacs-server timeout 5
tacacs-server packet 1024
!
!
!
end
con0 19:59:24 01/29/2001 UTC show running-config
con0 19:59:24 01/29/2001 UTC show privilege
con0 19:59:24 01/29/2001 UTC show processor
con0 19:59:19 01/29/2001 UTC show version
con0 19:59:19 01/29/2001 UTC show diag inf
con0 19:58:43 01/29/2001 UTC dir cfg
con0 19:58:32 01/29/2001 UTC dir data
con0 19:58:30 01/29/2001 UTC end
con0 19:58:06 01/29/2001 UTC show run | begin tem
con0 19:57:39 01/29/2001 UTC show run | begin tem
con0 19:57:33 01/29/2001 UTC show temperature
con0 19:57:27 01/29/2001 UTC show temperature
con0 19:57:24 01/29/2001 UTC con t
con0 19:57:22 01/29/2001 UTC en
con0 19:56:12 01/29/2001 UTC
ZXR10#
26 Conidential and Proprietary Information of ZTE CORPORATION
37. Chapter 2 Basic System Management
Related
Commands
show run
show privilege
Purpose Use this command to display the current terminal authority level
and command authority coniguration information.
Command Modes All modes
Syntax show privilege [{cur-mode | show-mode}{detail | level <
level>| node <command-keywords>}]
Syntax
Description
cur-mode Displays the current command mode authority
information.
show-mode Displays show command mode authority
information.
detail Displays all commands authority level.
level <level> Displays speciied authority level command.
<command-keywor
ds>
Displays speciic command authority level.
Instructions The command show privilege in EXEC mode is without parame-
ters .
Example This example describes how to display all commands that authority
level is 6 in privileged mode.
ZXR10#show privilege cur-mode level 6
Related
Commands
privilege
show running-config
Function Use this command to display the current coniguration information
of the system or a speciied interface.
Command Mode All modes except exec
Format show running-config [interface <interface-name>| voice-p
ort <voice-port>]
show running-config [{begin | exclude | include}<line>
Syntax
Description
interface <interface-
name>
Interface name
voice-port
<voice-port>
Voice interface name, only supporting the
GAR with the tone board
Conidential and Proprietary Information of ZTE CORPORATION 27
38. ZXR10 Command Manual (Basic Coniguration Volume I)
begin Displays the coniguration information starting
with the line including the speciied character
or character string
exclude Displays the coniguration information
exclusive of the line including the speciied
character or character string
include Displays the coniguration information
inclusive of the line including the speciied
character or character string
<line> Speciies a character or character string
Instructions � This command displays the active system coniguration.
� For ZXR10 GAR with the tone board, this command can be used
to specify the tone interface. The other model routers have no
tone interface parameter since they do not support VOIP.
show start running-config
Function Use this command to display the saved system coniguration in-
formation.
Command Mode All modes except exec
Syntax show start running-config [{begin | exclude | include}<lin
e>]
Syntax
Description
begin Displays the coniguration information starting
with the line including the speciied character
or character string
exclude Displays the coniguration information
exclusive of the line including the speciied
character or character string
include Displays the coniguration information
inclusive of the line including the speciied
character or character string
<line> Speciies a character or character string
Instructions � This command shows the saved system coniguration informa-
tion.
� This command is used with the show running-conig command
to check whether all the saved contents take effect after sys-
tem startup.
Related Command show running-config
28 Conidential and Proprietary Information of ZTE CORPORATION
39. Chapter 2 Basic System Management
show system-group
Function Use this command to display the system information.
Command Mode All
Syntax show system-group
Example This example describes how to display the system information of
GAR.
ZXR10#show system-group
System Description: ZXR10 Router Operating System Software ZTE Corporation
ZXROS V4.6.01. ZXR10_GAR V2.6.01. Compiled:
System ObjectId: .iso.org.dod.internet.private.enterprises.zte.3.100.6
Started before: 23374 Seconds
Contact with: +86-25-52870000
System name: ZXR10
Location: No.68 Zijinghua Rd. Yuhuatai District, Nanjing, China
This system primarily offers a set of 78 services
ZXR10#
show username
Function Use this command to display the list of the usernames who are
authorized for login, the passwords and authority level.
Command Mode All modes except exec
Syntax show username
Example This example describes how to display the list of the usernames,
who are authorized for login, the passwords and authority level.
ZXR10#show username
Username Password Privilege
user1 abcd 6
user2 cdef 15
Related Command username
show users
Function Use this command to display the terminal user information.
Command Mode All
Syntax show users
Example This example describes how to display the terminal user informa-
tion.
ZXR10#show users
Line User Host(s) Idle Location
* 66 vty 0 who idle 00:00:00 170.1.1.16
ZXR10#
The descriptions of the result ields are displayed below.
Conidential and Proprietary Information of ZTE CORPORATION 29
40. ZXR10 Command Manual (Basic Coniguration Volume I)
Line Number of the virtual terminal with the user
login Login user name ress
User Login user name
Host IP address of the login server when this router
logs in to another telnet server as a client
Idle Idle time
Location Client address
show user-group
Function Use this command to display the conigured user account informa-
tion.
Command Mode All modes except exec
Syntax show user-group [default | special <usergroup-name>]
Syntax
Description
default Speciies to conigure the public account
group
special Speciies to conigure the private account
group
<usergroup-name> Name of the private account group, with
1~16 characters
Insturction It is only applicable to ZXR10 GAR, ZXR10 ZSR.
Related
Commands
show username
user-group
username
show version
Function Use this command to display the software and hardware versions
of the system.
Command Mode All
Syntax show version
show version hardware
Function Use this command to display the software version of the system.
Command Mode All modes except exec
30 Conidential and Proprietary Information of ZTE CORPORATION
41. Chapter 2 Basic System Management
Syntax show version hardware
Example This example shows how to display the hardware version of the
system.
ZXR10#show version hardware
[RPU, Panel 2, master]
Main processor: X86-2 with 512M bytes of memory
ROM: System Bootstrap, Version: Copyright 1984-1996 Wi, RELEASE SOFTWARE
[MPU2, Panel 2, master]
Main processor: X86-2 with 512M bytes of memory
8K bytes of non-volatile configuration memory
64M bytes of processor board System flash (Read/Write)
ROM: System Bootstrap, Version: Copyright 1984-1996 Wi, RELEASE SOFTWARE
System serial: 30000
[SFC2, Panel 2, master]
Main processor: Power pc-2 with 32M bytes of memory
ROM: System Bootstrap, Version: ZXR10 BOOT V2.6.02-003, RELEASE SOFTWARE
[NPCT, Panel 2]
Main processor: XSCALE with 512M bytes of memory in slot 2
System with multiple processors (2 Network processors)
Every network processor with 512M bytes of memory
ROM(4M): System Bootstrap, Version:ZXR10 BOOT 2.6.03-001, RELEASE SOFTWARE
FPGA Version(Switch) : V43
CPLD Version(Np) : V65
CPLD Version(Interface) : V18
[NPCT, Panel 6]
Main processor: XSCALE with 512M bytes of memory in slot 6
System with multiple processors (2 Network processors)
Every network processor with 512M bytes of memory
ROM(4M): System Bootstrap, Version:ZXR10 T128 BOOT 2.6.02, RELEASE SOFTWARE
FPGA Version(Switch) : V43
CPLD Version(Np) : V65
CPLD Version(Interface) : V16
show version mec
Purpose Use this command to display hardware version information of MEC
board. ZXR10 6900 series rack supports this command.
Command Modes Privileged EXEC
Syntax show version mec <1~2>
Syntax
Description
1~2 The panel no of UPC board
Example This example describes how to show mec version information.
ZXR10#show version mec 2
PanelNo 2 MEC (Master) version information:
PCB Version: 040100
FPGA Version: 0x41
CPLD Version: 0x00
Processor version information:
Boot Version: Copyright 1984-1996 Wi
DRAM memory size: 512M Bytes
Flash memory size:64M Bytes
NVRAM memory size:8K Bytes
Related
Commands
boot config-file
auto-download config
Conidential and Proprietary Information of ZTE CORPORATION 31
42. ZXR10 Command Manual (Basic Coniguration Volume I)
show version midplane
Function Use this command to display the slot information.
Command Mode All modes except exec
Syntax show version midplane
Example This example shows how to display the slot information.
ZXR10#show version midplane
Midplane information:
Midplane WID: 01
PCB Version : 050401
UPC Slot quantity: 2
SFC Slot quantity: 2
NPC Slot quantity: 16
LIC Slot quantity: 16
BIC Slot quantity: 1
show version npc
Function Use this command to display the hardware version of npc board
Command Mode All modes except exec
Syntax show version npc <1~16>
Syntax
Description
The panel No. of npc board
Example This example shows how to display the hardware version of npc
board.
ZXR10#show version npc 2
PanelNo 2 NPCT main version information:
PCB Version: 040100
FPGA Version: 0x2b
CPLD Version: 0x41
Processor1 (Master NP) version information:
PCB Version: 040100
CPLD Version: 0x13
Boot Version: ZXR10 BOOT 2.6.03-001
SRAM memory size: 32M Bytes
DRAM memory size:512M Bytes
Processor2 (Slave NP) version information:
PCB Version: 040100
CPLD Version: 0x13
Boot Version: ZXR10 BOOT 2.6.03-001
SRAM memory size: 32M Bytes
DRAM memory size:512M Bytes
show version software
Function Use this command to display the software version of the system.
Command Mode All modes except exec
Syntax show version software
32 Conidential and Proprietary Information of ZTE CORPORATION
43. Chapter 2 Basic System Management
Example This example shows how to display the software version of the
system.
ZXR10#show version software
ZXR10 T128 Software, Version V2.08.21.B.04, RELEASE SOFTWARE
Copyright (c) 2000-2007 by ZTE Corporation
Compiled Apr 10 2008, 10:04:31
ZXR10 Router Operating System Software, ZTE Corporation
ZXR10 ROS Version V4.08.21
System image files from net: ftp://192.168.3.201/zxr10.zar
show version sfc
Function Use this command to display the hardware version of sfc board.
Command Mode Use this command to display the hardware version of sfc board.
Syntax show version upc <1~2>
Syntax
Description
The panel No. of sfc board
Example This example shows how to display the hardware version of sfc
board.
ZXR10#show version sfc 2
PanelNo 2 SFC version information:
PCB Version: 040100
FPGA Version: 0x21
CPLD Version: 0x00
Boot Version: ZXR10 BOOT V2.6.02-003
DRAM memory size: 32M Bytes
show version upc
Function Use this command to display the hardware version of upc board.
Command Mode All modes except exec
Syntax show version upc <1~2>
Syntax
Description
The panel No. of upc board
Example This example shows how to display the hardware version of upc
boar
ZXR10#show version upc 2
PanelNo 2 UPC (Master) version information:
PCB Version: 040100
FPGA Version: 0x41
CPLD Version: 0x00
Processor1 (MPU) version information:
Boot Version: Copyright 1984-1996 Wi
DRAM memory size: 512M Bytes
Flash memory size:64M Bytes
NVRAM memory size:8K Bytes
Processor2 (RPU) version information:
Boot Version : Copyright 1984-1996 Wi
DRAM memory size: 512M Bytes
ESC version information:
PCB Version: 050403
Band Type: 1
Conidential and Proprietary Information of ZTE CORPORATION 33
44. ZXR10 Command Manual (Basic Coniguration Volume I)
username
Function Use this command to conigure the login user name and password.
Cancel the user name with the no command.
Command Mode Global coniguration mode
Syntax username <username> password <password>
username <username> password {encrypted <encrypted-pa
ssword>|<password>}[privilege <0~15>]
Syntax
Description
<username> User name, with 1~16 characters and space
not allowed
<encrypted-passwo
rd>
Encrypted password, with 64 characters and
space not allowed
<password> Password, with 3~32 characters and space
not allowed
privilege <0~15> Authority level that binds with this user ,the
default value is 1
Instructions � The valid characters for the parameter<username> are as fol-
lows,
0123456789abcdefghijklmorqrstuvwxyz_
The valid characters for the parameter <password>
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-
JKLMNOPQRSTUVWXYZ‘*-=~!@#$%^&()_+[]{}|;’:,./<>
� username <username> password <password>[privilege
<0~15>]is only applicable to ZXR10 T64E/T128.
Example This example describes how to set the login password for the user
tom to pass and authority level is 6.
ZXR10(config)#username tom password pass privilege 6
Related Command show username
user-group
Function Use this command to conigure the user account information.
Delete the user account with the no command.
Command Mode Global coniguration
Syntax user-group {default | special <usergroup-name>}<username
><password>
no user-group {default | special <usergroup-name>}[<usern
ame>]
34 Conidential and Proprietary Information of ZTE CORPORATION
45. Chapter 2 Basic System Management
Syntax
Description
default Speciies to conigure the public account
group
special Speciies to conigure the private account
group
<usergroup-name> Name of the private account group, with
1~16 characters
<username> Account name, with 1~16 characters
<password> Account password, with 3~16 characters
Instructions � The public account group can also be conigured with the user
name command with the same effect.
� Here, account group name and account name is not case-sen-
sitive, but password is case-sensitive.
� This command is only applicable to ZXR10 GARZXR10 ZSR.
Example � This example describes how to conigure a public account
group,
ZXR10(config)#user-group default who who
� This example describes how to conigure the user account of
the private account group zxr10.
ZXR10(config)#user-group special zxr10 who who
Related
Commands
show user-group
username
who
Function Use this command to display the list of the current login users.
Command Mode Privileged
Syntax who
Example This example describes how to display the list of the current login
users.
ZXR10#who
Line User Host(s) Idle Location
* 66 vty 0 who idle 00:00:00 168.1.200.57
67 vty 1 abc idle 00:00:00 168.1.200.58
The descriptions of the result ields are displayed below.
Field Description
Line Number of the virtual terminal with the user
login
User Login user name
Conidential and Proprietary Information of ZTE CORPORATION 35
46. ZXR10 Command Manual (Basic Coniguration Volume I)
Field Description
Host IP address of the login server when this router
logs in to another telnet server as a client
Idle Idle time
Location Client address
36 Conidential and Proprietary Information of ZTE CORPORATION
47. C h a p t e r 3
File System Management
Table of Contents
cd ...................................................................................37
check dev-using ................................................................38
copy ................................................................................39
delete ..............................................................................39
dir...................................................................................40
format .............................................................................41
mkdir...............................................................................41
pwd.................................................................................42
rename ............................................................................42
rmdir ...............................................................................43
show lash-check...............................................................43
unmount ..........................................................................44
update-imgile ..................................................................44
write................................................................................45
write lash ........................................................................45
write imgile .....................................................................46
write nvram......................................................................47
cd
Function Use this command to enter a speciic ile device or the ile directory
of the current ile device.
Command Mode Privileged coniguration
Syntax cd <directory>
Syntax
Description
<directory> Two types are available: ile directory name
or ile device name, with 1~80 characters
Instructions � Types of the device name ixed in the system include lash,
usb1, usb2, sd and so on. Note that the ile device name must
be entered completely when enter into a speciied ile device.
� To enter the upper-level directory, the “.” and “..” directory
declarators are supported.
� The ile systems of ZXR10 series data products vary with the
model. ZXR10 GER ile name should be not more than 32 char-
acters. For the ile system only supporting other data products
in 8.3 format, its ile name should be not more than eight char-
acters.
Conidential and Proprietary Information of ZTE CORPORATION 37
48. ZXR10 Command Manual (Basic Coniguration Volume I)
Example � This example describes how to enter the lash ile device of the
system.
ZXR10#cd flash:
� This example describes how to enter the bin directory of the
current ile device.
ZXR10#cd /bin
� This example describes how to enter the upper-level directory.
Note that the space between “cd” and “..” can not be omitted.
ZXR10#cd .
Related
Commands
dir
mkdir
pwd
rmdir
check dev-using
Function Use this command to check the status of the speciied storage
device.
Command Mode Privileged coniguration
Syntax check dev-using {flash | usb1 | usb2 | cf | sd}
Syntax
Description
lash Inbuilt Flash storage device
Usb Peripheral storage device: usb 1
Usb Peripheral storage device: usb 2
cf Peripheral storage device: compact device
sd Peripheral storage device: Secure Disk
Instruction Only support USB, CF and SD in racks of specifc products
Example This example describes how to check the use stuts of inbuilt FLASH
in current rack
ZXR10#check dev-using flash
Related
Commands
copy
format
38 Conidential and Proprietary Information of ZTE CORPORATION
49. Chapter 3 File System Management
copy
Function Use this command to copy iles from a speciied directory of the
source ile system to a speciied directory of the destination ile
system.
Commnand Mode Privileged coniguration
Syntax copy <source-device><source-file><destination-device><desti
nation-file>
Syntax
Description
<source-device> Source device name
<source-file> Source directory and ile name, with 1~80
characters
<destination-device> Destination device name
<destination-file> Destination directory and ile name, with
1~80 characters
Instructions � The device name is of the ixed type in the system: lash:, tftp:
and ftp. Add mng command when copying through network
management interface.
� Since high-end routers such as t12869 support peripheral stor-
age device, lash and other peripheral storage cards such as sd,
cf can be used as local storage device.
� Since high-end routers such as t12869 support peripheral stor-
age device, lash and other peripheral storage cards such as sd,
cf can be used as local storage device.
� The total length of the directory name and ile name cannot
exceed 80 characters. ZXR10 GER ile name should be not
more than 32 characters. For the ile system only supporting
other data products in 8.3 format, its ile name should be not
more than eight characters.
Example This example describes how to copy the sys.dat ile under the img
directory of the lash device into the root directory of the FTP server
with IP address 168.1.1.1, user name test and password pass.
ZXR10#copy flash: img/sys.dat ftp: //168.1.1.1/sys.dat@test:pass
Related Command delete
delete
Function Use this command to delete the iles in a speciied directory of the
current ile device.
Command Mode Privileged coniguration
Syntax delete <filename>
Conidential and Proprietary Information of ZTE CORPORATION 39
50. ZXR10 Command Manual (Basic Coniguration Volume I)
Syntax
Description
<filename> Directory name and ile name, with 1~80
characters
Instruction � The total length of the directory name and ile name cannot
exceed 80 characters. The ZXR10 GER ile name should be not
more than 32 characters. For the ile system only supporting
other data products in 8.3 format, its ile name should be not
more than eight characters.
� The “.” and “..” directory declarators are supported.
Example This example describes how to delete the sys.dat ile in the current
directory.
ZXR10#delete sys.dat
Related
Commands
copy
rename
dir
Function Use this command to display the iles in the root directory of a
speciied ile device. Display the iles in a speciied directory or
the current directory of the current ile device.
Command Mode Privileged coniguration
Syntax dir [<directory>]
Syntax
Description
<directory> Directory name or device name, with 1~80
characters
Instructions If the device name is input, it should be of the ixed type in the
system:cf, lash, usb1, usb2, sd.
The total length of the directory name and ile name cannot ex-
ceed 80 characters. The ZXR10 GER ile name should be not more
than 32 characters. For the ile system only supporting other data
products in 8.3 format, its ile name should be not more than eight
characters.
Example This example describes how to show the img directory exists in
lash,
ZXR10#cd flash:
ZXR10#cd img
ZXR10#dir
Directory of flash:/img/
attribute size date time name
1 -rwx 9135845 AUG-01-2002 14:26:02 gar.zar
32007616 bytes total (40509440 bytes free)
The displayed ield descriptions are shown below.
Field Description
Attribute File attributes: d: directory, r: readable, w:
writeable, x: executable
40 Conidential and Proprietary Information of ZTE CORPORATION
51. Chapter 3 File System Management
Field Description
Size File size
Date File created date
Time File created time
Name File name
Related
Commands
cd
mkdir
pwd
rmdir
format
Function Use this command to format the storage device.
Command Mode Privileged coniguration
Syntax format {flash | usb1 | usb2 | cf | sd}
Syntax
Description
flash Inbuilt Flash storage device
usb1 Peripheral storage device: usb 1
usb2 Peripheral storage device: usb 2
cf Peripheral storage device: compact device
sd Peripheral storage device: Secure Disk
Instruction Only support USB, CF and SD in racks of specifc products
Example This example describes how to format inbuilt FLASH in current
rack.
ZXR10#format flash
Related
Commands
check dev-using
mkdir
Function Use this command to create a new sub-ile directory under the
current directory.
Command Mode Privileged coniguration
Syntax mkdir <directory>
Conidential and Proprietary Information of ZTE CORPORATION 41
52. ZXR10 Command Manual (Basic Coniguration Volume I)
Syntax
Description
<directory> Created directory name, with 1~80 characters
Instruction The total length of the directory name and ile name cannot ex-
ceed 80 characters. ZXR10 GER ile name should be not more
than 32 characters. For the ile system only supporting other data
products in 8.3 format, its ile name should be not more than eight
characters.
Example This example describes how to create a sub-directory named test
under the current directory.
ZXR10#mkdir test
Related
Commands
cd
dir
pwd
rmdir
pwd
Function Use this command to display the current directory path.
Command Mode Privileged coniguration
Syntax pwd
Example These examples describe how to display the current directory path.
� The current directory is the root directory in the system.
ZXR10#pwd
root:/
� The current directory is the root directory of lash ile device.
ZXR10#pwd
flash:/
� The current directory is the cfg directory of lash ile device
ZXR10#pwd
flash:/cfg
Related
Commands
cd
dirr
mkdir
rmdir
rename
Function Use this command to modify the name of a speciied ile directory.
42 Conidential and Proprietary Information of ZTE CORPORATION
53. Chapter 3 File System Management
Command Mode Privileged coniguration
Syntax rename <source-filename><destination-filename>
Syntax
Description
<source-filename> Source ile name or directory, with 1~80
characters
<destination-filena
me>
Modiied ile name, with 1~12 characters
Instructions � The total length of the directory name and ile name cannot
exceed 80 characters. ZXR10 GER ile name should be not
more than 32 characters. For the ile system only supporting
other data products in 8.3 format, its ile name should be not
more than eight characters.
� The source ile name can include the path, but the second pa-
rameter only includes the modiied name for the ile name in
the directory speciied in the irst parameter.
Example This example describes how to rename the sys.da ile in conig
directory into back.dat.
ZXR10#rename config/sys.dat back.dat
Related
Commands
copy
delete
rmdir
rmdir
Function Use this command to delete the speciied ile directory.
Command Mode Privileged coniguration
Syntax rmdir <directory>
Syntax
Description
<directory> Directory name, with 1~80 characters
Related
Commands
cd
copy
dir
mkdir
pwd
show flash-check
Purpose Use this command to check whether Flash space is matching or
not.
Conidential and Proprietary Information of ZTE CORPORATION 43
54. ZXR10 Command Manual (Basic Coniguration Volume I)
Command Modes Privileged EXEC
Syntax show flash-check
Instructions The platform version 4.8.22 and the upgrade versions support this
command. Check whether Flash is matching or not. If the sum of
free space and usage space in Flash is greater than Flash space,
then it will display that Flash memory check result is too large. Or,
it will display that Flash memory check result is too small.
Example This example describes how to check whether Flash space is full
or not.
ZXR10#show flash-check
Master MP flash is loaded.
Master MP flash checked OK.
Slave MP flash is loaded.
Slave MP flash checked OK.
ZXR10#
unmount
Purpose Use this command to uninstall a memory device.
Command Modes Privileged EXEC
Syntax unmount sd [ slave ]
Syntax
Description
sd Uninstalls sd card.
slave Only uninstalls memory device on slave
control.
Instructions The platform version 4.8.22 and the upgrade versions support this
command. It is used on ZXR10 6900 and ZXR10 8900. Only sup-
ports SD card currently. Other memory devices need to be ex-
tended by adding command parameter.
Example This example describes how to uninstall sd card.
ZXR10# unmount sd
SD device will be removed.Continue to unmount? [yes/no]:y
Starting unmount SD about several minutes, please wait...
... Unmount SD device successfully!
ZXR10#
update-imgfile
Function Use this command to replace the version iles in /system/ with iles
in /lash/img in current directory.
Command Mode Privileged coniguration
Syntax update-imgfile
Example Use this command to replace the version iles in /system/ with iles
in /lash/img in current directory.
44 Conidential and Proprietary Information of ZTE CORPORATION
55. Chapter 3 File System Management
ZXR10#update-imgfile
Updating the imgfile in system: ...
[ok]
write
Purpose Use this command to write coniguration information of the current
router into the lash, or write the current router-related system
parameters into the nvram.
Command Modes Privileged EXEC
Syntax write
write [{master|slave}][sd]
Syntax
Description
master Master device
slave Slave device
sd Uninstalls sd card
Instructions It is equivalent to the execution of both write lash and write nvram
commands.
The platform version 4.8.22 and the upgrade versions support
writing coniguration to SD card.
Example � This example describes how to save the current router infor-
mation.
ZXR10#write
Building configuration...
[ok]
� This example describes how to save the current router infor-
mation to SD card on master and slave devices.
ZXR10#write sd
Building configuration...
............Write config result on the sd:
UPC Status
master Successfully
Related
commands
write flash
write nvram
write flash
Function Use this command to write the coniguration information of the
current router into the lash.
Command Mode Privileged coniguration
Syntax write flash
Conidential and Proprietary Information of ZTE CORPORATION 45
56. ZXR10 Command Manual (Basic Coniguration Volume I)
Instruction When the equipment is started the next time, the coniguration in
the lash will take effect automatically.
Example This example describes how to write the coniguration information
of the current router into the lash.
ZXR10#write flash
Building configuration FLASH: ...
[ok]
Related
Commands
write
write nvram
write imgfile
Purpose Use this command to write the current running version into the
lash.
Command Modes Privileged EXEC
Syntax write imgfile [{master | slave}][sd]
Syntax
Description
master Writes version ile to master board.
slave Writes version ile to slave board.
sd Writes version ile to sd card.
Instructions When using the command write imgfile takes a long time, save
the coniguration to the master and slave boards respectively by
adding parameters (master, slave) in environments supporting
master/slave racks(69, t128). In this way to execute write
imgfile will not take a long time.
The platform version 4.8.22 and the upgrade versions support
writing coniguration to SD card.
Example � This example describes how to save the current router infor-
mation.
ZXR10#write
Building configuration...
[ok]
� This example describes how to save the current router infor-
mation to SD card on master and slave devices.
ZXR10#write sd
Building configuration...
............Write config result on the sd:
UPC Status
master Successfully
Related
commands
write flash
write nvram
46 Conidential and Proprietary Information of ZTE CORPORATION
57. Chapter 3 File System Management
write nvram
Function Use this command to write the current router-related system pa-
rameters into the nvram.
Command Mode Privileged coniguration
Syntax write nvram
Example This example describes how to write the current router-related
system parameters into the nvram.
ZXR10#write nvram
Building configuration...
[ok]
Related
Commands
write
write flash
Conidential and Proprietary Information of ZTE CORPORATION 47
58. ZXR10 Command Manual (Basic Coniguration Volume I)
This page is intentionally blank.
48 Conidential and Proprietary Information of ZTE CORPORATION
59. C h a p t e r 4
User Interface
Management
Table of Contents
answer-manual .................................................................49
answer-remote..................................................................50
line console 0....................................................................50
line console absolute-timeout..............................................50
line console idle-timeout.....................................................51
line telnet absolute-timeout ................................................51
line telnet access-class.......................................................52
line telnet idle-timeout .......................................................52
login................................................................................53
login authentication ...........................................................53
logout..............................................................................54
quit .................................................................................54
session ............................................................................54
show console-info..............................................................54
show history .....................................................................55
show terminal ...................................................................55
telnet...............................................................................56
telnet mng .......................................................................56
terminal length .................................................................57
user-authentication-type ....................................................57
user-authorization-type......................................................57
answer-manual
Function When remote access is conigured as manual answer in the router,
this command is input to allow the user to log in remotely and
manage the router.
Command Mode Privileged coniguration
Syntax answer-manual
Instruction It is only applicable to ZXR10 GER, ZXR10 GAR and ZXR10 ZSR.
Conidential and Proprietary Information of ZTE CORPORATION 49
60. ZXR10 Command Manual (Basic Coniguration Volume I)
Related
Commands
answer-remote
answer-remote
Function Use this command to conigure the remote access mode as auto-
matic answer or manual answer with the answer-manual command
in the router.
Command Mode Global coniguration
Syntax answer-remote {manual | auto}
Syntax
Description
manual Manual answer
auto Automatic answer
Instruction It is only applicable to ZXR10 GER, ZXR10 GAR and ZXR10 ZSR.
Related command answer-manual
line console 0
Function Use this command to enter into LINE coniguration mode
Command Mode Global coniguration
Syntax line console 0
Example This example describes how to enter LINE coniguration mode.
ZXR10(config)#line console 0
ZXR10(config-line)#
Related Command login authentication
line console absolute-time
out
Function Use this command to conigure the total using time of the login
serial interface terminal. After this command is executed, the total
using time of the console terminal is speciied. After this speciied
time, the serial interface terminal session will be closed. Cancel
the restriction with the no command
Command Mode Global coniguration
Syntax line console absolute-timeout <absolute-timeout> no line
console absolute-timeout
50 Conidential and Proprietary Information of ZTE CORPORATION