如下图所示,某校园网使用10 Gbit/s的POS技术与CER-NET相连,POS接口的帧格式使用SDH。路由协议的选择方案是校园网采用OSPF动态路由协议,校园网与CERNET的连接使用静态路由协议。另外,还要求在路由器R3上配置一个loopback接口,接口的IP地址为192.167.150.1。
请阅读以下R3的配置信息,并补充[1]~[3]空白处的配置命令或参数,按题目要求完成路由器的配置。
Router-R3#configure teminal
Router-R3(config) #
Router-R3(config) #ineterface pos3/1
Router-R3(config-if) #description To CERNET
Router-R3(config-if) #bandwidth (1)
Router-R3 (config-if) #ip address 222.112.37.1 255.255.255.252
Router-R3(config-if) #crc 32
Router-R3(config-if) # (2) 配置帧格式
Router-R3(config-if) #no ip directed-broadcast
Router-R3(config-if) #pos flag sls0 2
Router-R3(config-if) #no shutdown
Router-R3(config-if) #exit
Router-R3(config) #interface Loopback 0
Router-R3(config-if) #ip address 192.167.150.1 (3)
Router-R3(config-if) #no ip toute-cache
Router-R3(config-if) #no ip mroute-cache
Router-R3(config-if) #exit
参考答案:[1] 10000000
[2] pos framing sdh
[3] 255.255.255.255
解析:
[1] 使用bandwidth命令设置接口带宽,带宽单位为kbit/s。题目中带宽为10 Gbit/s=10 000 000 kbit/s。
[2] 本题与广域网的连接采用POS接口,且POS接口的帧格式使用SDH,命令为pos framing sdh。
[3] lookback接13主要用于网络管理。网络管理员为lookback接口分配一个IP地址作为管理地址,其掩码应为255.255.255.255。可以使用这个IP地址登录到路由器上,对路由器进行配置与管理。