2. Objectives
Upon completion of this chapter you will be able
to:
Understand how to configure ZXR10 M6000/T8000
Master how to configure file system
Master how to configure interface
Master how to show the status of ZXR10 M6000/T8000
4. ZXR10 M6000/T8000 Configuration Methods
COM port configuration
TELNET connection
configuration
SSH connection configuration
SNMP connection configuration
TFTP/FTP connection
configuration
TFTP/FTP/Radius
Server
TELNET/SSH Host SNMP Network
Management
ZXR10
COM Console
Hyper
Terminal
5. ZXR10#clok
^
% Invalid input detected at '^' marker.
ZXR10#cl?
clear clock
ZXR10#clock ?
set Set the time and date
ZXR10#clock set?
set
ZXR10#clock set ?
hh:mm:ss Current Time
ZXR10#clock set 17:30:00 ?
Help Information and Error Hint
6. apr April
aug August
dec December
feb February
jan January
jul July
jun June
mar March
may May
nov November
oct October
sep September
ZXR10#clock set 17:30:00 may ?
<1-31> Day of the month
ZXR10#clock set 17:30:00 may 12 ?
<2001-2098> Year
ZXR10#clock set 17:30:00 may 12 2010 ?
<cr>
ZXR10#clock set 17:30:00 may 12 2010
ZXR10#
Help Information and Error Hint(cont.)
8. Use Extend Edit Command
<Ctrl-A>
<Ctrl-E>
< >
< >
<backspace>
ZXR10> show history
Move to the end of the command line.
Move to the beginning of the command line.
Move forward one character.
Move back one character.
Input characterInput character
Delete a single character.
Ctrl-P or Up arrow Last (previous) command recall
Ctrl-N or Down arrow More recent command recall
Show command buffer contents
10. System Command Modes
ZXR10 M6000/T8000 assigns commands to different
modes according to different functions and rights.
Command modes of ZXR10 M6000/T8000 are as
follows.
1.User mode
2.Privilege mode(enable mode)
3.Global configuration mode
4.Interface configuration mode
5.Route configuration mode
…..
11. 1. User mode
User Mode
User Mode
Enter the user mode automatically
when logging in to the system
Limited examination of router
Command Prompt is ZXR10>
12. 2. Privilege mode
Privilege Mode
Privileged (or enabled) Mode
In user mode, enter enable command and
corresponding password to enter
Detailed examination of router
Enables configuration and debugging
Prerequisite for other configuration modes
Command prompts is ZXR10#
13. 3. Global configuration mode
Global Configuration Mode
Global Configuration Mode
In privileged mode, input config terminal
command to enter into global configuration
mode
Command prompts is ZXR10(config)#
Commands in global configuration mode act
on entire system, not merely on a protocol or
interface.
14. 4. Interface configuration mode
Interface Configuration Mode
Interface Configuration Mode
In global configuration mode, use interface
command to enter interface configuration
mode
Command prompts is ZXR10(config-if) #
In interface configuration mode, the
parameters of interface can be modified.
15. Route Configuration Mode
5. Route configuration mode
Route Configuration Mode
In global configuration mode, use router
command to enter route configuration mode
Command prompts is :
ZXR10(config) #router ospf 1
ZXR10(config-ospfv2) #
Routing protocols used are Routing Information
Protocol (RIP), Open Shortest Path First
(OSPF), Intermediate System-to- Intermediate
System (IS-IS) and Border Gateway Protocol
(BGP)
16. Mode Switch
Enter or exit system command mode:
Enter enable mode from user mode:
ZXR10>enable
ZXR10#
Enter configuration mode from enable mode:
ZXR10#config t
ZXR10(config)#
Enter ‘exit’ or press ‘carriage return’ or press ‘Ctrl+Z’,
to return back to the upper layer command mode
18. File System Overview
On ZXR10 M6000/T8000, the main harddisk needs two
independent partitions. One partition /sysdisk0 occupies
8G space, and the rest space is another partition
/datadisk0.
/sysdisk0 does not support format operation. Users can perform some
operations to files, such as rename, delete and dir, copy, but they can not
create and delete directory. Version file, configuration file, system halted
file and abnormal log are restored in /sysdisk0.
The partition /datadisk0 is used by user to restore various log (such as
alarm log and command operation log) and performance statistic data
files.
20. Set Basic System Information (cont.)
Set system location and system
contact information
ZXR10(config)#location ?
LINE The physical location of this system (max be 200
characters)
ZXR10(config)#location BB-04 zijinghua road 68
Nanjing China
ZXR10(config)#contact ?
LINE System contact information (max be 200 characters)
ZXR10(config)#contact Zijinghua road Nanjing China
22. Version Upgrade
On ZXR10 M6000/T8000, there are three version
upgrading modes:
Upgrade the whole software system by network mode
Upgrade the whole software system by hard disk mode
Upgrade software system patch by ISCU mode
23. Version Upgrading Perquisites
Prepare a PC that FTP sever software is installed. Configure its IP
address and make sure that PC and ZXR10 management interface IP
addresses are in the same network segment.
Create a user in FTP server. Configure password and file downloading
directory. Save the new distribution set in the file downloading
directory in FTP server. Start FTP server.
Connect serial port of ZXR10 to serial port of FTP server with the
console cable. Connect management interface of ZXR10 to network
port of FTP server with Ethernet cable. Make sure that the connections
are correct.
Affirm the version number of the new distribution set file.
24. Upgrading Version by Network BOOT Mode
1. Delete the old distribution set file under the directory /sysdisk0/verset/
on ZXR10 M6000/T8000 main control board.
2. Modify BOOT start-up parameters, and then power down and restart
ZXR10 M6000/T8000.
3. System is booted. Enter man-machine interface, execute show
version command to view whether the displayed distribution file
name is consistent with the new distribution version number.
25. Upgrading Version by Harddisk
1. Delete the old distribution set file under the directory /sysdisk0/verset/
in ZXR10 M6000/T8000 main control board.
2. Copy the new distribution file from background to /sysdisk0/verset/
directory in main control board.
3. Install version by harddisk : install add harddisk: /sysdisk0/verset/
M6k_10_1.1.0.set.
4. Configure Boot mode of main control board MPU: nvram imgfile-
location local
5. System is booted. Enter man-machine interface, execute show
version command to view whether the displayed distribution file name
is consistent with the new distribution version number.
26. Upgrading Software Patch by ISCU Mode
1. Make a software patch M6000_1.0.0_patch_001.set which only
contains TFTP service software. The version is 1.0.1.
2. Download the patch M6000_1.0.0_patch_001.set from the FTP
server to PC, and install the patch.
3. Activate the patch M6000_1.0.0_patch_001.set, upgrade TFTP
service software.
4. The all online cards obtain service software.
5. Use show software command to view the software information of
the online cards.
28. Interface Configuration
• Interface naming rules:
<Interface type>_<frame ID>/<Slot ID><Sub-card ID>/<Port ID>.<Sub-
interface or Channel ID>
gei means the interface type is Gigabit Ethernet, 0 means frame number, 1 means
slot number, 0 means Sub-card number, 1 means port number
Exit from the interface configuration mode
ZXR10(config)#interface gei-0/1/0/1
ZXR10(config-if)#
ZXR10(config-if)#exit
ZXR10(config)#
29. View Interface Information
Show the information of a specified interface.
show ip interface [<interface-name>]
Show the related configuration information of a specified interface.
show running-config-interface <interface-name>
30. Configure Ethernet interface
Enter interface configuration mode, Delete IP address under
interface mode
ZXR10(config)#interface fei-0/3/0/1
ZXR10(config-if)#
ZXR10(config)#no interface fei-0/3/0/1
configure IP address and subnetwork mask of interface.
ZXR10(config)#interface fei-0/3/0/1
ZXR10(config-if)# ip address 10.1.1.1 255.255.255.0
31. Configure POS interface
ZXR10(config)#interface POS192-0/3/0/1
ZXR10(config-if)# ip address 10.1.1.1 255.255.255.0
Enter interface configuration mode, configure IP address on
POS interface
ZXR10(config)#pm
ZXR10(config-pm)#clock mode < interface-name> < clock>
For better quality of communication, POS interface has two
choices in clock, link extract clock and internal clock.
32. Logical Interface Overview
Logical interface is not real existent, which is configured by
user manually. ZXR10 M6000/T8000 supports the
following logical interfaces, Loopback, NULL and
SuperVLAN, SmartGroup interfaces and so on.
These logical interfaces have some common points.
There is no real physical interface corresponding to the logical
interface.
Logical interface can not be generated according to the physical
interface. It has to be created manually according to the actual
requirement.
Once the interface is in up state (both physical and protocol states
are up). It will never be down.
33. Configure Loopback Interface
ZXR10(config)#interface loopback1
ZXR10(config-if)#
Configure IP address and mask of Loopback interface
ZXR10(config)#interface loopback1
ZXR10(config-if)# ip address 10.1.1.1 255.255.255.0
Enter Loopback interface configuration mode
34. Configure NULL Interface
NULL interface is a logical interface, IP address can not be
configured on NULL interface.
NULL interface is applied to BGP that saves a IP address,
and it also can be used to configure blackhole route that
avoid loop.
All the data packets transmitting to NULL interface are
discarded.
For example, use static route configure NULL interface to discard
all the packets transmitting to 192.101.0.0.
ZXR10(config)#ip route 192.101.0.0 255.255.0.0 null1
35. Configure VLAN Interface
1. Enter VLAN configuration mode
ZXR10(config)#vlan-configuration
2. Enter VLAN sub-interface service configuration mode
ZXR10(vlan-config)#interface <interface-name>
3. Encapsulate VLAN-ID for new created sub-interface
ZXR10(subvlan-if-config)#encapsulation-dot1q <vlan-id>
4. Configure IP address for sub-interface
ZXR10(config-subif) #ip address < ip-addr> < net-mask>
36. VLAN Interface Configuration Example
As shown below, it is required to realize the accessing
and routing of users in different VLANs on the same
physical Ethernet interface by using VLAN sub-interfaces.
Configuration Thought:
1. Create a sub-interface.
2. Enter sub-interface VLAN configuration mode.
3. Configure VLAN-ID.
4. Configure IP address for the sub-interface.
40. show ip interface Command
ZXR10#show ip interface fei-0/3/0/1
fei-0/3/0/1 AdminStatus is up, PhyStatus is down, line protocol
is down
Internet address is 180.1.1.1/24
Broadcast address is 255.255.255.255
IP MTU is 1500 bytes
ZXR10#
41. show ip interface Command
ZXR10# show ip interface brief
interface IP-Address Mask AdminStatus PhyStatus Protocol
fei-0/3/0/1 unassigned unassigned up down down
fei-0/3/0/2 180.1.1.1 255.255.255.0 up up up
fei-0/3/0/3 unassigned unassigned up down down
fei-0/3/0/4 unassigned unassigned up down down
42. System Information
ZXR10#show processor
M : Master cpu
S : Slave cpu
Character: Cpu curent character in system
……
Character Temp CPU(5s) CPU(1m) CPU(5m) Peak PhyMem FreeMem Mem
==========================================================
PFU-0/1/0 N/A 44 7% 7% 6% 12% 2048 930 54.590%
--------------------------------------------------------------------------------------------------
PFU-0/2/0 N/A 46 5% 4% 4% 9% 2048 1177 42.529%
--------------------------------------------------------------------------------------------------
PFU-0/4/ N/A 43 27% 28% 28% 39% 2048 796 61.133%
--------------------------------------------------------------------------------------------------
……
43. System Information (cont.)
ZXR10#show version
ZXR10 M6000-08
ZTE ZXR10 Software, Version: M6000 V1.0.0, Release software
Copyright (c) 2010 by ZTE Corporation.
Build on 2010/02/08 09:07:07
System image file is <sysdisk0: verset/M6000_1.10.0.B25_rel.set>,
file size is 306,392,922 Bytes
System image is loaded from net
System uptime is 0 day(s), 0 hour(s), 24 minute(s)
[MPUF, shelf 0, slot 11]
System BaudRate : 9,600 bps
MPU-0/11/0(M):
Bootrom Version : V2.00
………..
44. Questions
How many configuration files are there in the
router? And the difference between them?
How to create interface and configure IP address?
How to upgrade the version of ZXR10
M6000/T8000?
What to do when the router is unable to startup
because of the broken file?