Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
Table of Contents
Chapter 1 Configuration Mode of Common Commands for Routers ..........................................1 1.1 Service Description ................................................................................................................1 1.2 Configuration Reference ........................................................................................................2 1.2.1 On-line Help of the Command Line .............................................................................2 1.2.2 Error Messages of the Command Line .......................................................................3 1.2.3 History Command .......................................................................................................3 1.2.4 Display Characteristics ................................................................................................4 Chapter 2 Configuration through the Console Interface ...............................................................5 2.1 Networking and Service Description ......................................................................................5 2.2 Configuration procedure ........................................................................................................5 Chapter 3 Remote Dial-in through the Aux Interface and a Modem ............................................7 3.1 Networking and Service Description ......................................................................................7 3.2 Configuration procedure ........................................................................................................7 3.3 Configuration Reference ........................................................................................................7 3.3.1 Configuring the Routers AUX Interface ......................................................................7 3.3.2 Configuring the HyperTerminal ...................................................................................8 Chapter 4 Configuration through Telnet .........................................................................................9 4.1 Networking and Service Description ......................................................................................9 4.2 Configuration Reference ........................................................................................................9 Chapter 5 Setting the Right to Access the Router ...................................................................... 11 5.1 Configuration Reference ..................................................................................................... 11 5.1.1 Configuring the Right ............................................................................................... 11 5.1.2 Clear the configuration ............................................................................................. 11
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
<Quidway>
of the interface
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to ODL010001 Configuration Basics Laboratory Exercise appear here. Guide ISSUE 1.1 Command mode The command for exiting
Function parameters.
Prompt
,igabit !thernet interface view ./# interface view 1T2 interface view 1U4 interface view Loopback interface view .6C view User interface view 7+. view /#.8 protocol view +#'+# view 9,. view route'policy view
Configuration of the gigabitethernet interface parameters. Configuration of the ./# interfaces parameters. Configuration of the 1T2 interfaces parameters. Configuring 1U4 port parameters Configuration of the Loopback interface parameters Configuration of the .6C parameters. 2anagement of the asynchronous and logical interfaces of the router. Configuration of the 7+. parameters. Configuration of the /#.8 protocol parameters. Configuration of the +#'+# parameters. Configuration of the 9,. parameters. Configure the route'policy
$Quidway',igabit!t hernet-)()*% $Quidway'.os0)*)*% $Quidway'1tm3)*)*% $Quidway'au5*)*)(% $Quidway'Loopback 3% $Quidway'pvc'1tm( )*)*'()03% $Quidway'ui*% $Quidway'rip% $Quidway'ospf% $Quidway'isis% $Quidway'bgp% $Quidway'route'poli cy%
!nter &interface gigabitethernet -)()*& under the system view. !nter &+nterface pos 0)*)*& under the system view. !nter &+nterface atm 3)*)*& under the system view. !nter &+nterface ethernet ()*)*& under the system view. !nter &interface loopback 3& under the system view. !nter &pvc ()03& under the atm interface view. !nter &line *& under the system view. !nter & rip& under the system view. !nter &ospf process'id& under the system view. !nter &isis& under the system view. !nter &bgp as'number& under the system view. !nter &route'policy& under the system view.
Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return to the system view. Quit" i.e." return the system view. Quit" i.e." return the system view. Quit" i.e." return the system view. Quit" i.e." return the system view. Quit" i.e." return the system view. to to to to to
Enter a command and a "?" separated by a space, and if the key word is at this position, all key words and their simple descriptions will be listed. <Quidway> display ? Enter a command and a "?" separated by a space, and if a parameters is at this position, the relative parameter descriptions will be listed.
[Quidway] interface ethernet ? <3-3> Slot number [Quidway] interface ethernet 3? / [Quidway] interface ethernet 3/? <0-0> [Quidway] interface ethernet 3/0? / [Quidway] interface ethernet 3/0/? <0-0>
Huawei Technologies Co., Ltd. All rights reserved. No disclosure without permission
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
Note: :ere <cr> indicates there is no parameter at this position. The command is repeated in the ne5t command line" which can be e5ecuted by entering <!nter> directly. Enter a character string with a "?" closely following it, then all the commands with this character string as their initials will be listed.
<Quidway> d? debugging delete dir display
Enter a command with a "?" closely following it, then all the key words in the command with this character string as their initials will be listed.
<Quidway> display ? history-command
Note: !nter the preceding key words of the command and press <tab>" and then the key words of the complete command will be displayed. The help information mentioned above can be switched to display in Chinese by e5ecuting the language-mode Chinese command.
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to ODL010001 Configuration Basics Laboratory Exercise appear here. Guide ISSUE 1.1
Operation <isplay the history command. 1ccess the last history command 1ccess the ne5t history command
Key display history-command Up cursor key or <Ctrl=.> <own cursor key or <Ctrl=>>
Result <isplay the history commands user had entered. +f there is a history command earlier than this one" this operation will fetch it. /therwise the alarm bell will ring. +f there is a history command later than this one" this operation will fetch it. /therwise the command will be cleared and the alarm bell will ring.
Huawei Technologies Co., Ltd. All rights reserved. No disclosure without permission
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
Figure #-1 To set up the local configuration environment, just connect the serial port of the PC (or terminal) to the Console interface on the routers active MPU through a special configuration cable.
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to ODL010001 Configuration Basics Laboratory Exercise appear here. Guide ISSUE 1.1
2)
Power on the router. If a user does not want to enter the BOOTROM menu, he is asked to press the Enter key after completion of self-check, until the command line prompt <Quidway> appears.
Huawei Technologies Co., Ltd. All rights reserved. No disclosure without permission
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
Figure $-1
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to ODL010001 Configuration Basics Laboratory Exercise appear here. Guide ISSUE 1.1
Huawei Technologies Co., Ltd. All rights reserved. No disclosure without permission
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
Figure %-1
After configured the ip address of the interface,configure the ip address of the PC(suggest ip address of the PC is 1.1.1.2/8). II. Configure a password for login in the Telnet mode
[Quidway] user-interface vty 0 4 [Quidway-ui-vty0-4] authentication-mode password [Quidway-ui-vty0-4] set authentication password simple Huawei [Quidway-ui-vty0-4] user privilege level 3
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to ODL010001 Configuration Basics Laboratory Exercise appear here. Guide ISSUE 1.1
10
Huawei Technologies Co., Ltd. All rights reserved. No disclosure without permission
Error! Use the Home tab to apply 1 to the text that you want to appear here.Error! Use the Home tab to apply 1 to the text that you want to appear here.
When you log in to the router through telnet, the system set the default access level to 0 for users. When you log in to the router through telnet, you may use the command super [ level ] (the password varies with the level) to manage the right of access users.
[Quidway]super ? INTEGER<0-3> Priority level <cr>
You may manage the rights of access users by setting different levels for them.
[Quidway-ui-vty0-4]authentication-mode local [Quidway]local-user test password cipher test [Quidway]local-user test level 3
When you are trying to log in to the router through telnet, you will be asked to enter a username and a password.
11