在路由器的特权模式下键入命令setup 则路由器进入(56)模式。A.用户命令状态B.局部配
问题详情
在路由器的特权模式下键入命令setup,则路由器进入(56)模式。
A.用户命令状态
B.局部配置状态
C.特权命令状态
D.设置对话状态
参考答案
正确答案:D
解析:在全局配置模式下用命令Router#setup进入设置对话状态(setup mode),利用设置对话状态可以避免手工输入命令的麻烦,但它不能完全代替手工配置,一些特殊的配置必须通过手工输入的方式完成。
在设置对话状态,路由器首先显示提示信息:
--- 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 '[]'.
然后,路由器就开始全局参数的配置:
Configuring global parameters:
1.设置路由器名。
Enter host name[Router]:
2.设置进入特权状态的密钥(secret),此密钥在配置后不会以明文方式显示。
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret:cisco
3.设置进入特权状态的口令(password),此口令只在没有密钥时起作用,并且在配置后会以明文方式显示。
The enable password is used when there is no enable secret
and when using older software and some boot images.
Enter enable password: pass.
1.没置虚拟终端访问时的口令。
Enter virtual terminal password: cisco
2.询问是否要配置路由器支持的各种网络协议。
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]:
3.如果配置的是拨号访问服务器,系统还会配置异步端口的参数。
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参数。
ConfigureforDial-inIP 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)是否在异步串口上使用路由表更新。
Configureforroutingupdatesonasynclinks?[no]:y
(10)是否配置异步口上的其他协议。
接下来,系统会对每个端口进行参数的设置。
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$p6J7tlgRMBOIKVXVG53Uh1
enable password pass
在enable secret后面显示的是乱码,而enable password后面显示的是设置的内容。
显示结束后,系统问是否使用这个配置。
Use this configuration? [yes/no]: yes
如果回答yes,系统就把配置的结果存入路由器的NVRAM中,然后结束设置对话状态,路由器开始正常的工作。