三级网络技术 Logo
三级网络技术在线三级在线
首页选择题综合应用题成为会员帮助其他科目

综合应用题

19.

如下图所示,某公司的办公网和商务网通过路由器R1互连,并通过R2、R3与Internet相连。公司内部使用OSPF路由协议,与Internet连接使用静态路由。



请阅读以下R1的部分配置信息,并补充空白处的配置命令或参数,按题目要求完成R1的正确配置。

Router-R1>enable

Router-R1#configure terminal

Router-R1(config)#interface g0/1

Router-R1(config-if)#ip address 222.26.19.1 255.255.255.128

Router-R1(config-if)#no shutdown

Router-R1(config-if)#interface g0/2

Router-R1(config-if)#ip address 222.26.19.129 255.255.255.128

Router-R1(config-if)#no shutdown

Router-R1(config-if)#exit

Router-R1(config)#

Router-R1(config)#interface pos3/1

Router-R1(config-if)#bandwidth

Router-R1(config-if)#ip address 202.112.41.14 255.255.255.252

Router-R1(config-if)# 32

Router-R1(config-if)#pos framing sdh

Router-R1(config-if)#no ip directed-broadcast

Router-R1(config-if)#pos flag

Router-R1(config-if)#no shutdown

Router-R1(config-if)#exit

Router-R1(config)#ip route

Router-R1(config)#router ospf 63

Router-R1(config-router)#network area 0

Router-R1(config-router)#exit

查看答案与解析
考点:POS接口参数、默认静态路由与OSPF网络宣告。 逐空解析:(1)R1与R2之间链路为10Gbps,bandwidth的单位是kbps,10Gbps=10000000kbps,故填10000000。(2)后面已给出32,POS接口配置32位CRC的命令是crc 32,故填crc。(3)已配置pos framing sdh,SDH对应的s1s0取值为2,命令为pos flag s1s0 2,故填s1s0 2。(4)访问Internet走静态路由,POS对端为202.112.41.13(本端202.112.41.14/30),默认路由为ip route 0.0.0.0 0.0.0.0 202.112.41.13。(5)办公网222.26.19.0/25与商务网222.26.19.128/25都落在222.26.19.0/24内,用一条network宣告,通配符掩码0.0.0.255;area 0已给出,故填222.26.19.0 0.0.0.255。POS地址不在该范围内,不会被OSPF通告。 易错:bandwidth单位是kbps不是bps;s1s0用来区分SDH/SONET,不要写成设置C2的pos flag c2;OSPF的network后是反掩码;默认路由下一跳是对端202.112.41.13,不是本端地址。
上一题下一题