01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
TRANSCRIPT
ZXR10 M6000/T8000 Basic Operation
IP_OC180_E1_1
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
Content
ZXR10 basic configuration
ZXR10 system mode
ZXR10 file system
Interface configuration
Show the status of ZXR10 M6000//T8000
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
ZXR10COM ConsoleHyper
Terminal
ZXR10#clok ^
% Invalid input detected at '^' marker. ZXR10#cl? clear clock ZXR10#clock ? set Set the time and date
ZXR10#clock set? setZXR10#clock set ?hh:mm:ss Current Time
ZXR10#clock set 17:30:00 ?
Help Information and Error Hint
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.)
ZXR10>e?
enable exit
ZXR10>en?
enable
ZXR10>en
Password:
ZXR10#
ZXR10#shZXR10#show ruZXR10#show running-config
Use Tab key to complete the command
Command Abbreviation
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
Content
ZXR10 basic configuration
ZXR10 system mode
ZXR10 file system
Interface configuration
Show the status of ZXR10 M6000/T8000
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
…..
1. User mode
User Mode
User ModeEnter the user mode automatically when logging in to the systemLimited examination of routerCommand Prompt is ZXR10>
2. Privilege mode
Privilege Mode
Privileged (or enabled) ModeIn user mode, enter enable command and corresponding password to enterDetailed examination of routerEnables configuration and debuggingPrerequisite for other configuration modesCommand prompts is ZXR10#
3. Global configuration mode
Global Configuration Mode
Global Configuration ModeIn privileged mode, input config terminal command to enter into global configuration modeCommand prompts is ZXR10(config)#Commands in global configuration mode act on entire system, not merely on a protocol or interface.
4. Interface configuration mode
Interface Configuration Mode
Interface Configuration ModeIn global configuration mode, use interface command to enter interface configuration modeCommand prompts is ZXR10(config-if) #In interface configuration mode, the parameters of interface can be modified.
Route Configuration Mode
5. Route configuration mode
Route Configuration ModeIn global configuration mode, use router command to enter route configuration modeCommand prompts is :ZXR10(config) #router ospf 1ZXR10(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)
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
Content
ZXR10 basic configuration
ZXR10 system mode
ZXR10 file system
Interface configuration
Show the status of ZXR10 M6000/T8000
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.
Router Name
ZXR10(config)#hostname zte-universityZXR10(config)#exitZXR10#writeBuilding configuration.....[ok]ZXR10#
Set Basic System Information
Set name for the router
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
Enable Password
Set Password
ZXR10(config)#ZXR10(config)#nvram enable-password zxr10 zte zteZXR10(config)#
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
Version Upgrading PerquisitesPrepare 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 downloadingdirectory 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.
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.
Upgrading Version by Harddisk1. 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.
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.
Content
ZXR10 basic configuration
ZXR10 system mode
ZXR10 file system
Interface configuration
Show the status of ZXR10 M6000/T8000
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/1ZXR10(config-if)#
ZXR10(config-if)#exitZXR10(config)#
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>
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
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.
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 logicalinterface.Logical interface can not be generated according to the physicalinterface. It has to be created manually according to the actualrequirement.Once the interface is in up state (both physical and protocol states are up). It will never be down.
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
Configure NULL InterfaceNULL 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 thatavoid 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
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>
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.
R1 Configuration
R1(config)#interface gei-0/2/0/2.1R1(config-subif)#exitR1(config)#vlanR1(config-vlan)#interface gei-0/2/0/2.1R1(config-subvlan-if)#encapsulation-dot1q 100R1(config-subvlan-if)#exitR1(config-vlan)#exitR1(config)#interface gei-0/2/0/2.1R1(config-subif)#ip address 192.2.1.1 255.255.255.0R1(config-subif)#exit
R2 Configuration
R2(config)#interface gei-0/3/0/3.1R2(config-subif)#exitR2(config)#vlanR2(config-vlan)#interface gei-0/3/0/3.1R2(config-subvlan-if)#encapsulation-dot1q 100R2(config-subvlan-if)#exitR2(config-vlan)#exitR2(config)#interface gei-0/3/0/3.1R2(config-subif)#ip address 192.2.1.2 255.255.255.0R2(config-subif)#exit
Content
ZXR10 basic configuration
ZXR10 system mode
ZXR10 file system
Interface configuration
Show the status of ZXR10 M6000/T8000
show ip interface Command
ZXR10#show ip interface fei-0/3/0/1fei-0/3/0/1 AdminStatus is up, PhyStatus is down, line protocol is downInternet address is 180.1.1.1/24Broadcast address is 255.255.255.255IP MTU is 1500 bytes
ZXR10#
show ip interface Command
ZXR10# show ip interface briefinterface IP-Address Mask AdminStatus PhyStatus Protocolfei-0/3/0/1 unassigned unassigned up down downfei-0/3/0/2 180.1.1.1 255.255.255.0 up up upfei-0/3/0/3 unassigned unassigned up down downfei-0/3/0/4 unassigned unassigned up down down
System Information
ZXR10#show processorM : Master cpuS : Slave cpuCharacter: 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%--------------------------------------------------------------------------------------------------……
System Information (cont.)
ZXR10#show versionZXR10 M6000-08ZTE ZXR10 Software, Version: M6000 V1.0.0, Release softwareCopyright (c) 2010 by ZTE Corporation.Build on 2010/02/08 09:07:07System image file is <sysdisk0: verset/M6000_1.10.0.B25_rel.set>,file size is 306,392,922 BytesSystem image is loaded from netSystem uptime is 0 day(s), 0 hour(s), 24 minute(s)
[MPUF, shelf 0, slot 11]System BaudRate : 9,600 bpsMPU-0/11/0(M):Bootrom Version : V2.00………..
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?