文档介绍:-
z.
网络工程师考试路由器方面相关知识
一、根本设置方式
一般来说,可以用5种方式来设置路由器:
1.Console口接终端或运行终端仿真软件的微机;
2.AU*口接MODEM,通过线与远方的终端或运行终端仿真软件的微后会以明文方式显示:
The enable password is used when there is no enable secret
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 DEet“ [no]:
Configure AppleTalk“ [no]:
Configure IP*“ [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
是否使用TCP头压缩:
Configure for TCP Header pression“ [yes]:
9) 是否在异步口上使用路由表更新:
Configure for routing updates on async links“ [no]: y
10) 是否设置异步口上的其它协议。
-
z.
接下来,系统会对每个接口进展参数的设置。
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:
4) 设置接口的IP子网掩码:
Number of bits in subnet field [0]:
Class C network is , 0 subnet bits; mask is /24
在设置完所有接口的参数后,系统会把整个设置对话过程的结果显示出来:
The following configuration mand script was created:
hostname Router
enable secret 5 $1$W5Oh$p6J7tIgRMBOIKV*VG53Uh1
enable password pass
…………
请注意在enable secret后面显示的是乱码,而enable password后面显示的是设置的容。
显示完毕后,系统会问是否使用这个设置:
Use this configuration“ [yes/no]: yes
如果答复yes,系统就会把设置的结果存入路由器的NVRAM中,然后完毕设置对话过程,使路由器开场正常的工作。
-
z.
四、常用命令
1. 帮助
在IOS操作中,无论任何状态和位置,都可以键入“?〞得到系统的帮助。
2. 改