请教:2007年上半年《网络工程师》上午试题(参考答案版)第1大题第53小题如何解答?
【题目描述】
(57)能够显示路由器配置了哪种路由协议
(57)
A. R1 (config)# show ip route
B. R1 > show ip route
C. R1 >show ip protocol
D. R1 (config-if)# show ip protocol
| 【我提交的答案】: C |
| 【参考答案与解析】: 正确答案:A |
【我的疑问】(如下,请求专家帮助解答)
1、show ip route 是查看路由表的
2、show 命令一般是在特权模式下
-
看看下面的命令你应该会明白是为什么。不明白我再跟你讲解,自己理解最好
。。。。。
路由器显示命令:
router#showrun;显示接口
router#showinterface;显示接口
router#showiproute;显示路由
router#showcdpnei;看邻居
router#reload ;重新起动设置口令:
router>enable;进入特权模式
router#configterminal;进入全局配置模式
router(config)#hostname<hostname$amp;>amp;$nbsp;;设置交换机的主机名
router(config)#enablesecretxxx;设置特权加密口令为xxx
router(config)#enablepasswordxxx;设置特权非密口令为xxx
router(config)#lineconsole0;进控制台口(Rs232)初始化
router(config-line)#linevty04;进入虚拟终端virtualtty
router(config-line)#login;允许登录
router(config-line)#passwordxx;设置登录口令xx
router(config)#(Ctrl+z);返回特权模式
router#exit;返回命令配置IP地址:
router(config)#ints0/0;进行串Serail接口
router(config-if)#noshutdown;起动接口
router(config-if)#clockrate64000;设置时钟
router(config-if)#ipaddress10.1.1.1255.255.0.0;设置IP地址和子网掩码
router(config-if)#ipadd10.1.1.2255.255.0.0second;
router(config-if)#intf0/0.1;进入子接口
router(config-subif.1)#ipaddress<ip$amp;>amp;$lt;netmask$amp;>amp;$nbsp;;
router(config-subif.1)#encapsulationdot1q<n$amp;>amp;$nbsp;;
router(config)#config-register0x2142;跳过配置文件
router(config)#config-register0x2102;正常使用配置文件
router#reload;重新引导
