如下图所示,某园区网用10Gbps的POS技术与Internet相连,POS接口的帧格式是SONET。园区网内部路由协议采用OSPF,与Internet的连接使用静态路由协议。该园区网还通过一台Cisco 2511和Modem pool设备为用户提供拨号入

admin2018-04-21  26

问题 如下图所示,某园区网用10Gbps的POS技术与Internet相连,POS接口的帧格式是SONET。园区网内部路由协议采用OSPF,与Internet的连接使用静态路由协议。该园区网还通过一台Cisco 2511和Modem pool设备为用户提供拨号入网服务。

请阅读以下R3和R5的部分配置信息,并补充空白处的配置命令或参数,按题目要求完成路由器的配置。
R3的POS接口、OSPF和缺省路由的配置信息
Router—R3#configure terminal
Router—R3(config)#
Router—R3(config)#interface pos3/0
Router—R3(config—if)#description To Interact
Router—R3(config—if)#bandwidth【6】
Router—R3(config—if)#ip address 211.32.81.98 255.255.255.252
Router—R3(config—if)#【7】32
Router—R3(config—if)#pos framing sonet
Router—R3(config—if)#no ip directed—broadcast
Router—R3(config—if)#pos flag s1 s0 0
Router—R3(config—if)#【8】(打开端口)
Router—R3(config—if)#exit
Router—R3(config)#router ospf 65
Router—R3(config—router)#network【9】area 0
Router—R3(config—router)#redistribute connected metric—type 1 subnets
Router—R3(config—router)#area 0 range 167.103.0.0 255.255.0.0
Router—R3(config—router)#exit
Router—R3(config)#ip route 0.0.0.0 0.0.0.0 211.32.81.97
Router—R3(config)#exit
Router—R3#
R5的interface Asyncl6的部分配置信息
Router(config)#interface a16
Router(config—if)#ip unnumbered ethernet0
Router(config—if)#encapsulation PPP
Router(config—if)#async【10】202.113.7.16
Router(config—if)#async dynamic routing
Router(config—if)#async mode interactive
Router(config—if)#

选项

答案【6】因为R3的Interface POS3/0采用了10Gbps带宽,因此命令为bandwidth 10000000。因此【6】处应填入:10000000。 【7】根据CRC校验码的命令格式为crc 32或者crc 16。因此【7】处应填入:crc。 【8】打开端口命令为no shutdown。因此【8】处应填入:no shutdown 【9】校园网是一个域,该域采用了OSPF协议。该域的网络号为167.103.0.0/16,其子网号为167.103.0.0,子网掩码为255.255.0.0。根据OSPF设置的命令格式为network ip<子网号>area<区域号>,其中为反掩码,即0.0.255.255。因此【9】处应填入:167.103.0.0 0.0.255.255。 【10】根据配置异步串行接口的命令async default ip address。因此【10】处应填入:default ip address。

解析 (1)POS是Packet over SONET/SDH的缩写,是一种利用SONET/SDH提供的告诉传输通道直接传送IP数据包的技术。POS技术支持光纤介质,是一种先进、高速的广域网连接技术。在路由器上插入一块POS模块,路由器就可以提供POS接口。POS使用的链路层协议主要有PPP和HDLC,接口的配置参数有接口带宽、接口地址、接口的链路层协议、接口的帧格式、接口的CRC校验和flag。
    广域网接口配置:POS配置接口。在全局模式下:
    Router—R3(config)#interface pos3/0//进入POS 3/0接口
    Router—R3(config—if)#description To Internet
    Router—R3(config—if)#bandwidth 10000000//设置带宽为10Gbps,单位为kbps
    Router—R3(config—if)#ip address 211.32.81.98 255.255.255.252//设置IP地址和子网掩码
    Router—R3(config—if)#crc 32//采用CRC 32校验码
    Router—R3(config—if)#pos framing sonnet//采用sonet或者sdh帧格式
    Router—R3(config—if)#no ip directed—broadcast
    Router—R3(config—if)#pos flag s1s0 0//s1s0 0表示的是SONET帧的数据,s1s0 2表示的是SDH帧的数据
    Router—R3(config—if)#no shutdown//打开端口
    Router—R3(config—if)#exit
    (2)静态路由设置
    在全局模式下,使用ip route命令配置静态路由,使用no ip route命令来删除静态路由配置。命令的格式如下:
    ip route<目的网络地址><子网掩码><下一跳路由器的IP地址>
    (3)OSPF设置
    OSPF的基本配置包括启用并运行OSPF进程,在进入OSPF配置模式后,再配置路由器所属的区域、区域范围和区域内参与OSPF路由的网络地址。在全局配置模式下,使用“router ospf”命令,启动OSPF进程。启动OSPF进程后,路由器进入OSPF配置模式。
    在OSPF配置模式下,使用“network ip<子网号>area<区域号>”或者采用“network ip<区域号>area<子网地址><子网掩码>”来定义子网的聚合。采用反掩码。配置如:
    Router—R3(config)#router ospf 65
    Router—R3(config—router)#network 167.103.0.0 0.0.255.255 area 0
    Router—R3(config—router)#redistribute connected metric—type 1 subnets
    (4)配置异步串行接口
    异步串行接口类型为Async,可以简写为a。Aysnc接口主要用于连接Modem设备,为网络用户提供拨号上网服务。Aysnc接口的配置为:
  Router(config)#interface a16//打开异步a16端口
  Router(config—if)#ip unnumbered etherneto
  Router(config—if)#encapsulation ppp//封装PPP协议
  Router(config—if)#async default ip address 202.113.7.16//异步接口的默认ip
  Router(config—if)#async dynamic routing
  Router(config—if)#async mode interactive
  Router(config—if)#exit
转载请注明原文地址:https://kaotiyun.com/show/MSpZ777K
0

最新回复(0)