CISCO路由器配置手册
2.AUX口接MODEM,通过电话线与远方的终端或运行终端仿真软件的微机相连;
路由器处于用户命令状态,这时用户可以看路由器的连接状态,访问其它网络和主机,但不能看到和更改路由器的设置内容。
4. router(config-if)#; router(config-line)#; router(config-router)#;…
路由器处于局部设置状态,这时可以设置路由器某个局部的参数。
路由器处于RXBOOT状态,在开机后60秒内按ctrl-break可进入此状态,这时路由器不能完成正常的功能,只能进行软件升级和手工引导。
1. 显示提示信息
2. 全局参数的设置
3. 接口参数的设置
4. 显示结果
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]:
First, would you like to see the current interface summary? [yes]:
Any interface listed with OK? value "NO" does not have a valid configuration
Interface
|
IP-Address
|
OK?
|
Method
|
Status
|
Protocol
|
Ethernet0
|
unassigned
|
NO
|
unset
|
up
|
up
|
Serial0
|
unassigned
|
NO
|
unset
|
up
|
up
|
………
|
………
|
…
|
……
|
…
|
…
|
然后,路由器就开始全局参数的设置:
Configuring global parameters:
Enter host name [Router]:
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: cisco
The enable password is used when there is no enable secret
and when using older software and some boot images.
Enter enable password: pass
Enter virtual terminal password: cisco
5.询问是否要设置路由器支持的各种网络协议:
Configure SNMP Network Management? [yes]:
Configure DECnet? [no]:
Configure AppleTalk? [no]:
Configure IPX? [no]:
Configure IP? [yes]:
Configure IGRP routing? [yes]:
6.如果配置的是拨号访问服务器,系统还会设置异步口的参数:
Configure for HW flow control? [yes]:
Configure for modems? [yes/no]: yes
Configure for default chat script? [yes]:
Configure for Dial-in IP SLIP/PPP access? [no]: yes
Configure for Dynamic IP addresses? [yes]:
Configure Default IP addresses? [no]: yes
Configure for TCP Header Compression? [yes]:
Configure for routing updates on async links? [no]: y
10) 是否设置异步口上的其它协议。
接下来,系统会对每个接口进行参数的设置。
Is this interface in use? [yes]:
Configure IP on this interface? [yes]:
IP address for this interface: 192.168.162.2
Number of bits in subnet field [0]:
Class C network is 192.168.162.0, 0 subnet bits; mask is /24
The following configuration command script was created:
hostname Router
enable secret 5 $1$W5Oh$p6J7tIgRMBOIKVXVG53Uh1
enable password pass
请注意在enable secret后面显示的是乱码,而enable password后面显示的是设置的内容。
显示结束后,系统会问是否使用这个设置: