Router - (1) - Simple configuration

The routers are connected Switchin much the same way as

Five Ways to Connect a Router

The two are physical connection
Assad
1. ConsoleThe port is connected with a specific consoleline ( commonly used for debugging )
ah real

comConnect to a port usbon a computer via an adapter

2. AUXInterface MODEM( 调制解调), connect with terminal or emulation terminal through telephone line

Three are network connection
3. Through the TFTPserver;
4. Through the TELNETprogram;
5. Through the SNMP( network protocol ) network management workstation .



The initial setting of the router must be done in the first way

The hardware settings pcof the terminal at this time are as follows:terminal

parameter value
baudrate()Bits Per Second 9600
data bitsData Bits 8
Parity parity check(one of the simplest data error detection methods) without
stop bitStop Bits 1
flow controlFlow Control without

big soda
Click Enter
ah real
If the page is as above, it means successful entry



Switch Similar to , the router's status display is almost the same

command status

condition permission
router>User command status In this state, you can view the connection status of the router, access other networks and hosts, but cannot view and change the settings of the router.
router#Privileged Command Status Enter at the router>prompt, you enablecan execute all user commands in this state, and you can also see and change the settings of the router .
router(config)#global setting state, Type at the router#prompt configure terminal, in this state you can set the global parameters of the router .
router(config-if)# , router(config-line)# , router(config-router)# … 等等 The router is in a local setting state , in which a certain parameter of the router局部 can be set .
>start boot( RXBOOT) state 60Press it within seconds after booting ctrl-breakto enter this state. In this state, the router cannot perform normal functions and can only perform software upgrades and manual guidance .
设置对话状态- This is the state automatically entered when a new router (or after clearing the configuration ) is powered on SETUPThis state can also be entered by using a command in the privileged command state , and the router can be set through dialogue .

icon

ah real

bootstrap status icon

ah real

Set the dialog dialogstate icon

A three soda


Basic settings during dialog

Using the setting dialogue process can avoid the tediousness of manually inputting commands, but it cannot completely replace manual setting , and some special settings must be completed by manual input.

The general dialogue flow is as follows:
Display prompt information
Global parameter setting
Interface parameter setting
Display result

Show prompt information

After entering the setup dialog, the router will first display some prompts:
Astonsa

You can type anywhere in the setting dialog to get the help of the system.
Press ctrl-cto exit the setting process. The
default setting will be displayed in and[] prompt that the dialog setting can only meet the basic connection, and other functions must be set in the system.

Global parameter settings:

1. Set the router name:
2. Set the cipher text (secret) to enter the privileged state, the cipher text will not be displayed in plain text after setting:
3. Set the password for entering the privileged state. This password only works when there is no cipher text, and will be displayed in plain text after setting:
4. Set the password for virtual terminal access:
ah real

The following are 路由器exclusive (the switch does not )

5. Ask if you want to set up the router to support network protocols:
SNMP Network Management? [yes]- Simple Network Management Protocol
DECnet? [no]
AppleTalk? [no]
IPX? [no]
IP? [yes]
IGRP routing? [yes]
RIP routing? [no]

6. If the dial-up , the system will also set the parameters of the asynchronous port: ( Async lines)

1) Set the maximum speed of the line:
Async line speed [9600]
2) Whether to use hardware flow control:
HW flow control
3) Whether to set modem:
modem
4) Whether to use the default modemcommand:
default chat s cript? [yes]
5) Whether to set the parameters of the asynchronous port PPP:
Dial-in IP SLIP/PPP access? [no]
6) Whether to use dynamic IP address:
Dynamic IP addresses? [yes]
7 ) Whether to use the default IP address:
Default IP addresses? [no]
8) Whether to use TCP header compression:
TCP Header Compression? [yes]
9) Whether to update the routing table on the asynchronous port:
routing updates on async links? [no]
10) Whether to set other protocols on the asynchronous port.

Interface parameter settings

asdasda
specified interface

asdas
1) Set the IP address of the interface:
2) Set the IP subnet mask of the interface:

After setting the parameters of all interfaces, the system will display the results of the entire setting dialog process:
Oh, Satan, Satan, Satan

Note:

The result enable secretis displayed in the back and the content of the setting is displayed in the back.MD5
enable password

After the display is over, you will be asked whether to save:

If saved, the system will store the result of the setting in the router NVRAMand
then end the setting dialogue process, so that the router starts to work normally.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325762472&siteId=291194637