Escolar Documentos
Profissional Documentos
Cultura Documentos
HUAWEI
IntroductiontoRouterCom m a n dL i n e
SolutionWhenPasswordIsLost RouterUpgrade BasicOperationCommand
www.huawei.com
www.huawei.com
Router Function
HUAWEI
www.huawei.com
Work Process
Router
Router
IP
ETH
Remove E n c a p s u l a t i o nEthernet
IP
PPP
Serial Port Protocol Encapsulation
PPP
Serial Port
ETH
Ethernet Interface
Interface
L A N 1
Send
W A N
Transmit
L A N 2
Receive
www.huawei.com
Route Table
HUAWEI
Destination Address
Mask Code
IllustrationofRouteTableContents
www.huawei.com
Quidway R1602
HUAWEI
Configuration interface
www.huawei.com
Router Configuration
HUAWEI
Configuration via console interface Remote configuration via dial-up Configuration via telnet Configuration via mute terminal Transmit configuration file via ftp
www.huawei.com
www.huawei.com
www.huawei.com
Take the "Hyper Terminal" brought with WINDOWS98 for example. Click on "Start" "Programs""Accessories""Communications""Hyper Terminal". After entering "Hyper Terminal" directory, select "Hypertrm", then you can newly creat a "hyper terminal".
www.huawei.com
www.huawei.com
modem
modem
Backup Cable
Connectrouterandcomputerrespectivelytomodem
www.huawei.com
www.huawei.com
www.huawei.com
Ethernet
1.StartFtpserveronrouter 2. Start client programonterm in a l
www.huawei.com
C o m m o nu s e rm o d e Privilegeduserm ode G lobal configuration m ode In terface configuration m ode Routeprotocolconfigurationm ode
www.huawei.com
console
Q u id w a y > ? e n a b l e T u r no np r ivilegedcom m a n d s e x it E x it fromE X E C h e lp Descriptionoftheinteractivehelpsystem l a n g u a g e S w itchl a n g u a g em o d e( E n g l ish,Chinese) p in g S e n de c h om e s s a g e s s h o w S h o wr u n n ingsystemin form a tion telnet Connectrem otecom p u ter tracert Traceroutetodestination
www.huawei.com
Q u id w a y > e n a b le P a s s w o r d : Q u id w a y # ? clear Resetfunctions clock M a n a g ethesystemclock c o n figure Enterconfigurationm o d e d e b u g D e b u g g in gfu n c tion s d isable Turnoffprivilegedcom m a n d s d o w n l o a d D o w n l o a dt h en e wv e r s ionsoftw a re a n dc o n fig erase Erasetheconfigurationinflashm e m o ry ---- More(PressCTRL_Ctobreak)---www.huawei.com
www.huawei.com
www.huawei.com
Help Online
HUAWEI
Q u id w a y # h e lp H e lpm a yb er e q u e s t e da ta n yp o in t inac o m m a n db y e n tering aquestion m a rk '?'. If nothin gm a tches,the h e lp list w ill b ee m p ty. Twostylesofhelpareprovided: 1.Fullhelpisavailable whenyouarereadytoentera com m a n da rgum e n t(e.g.'show? ')anddescribes e a c h possibleargum e n t. 2.Partialhelpisprovidedw h e na na b b r e v iated a r g u m e n tisentered a n dy o uw a n ttoknoww h a t a r g u m e n tsm a tch theinput(e.g.'shows n ? ' ).
www.huawei.com
HUAWEI
www.huawei.com
History Command
HUAWEI
Quidway#show history
enable config int s0 exit
<ctrl><p> OR <ctrl><o> OR
www.huawei.com
Edit Characteristics
HUAWEI
Common keypress Input character to current cursor position BackSpace Delete character previous to cursor position Delete Delete character at cursor position Left cursor key Cursor moves a character posision leftwards Right cursor key Cursor moves a character posision rightwards Up & down cursor key Display history command
www.huawei.com
Display Characteristics
HUAWEI
Language Key in 'Ctrl+c' at display pause Key in space bar at display pause Key in Enter at display pause
Chinese/English display switchover Stop display and command execution Continue to display next screen informaton Continue to display next line information
www.huawei.com
www.huawei.com
Router Upgrade
HUAWEI
www.huawei.com
console
www.huawei.com
HUAWEI
www.huawei.com
HUAWEI
Boot Menu: 1: D o w n load application program 2: D o w n load Bootrom program 3: Modify Bootrom password 4: Exit the menu 5: Reboot Enter your choice(1-5): 1
www.huawei.com
HUAWEI
www.huawei.com
HUAWEI
www.huawei.com
Ethernet
www.huawei.com
Ethernet
www.huawei.com
BootMenu: 1: Download application program with XMODEM 2: Download application program with TFTP 3: Clear application password 4: Clear configuration 5: Exit and reboot Enter your choice(1-5): 2
www.huawei.com
Command to view system status and system information:show Debug command:debug,monitor Test tool:ping,tracert
www.huawei.com
www.huawei.com
show version
HUAWEI
1.0
www.huawei.com
show running-config
HUAWEI
h u a w e i-bj(config)#showr u n n ing-config C u rrentconfiguration hostnam eh u a w e i-bj ! in terfaceEthernet0 ipaddress100.10.110.1255.255.0.0 ! in terfaceSerial0 encapsulationppp ipaddress11.1.1.2255.255.255.252 e x it iproute10.110.0.0255.255.0.011.1.1.1preference60 ! e n d
www.huawei.com
huawei-bj(config)#show interface serial 0 Serial0 is up, line protocol is up physical layer is synchronous, baudrate is 64000 bps interface is DCE, clock is DCECLK, cable type is RS232 Internet address is 11.1.1.2 255.255.255.252 Encapsulation is PPP LCP opened, IPCP opened, IPXCP initial 5 minutes input rate 52.63 bytes/sec, 0.96 packets/sec 5 minutes output rate 60.00 bytes/sec, 1.19 packets/sec Input queue is 0/75/0 (current/max/drops) Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 539 packets input, 24907 bytes, 0 no buffers 670 packets output, 29586 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
www.huawei.com
www.huawei.com
#ping 11.1.1.1 PING 11.1.1.1: 56 data bytes, press CTRL_C to break Reply from 11.1.1.1: bytes=56 Sequence=0 ttl=255 time = 31 ms Reply from 11.1.1.1: bytes=56 Sequence=1 ttl=255 time = 31 ms Reply from 11.1.1.1: bytes=56 Sequence=2 ttl=255 time = 32 ms Reply from 11.1.1.1: bytes=56 Sequence=3 ttl=255 time = 31 ms Reply from 11.1.1.1: bytes=56 Sequence=4 ttl=255 time = 31 ms --- 11.1.1.1 ping statistics --5 packets transmitted 5 packets received 0.00% packet loss round-trip min/avg/max = 31/31/32 ms
www.huawei.com
huawei-bj#tracert 10.110.201.186 traceroute to 10.110.201.186(10.110.201.186) 30 hops max,40 bytes packet 1 11.1.1.1 29 ms 22 ms 21 ms 2 10.110.201.186 38 ms 24 ms 24 ms
www.huawei.com
www.huawei.com