配置策略路由时,需要在接口下通过路由图名字调用已配置的route-map,路由器上有个route-map的名字叫abc,下列配置中正确的是()A、router(config-if)#ip policy route-map abc inB、router(config-if)#ip policy route-mapabc outC、router(config-if)#ip policy route-map abcD、router(config-if)# policy route-map abc
配置策略路由时,需要在接口下通过路由图名字调用已配置的route-map,路由器上有个route-map的名字叫abc,下列配置中正确的是()
- A、router(config-if)#ip policy route-map abc in
- B、router(config-if)#ip policy route-mapabc out
- C、router(config-if)#ip policy route-map abc
- D、router(config-if)# policy route-map abc
相关考题:
● 将ACL应用到路由器接口的命令是 (43) 。(43)A. Router(config-if)#ip access-group 10 outB. Router(config-if)#apply access-list 10 outC. Router(config-if)#fixup access-list 10 outD. Router(config-if)#route access-group 10 out
● 下列路由器命令中用于激活接口的命令是 (69) 。(69)A. Router (config-if)#no shutdownB. Router (config-if)#endC. Router (config-if)# config tD. Router (config-if)# switchport mode access
Cisco路由器第3模块第1端口通过E1标准的DDN专线与一台远程路由器相连,端口的IP地址为195.112.41.81/30,远程路由器端口封装PPP协议。下列路由器的端口配置,正确的是A)Router (config)#interface s3/1Router (config-if)#bandwidth 2048Router (config-if)#ip address 195.112.41.81 255.255.255.252Router (config-if)#encapsulation pppRouter (config-if)#exitB)Router (config)#interface a3/1Router (config-if)#bandwidth 2000Router (config-if)#ip address 195.112.41.81 255.255.255.252Router (config-if)#encapsulation pppRouter (config-if)#exitC)Router (config)#interface s3/1Router (config-if)#bandwidth 2Router (config-if)#ip address 195.112.41.81 255.255.255.252Router (config-if)#encapsulation pppRouter (config-if)#exitD)Router (config)#interface s3/1Router (config-if)#bandwidth 2048Router (config-if)#ip address 195.112.41.81 255.255.255.252Router (config-if)#encapsulation hdlcRouter (config-if)#exit
下列路由器命令中用于激活接口的命令是(69)。A.Router(config-if)#noshutdownB.Router(config-if)#endC.Router(config-if)#config tD.Router(config-if)#switchport mode access
仔细阅读以下与路由器(Router)的快速以太网接口实现不同VLAN间路由的相关配置信息,结合图 3-12所示的拓扑结构图,将(3)~(7)空缺处的内容填写完整,以实现相应的配置任务。Router>enable (进入特权模式)Routerconfig terminalRouter (config) interface fastethernet 0/0Router (config-if) ip address (3)Router (config-if) no shutdownRouter (config-if) (4)Router (config-subif) encapsulation dotlq2Router (config-subif) ip address (5)Router (config-sobif) interface fastethemet 0/0.2Router (config-subif) (6)Router (config-subif) ip address (7)Router (config-subif) endRouter
下面的哪个是正确配置Router IP的命令?() A.Router(config-if)#ipaddress210.64.202.23B.Router(config-if)#ipaddress210.64.202.23255.255.0.0C.Router(config-if)#ipaddress210.64.202.23/0D.Router(config-if)#ipaddress210.64.202.23255.255.255.0
下面是路由器Router1的配置命令列表,请为(6)~(10)空缺处填写合适的命令/参数,实现Router1的正确配置。Router>enableRouter config terminalRouter (config) hostname Router1Router1 (config) interface ethernet 0Router1 (config-if) ip address (6)Router1 (config-if) no shutdownRouter1 (config-if) (7)Router1 (config-if) ip address (8)Router1 (config-if) no shutdownRouter1 (config-if) exitRouter1 (config) ip routingRouter1 (config) router ospf 100Router1 (config-router) (9)Router1 (config-router) (10)Router1 (config-router) ip ospf message-digest-key 1 md 5 wg_gczRouter1 (config-router) area 0 authentication message-digestRouter1 (config-if) endRouter1 Copy run start
下面是路由器Router3的部分配置信息,请根据路由器Router3的相关配置任务,对(14)、(15)空缺处所在的命令行做出正确的功能解释。Router3 (config) interface ethernet 0Router3 (config-if) ip address 192.1.0.130 255.255.255.192Router3 (config-if) no shutdownRouter3 (config-if) exitRouter3 (config) ip routingRouter3 (config) router ospf 300 (14)Router3 (config-router) network 192.1.0.128 0.0.0.63 area 1Router3 (config-router) neighbor 192.1.0.129 (15)
分部1的路由器配置为ethemet0/0端口接内部网络,sera10/0端口接外部网络。下列配置指定内外网端口,完成下列配置,将答案填写在答题纸相应的位置。Router(config) inter eth0/0Router(config-if) (4)Router(config-if) inter seria100/0Router(config-if) (5)Router(config-if) exitRouter(config)
某局域网通过两个路由器划分为三个子网,拓扑结构和地址分配如图1所示。1.以下是路由器R1的部分配置命令列表:Router>enRouter>conf termRouter (config) hostname R1Router (config) int e0R1 Router (config-if) (1)R1 Router (config-if) no shutdownR1 Router (config-if) (2)R1 Router (config) ip routingR1 Router (config) (3)请为空缺处(1)、(2)、(3)添加合适的命令/参数,实现R1的正确配置。2.以下是路由器R2的配置命令列表:Router>enRouterconf termRouter (config) hostname R2R2 (config) int e0R2 (config-if) ip address 192.168.3.1 255.255.255.0R2 (config-if) no shutdownR2 (config-if) int s0R2 (config-if) ip address l92.168.2.2 255.255.255.0R2 (config-if) no shutdownR2 (config-if) (4)R2 (config) ip routingR2 (config) ip route 0.0.0.00.0.0.0 (5)R2 (config) ip classlessR2 (config) exitR2copy run start请为空缺处(4)、(5)添加合适的命令/参数,实现R2的正确配置。
【问题2】(3分)根据图4-1的配置,补充完成下面路由器的配置命令:Router(config)# interface (3)Router(config-if)#ip address 10.10.1.1 255.255.255.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)# interface (4)Router(config-if)# ip address 192.168.1.1 255.255.255.0Router(config)# interface (5)Router(config-if)# ip address 10.10.2.1 255.255.255.0
根据以下资料,回答下列各题。 如图1所示,某园区网用2.5Gbps的POS技术与Internet相连,POS接口的帧格式是SONET。路由协议的选择方案是:园区网内部采用OSPF动态路由协议,园区网与Internet的连接使用静态路由。图1 网络拓扑图 问题:请阅读以下R3和R4的部分配置信息,并补充【6】到【10】空白处的配置命令或参数,按题目要求完成路由器的配置。 R3的POS接口、OSPF和缺省路由的配置信息 Router-R3 configure terminal Router-R3 (config) Router-R3 (config)interface pos3/0 Router-R3 (config-if)description To Internet Router-R3 (config-if)bandwidth 2500000 Router-R3 (config-if)ip address 195.19.78.5 255.255.255.252 Router-R3 (config-if) 【6】 32 Router-R3 (config-if)pos framing sonet Router-R3 (config-if)no ip directed-broadcast Router-R3 (config-if)pos flag 【7】 Router-R3 (config-if)no shutdown Router-R3 (config-if)exit Router-R3 (config)router ospf 65 Router-R3 (config-router)network 222.98.66.128 【8】 area 0 Router-R3 (config-router)redistribute connected metric-type 1 subnets Router-R3 (config-router)area 0 range 222.98.66.128 【9】 Router-R3 (config-router)exit Router-R3 (config)ip route 0.0.0.0.0.0.0.0 195.19.78.6 Router-R3 (config)exit Router-R3 R4的静态路由配置信息 Router-R4 configure terminal Router-R4 (config) ip route 222.98.66.128 【10】 请在第____处填上正确答案。
一台Cisc0路由器R1的第3模块第1端口通过DDN的E1专线与一台远程路由器R2的第4模块第2端口相连,在R1的端口上封装PPP协议。为R1和R2端口分配的IP地址分别为193.42.91.201/30和193.42.91.202/30。下列R2的端口配置,正确的是( )。A.Router(cortfig)#interface s4/2Router(config-if)#bandwidth 2048Router(config-if)#ip address 193.42.91.202 255.255.255.252Router(config-if)#encapsulation PPPRouter(config-if)#exitB.Router(config)#interface a4/2Router(config-if)#bandwidth 2048Router(config-if)#ip address 193.42.91.202 255.255.255.252Router(config-if)#encapsulation PPPRouter(config-if)#exitC.Router(config)#interface s4/2Router(config-if)#bandwidth 2048Router(config-if)#ip address 193.42.91.201 255.255.255.252Router(config-if)#encapsulation hdleRouter(config-if)#exitD.Router(config)#interface a4/2Router(config-if)#bandwidth 2048Router(config-if)#ip address 193.42.91.202 255.255.255.252Router(config-if)#encapsulation hdlcRouter(config-if)#exit
如图1所示,某园区网用2.5Gbit/s的POS技术与Internet相连,POS接口的帧格式是SONET。路由协议的选择方案是:园区网内部采用OSPF动态路由协议,园区网与Internet的连接使用静态路由。问题:请阅读以下R3和R4的部分配置信息,并补充(6)到(10)空白处的配置命令或参数,按题目要求完成路由器的配置。R3的POS接口、OSPF和缺省路由的配置信息Router-R3configure terminalRouter-R3(config)Router-R3(config)interface pos3/0Router-R3(config-if)description To InternetRouter-R3(config-if)bandwidth 2500000Router-R3(config-if)ip address 195.19.78.5 255.255.255.252Router-R3(config-if) (6) 32Router-R3(config-if)pos framing sonetRouter-R3(config-if)no ip directed-broadcastRouter-R3(config-if)pos flag (7)Router-R3(config-if)no shutdownRouter-R3(config-if)exitRouter-R3(config)router ospf 65Router-R3(config-router)network 222.98.66.128 (8) area 0Router-R3(config-router)redistribute connected metric-type 1 subnetsRouter-R3(config-router)area 0 range 222.98.66.128 (9)Router-R3(config-router)exitRouter-R3(config)ip route 0.0.0.0.0.0.0.0 195.19.78.6Router-R3(config)exitRouter-R3R4的静态路由配置信息Router-R4configure terminalRouter-R4(config)ip route 222.98.66.128 (10)
Cisc0路由器第3模块第1端口通过El标准的DDN专线与-台远程路由器相连,端口的IP地址为195.112.41.81/30,远程路由器端口封装PPP协议。下列路由器的端口配置,正确的是( )。A.Router(config)#interface s3/1Router(config-if)#bandwidth 2048Router(config-if)#ip address l95.112.41.81 255.255.255.252Router(cortfig-if)#encapsulation PPPRouter(config-if)#exitB.Router(config)#interface a3/1Router(config-if)#bandwidth 2000Router(config-if)#ip address 195.112.41.81 255.255.255.252Router(config-if)#encapsulation PPPRouter(config-if)#exitC.Router(config)#interface s3/lRouter(config-if)#bandwidth 2Router(config-if)#ip address 195.112.41.81 255.255:255.252Router(config-if)#encapsulation PPPRouter(config-if)#exitD.Router(config)#interface s3/1Router(config-if)#bandwidth 2048Router(config-if)#ip address 195.112.41.81 255.255.255.252Router(config-if)#encapsulation hdlcRouter(config-if)#exit
阅读下列广域网路由基本技术的应用,分析路由器的配置命令,实例:通过Cisco 2501连接A局域网与B局域网,如图5-1所示。假设实验条件如下:A网:202.96.199.0~202.96.199.255B网:202.97.76.0~202.97.76.31DNS Server:202.96.199.2(主),202.96.199.3(备)所属域:xxx.com广域网互联:需要一个包含4个IP地址(2个可用p)的子网,定为:202.98.0.0~ 202.98.0.3,其中202.98.0.1给A网,202.98.0.2给B网,互联专线速率:128 kbps。具体网络参数分配表如下:首先进入路由器:将计算机串行口连接到路由器的Console口,使用Netterm或者超级终端之类的软件登录。Router>enpasswd:******(输入超级口令)全局配置:(A、B网相同)Routerconfig terminal(切换到配置状态)Router(config)enable secret my-root-password(定义超级口令)Router(config)ip host Router-A(定义路由器名.B网为Router-B)Router(config)ip domain-name (1)Router(config)nameserver 202.96.199.2(定义主域名服务器)Router(config)nameserver 202.96.199.3(定义备域名服务器)Router(config)ip classlessRouter(config)line (2)(定义5个telnet虚终端,即可以同时有5个人登录本路由器)Router(config-line)password my-telnet-password(定义telnet口令)Router(config-line)exitRouter(config)exit地址和路由配置/****** A网路由器 ******/Router-Aconfig terminal(切换到配置状态)Router-A(config)intefface e()(配置 Ethernet 0 口)Router-A(config-if)description the LAN port link to my local network(端口说明)Router-A(config-if)ip address (3)Router-A(config-if)no shutdown(激活端口)Router-A(config-if)exitRouter-A(config)4finterface s()(配置Serial()口)Router-A(config-if)description the WAN port link to Router-B(端口说明)Router-A(config-if)ip add 202.98.0.1 255.255.255.252(定义互联广域网IP地址)Router-A(config-if)bandwidth 128(定义端口速率,单位kbps)Router-A(config-if)no shutdown(激活端口)Router-A(config-if)exitRouter-A(config)ip route (4)Router-A(config)exitRouter-Awr m(保存配置)/****** B网络由器 ******/Router-Bconfig terminalRouter-B(config)interface e()Router-B(config-if)deseription the LAN port link to my local network(端口说明)Router-B(config-if)ip add 202.97.76.1 255.255.255.224(定义以太网IP地址,子网掩码表示为拥有32个地址的子网)Router-B(config-if)no shutdownRouter-B(config-if)exitRouter-B (config)interface sORouter-B(config-if)description the WAN port link to Router-A(端品说明)Router-B(config-if)ip add 202.98.0.2 255.255.255.252Router-B (config-if)bandwidth 128Router-B(config-if)no shutdownRouter-B (config-if)exitRouter-B(config)ip route (5)Router-B(config)exitRouter-Bwr m(保存配置)
【说明】图5-1是某公司利用Internet建立的VPN【问题1】(4分)使用VPN技术,是为了保证内部数据通过Internet安全传输,VPN技术主要采用哪些技术来保证数据安全【问题2】(3分)分部1采用DDN通过一台路由器接入Internet。 阅读下面的路由配置信息,将(1)~(3)处标识的语句进行解释。Routeren (进入特权模式)Router config terminal (进入全局配置模式)Router(config)enable secret cisco (设置特权口令)Router(config)line vty 04Router(config-line)password goodbad ___(1)___Router(config-line)exitRouter(config) interface eth 0/0 (进入以太网接口配置模式)Router(config-if) ip address 202.117.1.1 255.255.255.0 (设置IP地址和掩码)Router(config-if)no shutdown (启用以太网接口)Router(config-if)exitRouter(confi9)interface serialO/O (进入串口配置模式)RouteIconfig-if)ip address 211.175.132.10 255.255.255.252 (设置IP地址和掩码)Router(config-if) bandwidth 256 (指定带宽为256k)Router(config-if) encapsulation PPP ___(2)___Router(config-if) no cdpenable ___(3)___Router(config-if) no shutdown (启用serial接口)Router(config-if) exitRouter(config)【问题3】(4分)分部1的路由器配置为ethernet0/0端口接内部网络,serialO/O端口接外部网络。下列配置指定内外网端口,完成下列配置,将答案填写在答题纸相应的位置。Router(config-if) inter ethO/ORouter(config-if) ___(4)___Router(config-if) inter serial0/0Router(config-if) ___(5)___Router(config-if) exitRouter(config-if)【问题4】(4分)以下是指定VPN在建立连接时协商IKE使用的策略,阅读下面的配置信息,解释(6)、(7)处的命令,将答案填写在答题纸相应的位置。Router(config-if) crypto isakmp policy 10 (定义策略为10)Router(config-isakmp) hash md5___(6)___Router(config-imp) authentication pre-share___(7)___Router(config-isakmp) exitRouter(config)crypto isakmp keycisc0 123 address 0.0.0.00.0.0.0 (配置预共享密钥为cisco123,对等端为所有IP)
下面是路由器Router2的配置命令列表,在空白处填写合适的命令/参数,实现Router2的正确配置。Router2>enRouter2conf termRouter2(config)interface e0Router2(config-if)ip address 192.1.0.65 255.255.255.192Router2(config-if)interface s0Router2(configr-if)ip address 192.200.10.6 255.255.255.252Router2(config-if)endRouter2(config)router (8)Router2(config-router)network (9) area 0Router2(config-router)network (10) area 2Router2(config-router)exitRouter2copy run start
下面是路由器Router4的配置命令列表,在空白处填写合适的命令/参数,实现Router4的正确配置。Router4>enRouter4conf termRouter4(config)interface e0Router4(config-if)ip address (13)Router4(config-if)endRouter4(config)router ospf 400Router4(confiq-router)network (14)
下面是路由器Router1的配置命令列表,在空白处填写合适的命令/参数,实现Router1的正确配置。Router1>enRouter1conf termRouter1(config)iriterface e0Router1(config-if)ip address 192.1.0.129 255.255.255.192Router1 (config-if)interface s0Router1(config-if)ip address 192.200.10.5 255.255.255.252Router1(config-if)endRouter1(config)Eouter (5)Router1(config-router)network (6) area 0Router1(config-router)network (7) area 1Router1(config-router)exitRouter1copy run start
Which command is required to apply an access list on a virtual terminal line of a router?() A. Router(config-line)# access-class 10 inB. Router(config-if)# ip access-class 23 outC. Router(config-line)# access-group 15 outD. Router(config-if)# ip access-group 110 inE. Router(config-line)# access-list 150 inF. Router(config-if)# ip access-list 128 out
Which command would correctly configure a serial port on a router with the last usable host address in the 192.216.32.32/29 subnet?() A.Router(config-if)# ip address 192.216.32.38 255.255.255.240B.Router(config-if)# ip address 192.216.32.39 255.255.255.224C.Router(config-if)# ip address 192.216.32.63 255.255.255.248D.Router(config-if)# ip address 192.216.32.39 255.255.255.248E.Router(config-if)# ip address 192.216.32.38 255.255.255.248
配置路由器接口的提示是( )A.router(config)# B.router (config-in)# C.router (config-intf)# D.router (config-if)#
下列路由器命令中用于激活接口的命令是()。A、Router(config-if)#noshutdownB、Router(config-if)#endC、Router(config-if)#configtD、Router(config-if)#switchportmodeAccess
Which command is required to apply an access list on a virtual terminal line of a router?()A、Router(config-line)# access-class 10 inB、Router(config-if)# ip access-class 23 outC、Router(config-line)# access-group 15 outD、Router(config-if)# ip access-group 110 inE、Router(config-line)# access-list 150 inF、Router(config-if)# ip access-list 128 out