Chapter 3 Command Line Interface

This chapter describes the basic commands to access the router through console interface or telnet. Be noted if you want to login to ERT-805 through the telnet, then enable password must be configure.

The user can input system command configuring system protocol by command line port. When you first login a new router by terminal, the system will give a prompt router>. Now you are in user mode. After typing the command “enable”, the prompt will change to router#, and now you are in privilege mode so that you could input more commands including some privilege command. To enter the global configuration mode, you should type the command “configure terminal” or “config T”. Then the prompt will change to router(config)#, and you could input global configuration commands configuring the parameter of the router. If you type the command “interface serial 0/0” or “int s0/0”,you will notice that the prompt change to router(config-serial0/0)# and then you are in port configuration

Prompt

Mode

Router>

Normal User mode

 

 

Router#

Enable mode for privilege operation

 

 

Rouer(config)#

Configuration mode

 

 

Rotuer(config-serial0/0)

Configuration mode of object control

 

 

Table for different configure mode

In different configuration mode, the system will give different prompt, and every configuration mode has its due commands collect. From the prompt you could know what configuration mode you are in. The left most word of the prompt is the name of the router, from which you can know that which router you are configuring. You can set the hostname of the router with the hostname command as below:

router# config terminal

Enter configuration commands, one per line. End with CNTL/Z. router(config)# hostname ERT_805

ERT_805(config)# exitERT_805#

3.1 Help command

“?” and “Tab” keys are two help keys that help user to configure ERT-805. By using a “?” key in different operate mode, the system will display the help message that tell user what command they can use in different operate mode. For example:

8