一 路由器配置基础( 二 )


and when using older software and some boot images.
Enter enable password: pass
4.设置虚拟终端访问时的密码:
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]:
Configure RIP routing? [no]:
………
6.假如配置的是拨号访问服务器 , 系统还会设置异步口的参数:
 Configure Async lines? [yes]:
1) 设置线路的最高速度:
Async line speed [9600]:
2) 是否使用硬件流控:
Configure for HW flow control? [yes]:
3) 是否设置modem:
 Configure for modems? [yes/no]: yes
4) 是否使用默认的modem命令:
Configure for default chat script? [yes]:
5) 是否设置异步口的PPP参数:
 Configure for Dial-in IP SLIP/PPP Access? [no]: yes
6) 是否使用动态IP地址:
 Configure for Dynamic IP addresses? [yes]:
7) 是否使用缺省IP地址:
 Configure Default IP addresses? [no]: yes
8) 是否使用TCP头压缩:
Configure for TCP Header Compression? [yes]:
9) 是否在异步口上使用路由表更新:
Configure for routing updates on async links? [no]: y
10)是否设置异步口上的其它协议 。
接下来 , 系统会对每个接口进行参数的设置 。
1.Configuring interface Ethernet0:
1) 是否使用此接口:
 Is this interface in use? [yes]:
2) 是否设置此接口的IP参数:
Configure IP on this interface? [yes]:
3) 设置接口的IP地址:
 IP address for this interface: 192.168.162.2
4) 设置接口的IP子网掩码:
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后面显示的是设置的内容 。
显示结束后 , 系统会问是否使用这个设置:
Use this configuration? [yes/no]: yes
假如回答yes , 系统就会把设置的结果存入路由器的NVRAM中 , 然后结束设置对话过程 , 使路由器开始正常的工作 。

推荐阅读