某大学城局域网的拓扑结构如图12-4所示,图中路由器R1、R2、R3均运行基于距离矢量算法的RIP路由协议,并且图中给出了路由器R1、R2、R3各端口的IP地址信息
填空题 结合图12-4所示的网络拓扑结构图,将以下路由器R1的配置信息中空缺处(1)~(9)处的内容填写完整。
Router>en (进入特权模式)
Router#config terminal (进入配置模式)
Router(config)# ______
R1(config)# no logging console
R1(config)#interface fastethernet 0/1
R1(config-if)# ip address 192.168.100.1 255.255.255.0
R1(config-if)# ______
______
R1(config)# interface serial 0 (进入端口S0配置子模式)
R1(config-if)# ______ (设置当前端口IP地址)
R1(config-if)#no shutdown
R1(config)# ______
R1(config-if)# ip address 192.168.65.2 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)# exit (退出当前端口配置子模式)
R1(config)# ______
R1(config-router)# ______
R1(config-router)# ______
R1(config-router)#network 192.168.65.0
R1(config-router)# 192.168.67.0
R1(config-router)#end (退出回到特权模式)
R1# ______ (将配置信息保存到非易失性RAM中)
【正确答案】在全局配置模式下,使用no logging console命令可以防止大量的端口状态变化信息和报警信息对配置过程的影响。
【答案解析】使用no logging console命令可以防止大量的端口状态变化信息和报警信息对配置过程的影响,它一般用于全局配置下。
填空题 在路由器的特权模式下执行“show ip route”命令,得到以下部分的系统输出信息。请将以下空缺(10)~(13)处的内容填写完整,以得到路由器R1的相关路由信息表。
R1# show ip route
Codes:C-connected.S-static,I-IGRP,M-mobile,B-BGP,O-SOPF
EX-EIGRP external,IA-OSPF inner area,E1-OSPF external type 1
E2-OSPF external type 2,E-EGP,I-IS-IS,L1-IS-IS level 1,
L2-IS-IS level-2,*-Candidate default,U-per-user static route
Gateway of last resort is not set
192.168.0.0/24is subnetted,6 subnets
C 192.168.65.0 is directly connected,Serial 1
R 192.168.66.0 [120/1] via ______,00:00:08, Serial 1
[120/1] via 192.168.65.1,00:00:10, ______
C 192.168.67.0 is directly connected,Serial 0
C 192.168.100.0 is directly connected,______
R 192.168.200.0 [120/1] via 192.168.65.1,00:00:12,Serial 1
R 192.168.300.0 [120/______] via 192.168.67.2,00:00:12,Serial 0