You are on page 1of 35

Routing Switch Basic

Operation and Configuration


(8900E)
V3.02.01
Objectives

 Grasp the configuration methods of routing


switch
 Grasp the basic configuration on routing switch
 Interface configuration
 Watch on the information

2
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 file system
 System Parameters Configuration
 Interface Configuration
 System Information

3
ZXR10 Configuration Methods

 Configuration through
COM port

 Configuration in Telnet

 Configuration through
Secure Shell (SSH)

 Configuration through
SNMP

4
© ZTE Corporation. All rights reserved
Example -- Serial Port Connection
1,After connecting PC to Router
correctly, click Start > Programs 3,Select Com port,
> Accessories >Communications which is used for
> HyperTerminal connection with router,
click OK

2,Open the HyperTerminal,


Input the connection name
and select the desired icon 4,Configure port
attributes of the
selected serial port

5
© ZTE Corporation. All rights reserved
Example--Telnet Connection

 Run telnet command on local host computer.

 Click OK. The CLI window appears

6
© ZTE Corporation. All rights reserved
CLI Feature

Command Abbreviation
Error Hint ZXR10>e?

ZXR10#clok enable exit


^ ZXR10>en?
% Invalid input detected at '^' marker.
enable
ZXR10>en
Help Information
Password:
ZXR10#cl?
ZXR10#
clear clock
ZXR10#clock ?
set Set the time and date ZXR10#sh
ZXR10#clock set? ZXR10#show ru
set ZXR10#show running-config
ZXR10#clock set ?
hh:mm:ss Current Time Use Tab key to
ZXR10#clock set 17:30:00 ? complete the
command

7
© ZTE Corporation. All rights reserved
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 file system
 System Parameters Configuration
 Interface Configuration
 System Information

8
System command modes

 After powering on the system, start the Command Line


Interface (CLI) via the terminal.

1.User mode
2.Privilege mode (enable mode)
3.Global configuration mode
4.Interface configuration mode
5.Route configuration mode
6. BOOTP mode
……

9
© ZTE Corporation. All rights reserved
User Mode

1: User Mode
 When logging in to the system, the user enters the user mode
automatically.
 In user mode, a user can run commands, such as ping and
telnet and also can view some system information.
ZXR10>?
Exec commands:
disable Turn off privileged commands
enable Turn on privileged commands
Exit Exit from the EXEC
Login Login as a particular user
logout Exit from the EXEC
Ping Send echo messages
ping6 Send IPv6 echo messages
Quit Quit from the EXEC
show Show running system information
telnet Open a telnet connection
telnet6 Open a telnet6 connection
trace Trace route to destination
trace6 Trace route to destination using IPv6
who List users who are logining on
10
© ZTE Corporation. All rights reserved
Privileged Mode
2:Privileged Mode
 In user mode, enter enable command and corresponding password to enter
privileged mode
 In privileged mode, a user can view more detailed configuration information and
also can enter configuration mode to configure entire router.

ZXR10>enable
Password: (The input password will not be displayed on the screen)
ZXR10#
ZXR10# ?
Exec commands:
cd Change current working directory
clear Reset functions
clock Manage the system clock
configure Enter configuration mode
copy Copy from one file to another
debug Debugging functions
--More--

11
© ZTE Corporation. All rights reserved
Configuration Mode
3. Global Configuration Mode
 Global configuration mode

 Interface configuration mode

 Routing protocol configuration mode

ZXR10# configure terminal


ZXR10(config)#
ZXR10(config)# interface gei-0/1/0/1
ZXR10(config-if)#

ZXR10(config)# router ospf 1
ZXR10(config-router)#

12
© ZTE Corporation. All rights reserved
BOOTP Mode

4. BOOTP Mode
 In BOOTP mode CLI command can not be used
 There are a set of commands to implement limited system
maintain function
 Upgrading Version at Abnormality
 Configuring system password
System Bootstrap, ZXR10 8908E System Boot Version: 3.01
Creation date: Dec 15 2010, 15:04:05
Copyright (c) 2010 by ZTE Corporation.
Hit any key to stop autoboot: 0
[ZXR10 Boot]:
[ZXR10 Boot]:c
'.' = clear field; '-' = go to previous field; '^' = quit
Boot Location [0:Net,1:Flash] : 0 0
Client IP : 128.7.8.129 128.7.8.130
Netmask : 255.255.255.0 255.255.255.0
Server IP : 128.7.8.128 128.7.8.126
Gateway IP : 128.7.8.1 128.7.8.2
FTP User : zxr10
……
13
© ZTE Corporation. All rights reserved
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 File system
 System Parameters Configuration
 Interface Configuration
 System Information

14
ZXR10# dir --Displays files, subdirectory information
Flash file system Directory of MP-0/T1/0: /flash
262144 KB total (107352 KB free)

attribute size date time name


 flash 1
2
<DIR>
<DIR>
2048
2048
05-29-2015 15:35
05-29-2015 15:35
.
..
System image files, 3 <DIR> 10 01-16-2013 18:17 255_1_65535_255
hsmp.set 4 <DIR> 2048 02-20-2013 19:18 EXCINFO
5 <DIR> 2048 04-21-2015 15:58 256
 DATA0 6 ---- 12792 05-29-2015 09:03 Exc_pp.txt
Configuration files 7 <DIR> 2048 05-29-2015 15:31 LOG
8 ---- 10725 05-29-2015 09:02 Exc_Omp.txt
startrun.dat 9 ---- 82423851 05-29-2015 15:36 hsmp.set
 LOG 10 <DIR> 2048 09-16-2015 13:42 DATA0
Records alarm ……
information
ZXR10# cd DATA0 --Into a file directory
ZXR10# pwd --Displays current directory path
xxx.log MP-0/T1/0: /flash/DATA0

ZXR10#dir
Directory of MP-0/T1/0: /flash/DATA0
262144 KB total (107340 KB free)

attribute size date time name


1 <DIR> 2048 12-23-2015 13:49 .
2 <DIR> 2048 12-23-2015 13:49 ..
3 ---- 7866 12-23-2015 13:49 startrun.dat

15
© ZTE Corporation. All rights reserved
System configuration file
RAM flash
Running-Config Startrun.dat

show
running-config

Console

 startrun.dat
-- The startrun.dat configuration has been written into
FLASH, and still exists after power-off and restart

 running
--The running configuration has been written into
memory, and ceases to exists after power-off and restart

16
© ZTE Corporation. All rights reserved
Save configuration file

ZXR10#
ZXR10# write
Building configuration...
..
[ok]

ZXR10#

Save running configuration to startup configuration file, then it can


be used when the system reboot.

17
© ZTE Corporation. All rights reserved
Backing Up Configuration File
 Configuring a Router as FTP Client, Execute wftpd32.exe, and WFTPD
window

 Click Security, and select User/Rights…

18
© ZTE Corporation. All rights reserved
Backing Up Configuration File
 Execute the following steps in User/Rights Security Dialog,
i. Click New User to create a new user, such as target, and set
password.
ii. Select target in the pull down list box of User Name.
iii. Input the directory of edition files or configuration files in the
box of Home Directory, such as IMG catalog in D disk

19
© ZTE Corporation. All rights reserved
Backing Up Configuration File
 To prevent the configuration file being destroyed, use the copy
command to back up it

ZXR10# copy ftp < source-device> < source-file> < destination-device> <
destination-file>

 Example
User name is who, and password is who. User uploads the file
startrun.dat from the directory cfg to the ftp server with IP
address 192.168.4.244

ZXR10#copy ftp root: /flash/DATA0/startrun.dat //192.168.4.244/startrun.dat@who:who


Starting copying file
.
file copying successful.

20
© ZTE Corporation. All rights reserved
Recovering Configuration File
 To recover the configuration file in FLASH from background FTP
server, use the following command.

ZXR10# copy ftp < source-device> < source-file> < destination-device> <
destination-file>

 Example
User name is who, and password is who. User downloads the file
startrun.dat from the ftp server with IP address 192.168.4.244,
and rename it as “startrun.bak”

ZXR10# copy ftp: //192.168.4.244/startrun.dat@who:who root: /flash/DATA0/startrun.bak


Starting copying file
.
file copying successful.

21
© ZTE Corporation. All rights reserved
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 File system
 System Parameters Configuration
 Interface Configuration
 System Information

22
Set Basic System Information
Router Name
ZXR10(config)# hostname zte-university
zte-university(config)# exit
zte-university# write
Building configuration...
..
[ok]
zte-university#

Welcome Words
ZXR10(config)# banner incoming C
You have entered a secured system.Authorized access only!
C
ZXR10(config)#

23
© ZTE Corporation. All rights reserved
System Time

 Configuring System Time


ZXR10# clock set <hh:mm:ss><MM-DD-YYYY>

Example:
Configure the system time as 23:12: 01 on Feb, 23, 2011

ZXR10#clock set 23:12:01 02-23-2011

24
© ZTE Corporation. All rights reserved
Password

 Telnet User Name and Password


ZXR10(config-system-user)#user-name <username>
ZXR10(config-system-user-username)#password<password>

 Set enable Password


ZXR10(config)#enable secret level 15 zte

25
© ZTE Corporation. All rights reserved
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 File system
 System Parameters Configuration
 Interface Configuration
 System Information

26
Interface Type - 1

 Physical interface
 fei: 100M Etherent
 gei: Gigabit Ethernet Interface
 xgei: 10 Gigabit Ethernet Interface

Naming Rules :
<Interface type>_<frame ID>/<Slot ID><Sub-cardID>/<Port ID>.<Sub-
interface ID>
For example,
Gei-0/1/0/1 : No.1 port on No.0 Gigabit Ethernet subcard on No.1 slot
on No.0 frame

27
© ZTE Corporation. All rights reserved
Interface Type - 2

 Logical interface
 loopback: loopback interface
 gre_tunnel: GRE tunnel
 smartgroup: Smartgroup interface
 supervlan: Supervlan interface
 Null: NULL interface
 te_tunnel: TE tunnel
 v6_tunnel: V6 tunnel
Naming Rules :
<Interface type><Port ID>
For example,
smartgroup6: No.6 Smartgroup interface

28
© ZTE Corporation. All rights reserved
Ethernet Interface Configuration
1. Enters into interface configuration mode

ZXR10(config)# interface < port-name>

2. Enables an Ethernet port

ZXR10(config-if-port-name)#no shutdown

3. Enabling Auto-Negotiation

ZXR10(config-if-port-name)# negotiation auto

4. Enabling Duplex Mode

ZXR10(config-if-port-name)# duplex {half|full}

5. Enabling Ethernet Port Rate

ZXR10(config-if-port-name)# speed {10|100|1000}

29
© ZTE Corporation. All rights reserved
Viewing Port Information
• Views the information about all interfaces

ZXR10#show interface

•Views the information about the specified interface

ZXR10(config)# show interface [<interface-name>]

• Views the summary information about all interfaces

ZXR10#show interface brief

• Views the summary information about the interface on the slot of the shelf.

ZXR10#show interface brief [shelf <shelf number>][slot <slotnumber>]

30
© ZTE Corporation. All rights reserved
Viewing Port Information
ZXR10(config)#show interface gei-0/3/0/1
gei-0/3/0/1 is administratively down, line protocol is down
Description is none
Hardware is Gigabit Ethernet, address is 00d0.d0c0.0c80
Internet address is unassigned
IP MTU 1500 bytes
MTU 1600 bytes
BW1000000 Kbits
MPLS MTU 1500 bytes
The port is optical
Duplex auto
Negotiation auto
Last Clear Time : 2012-04-25 09:27:04 Last Refresh Time: 2012-04-25 14:37:41
120s input rate : 0Bps 0Pps
120s output rate: 0Bps 0Pps
Intf utilization: input 0% output 0%
……

ZXR10#show interface b
Interface Portattribute Mode BW(Mbits) Admin Phy Prot Description
xgei-0/1/0/1 optical Duplex/full 10000 up down down none
xgei-0/1/0/2 optical Duplex/full 10000 down down down none
xgei-0/1/0/3 optical Duplex/full 10000 up down down none

31
© ZTE Corporation. All rights reserved
Contents

 ZXR10 Configuration Methods


 ZXR10 System modes
 ZXR10 File system
 System Parameters Configuration
 Interface Configuration
 System Information

32
System Information--Version
ZXR10# show version
ZXR10 8902E Software, 8900&8900E Version: V3.02.01.B07, RELEASE SOFTWARE
Copyright (c) 2010-2020 by ZTE Corporation.
Compiled 2014-10-24, 15:34:01
System image files are:</flash/hsmp.set>
System uptime is 0 days, 0 hours, 32 minutes
[MP(M) , shelf 0 ,panel T1]
cpu 0
Main processor : PowerPC P1020E Processor
Bootrom Version : V1.05
Memory : 2048 Mbytes
System Flash : 256 Mbytes
System Serial : -1
Serial Number : 18446744073709551615
System baud : 9600 baud
System nvram : 8 kbytes
CPUcard CPLD : V1.0
FPGA Version : V1.50
CLK_ASC Version : V4.9.7
CLK_EPLD Version : V1.0
System SD : 0 Mbytes
CPLD Version : V1.60
Board Type : HMCR
Board Name : 8902EMCS1D
……
33
© ZTE Corporation. All rights reserved
System Information--Configuration and CPU
ZXR10# show run
Building configuration...
……
interface vlan 1
ip address 10.40.87.189 255.255.252.0
……

ZXR10(config)#show processor
============================================================================
============================================================================
M : Master CPU
……
CPU threshold: 80
MEM threshold: 80
============================================================================
=============================================================================
Shelf phySlot CPUID Power CPU(5s) CPU(1m) CPU(5m) Peak PhyMem FreeMem Mem
=============================================================================
MP(M) 0 5 0 96 16% 16% 16% 23% 1024 353 65.455%
-----------------------------------------------------------------------------------------------------------------------------------
--
MP(S) 0 6 0 92 8% 8% 8% 9% 1024 538 47.439%
-----------------------------------------------------------------------------------------------------------------------------------
--
NP 0 2 0 86 19% 19% 18% 21% 1024 669 34.620%
-----------------------------------------------------------------------------------------------------------------------------------
--
……

34
© ZTE Corporation. All rights reserved

You might also like