下列的配置路由器不会出现提示错误的是()
第1题:
以下是路由器R1的部分配置。请完成配置命令。
Rl(config)interface fastethemetO/0
R1(config—if)ip address(12)(13)
R1(config—if)ip nat inside
R1(config)interface fastethernetO/1
R1(config—if)ip address(14)(15)
R1(config—if)ip nat outside
第2题:
以下是路由器R1的部分配置,请完成其配置,或解释配置命令含义。
!
R1 (Config) interface fastethernet0
R1(Config-if) ip address (6) (7)
R1(Config-if) (8) (开启端口)
!
R1 (Config) interface serial 0
R1(Config-if) ip address (9) (10)
!
R1 (Config) ip routing
R1 (Config) router rip (11)
R1 (Config-router) (12) (声明网络)
R1 (Config-router) (13) (声明网络)
R1 (Config-router) (14) (声明网络)
R1 (Config-router) version 2 (15)
!
第3题:
阅读以下关于RIP动态路由配置的技术说明,结合网络拓扑图回答问题1至问题3。
[说明]
某大学城局域网的网络拓扑结构如图7-18所示,图中路由器R1、R2,R3均运行基于距离矢量算法的RIP路由协议,并且图中给出了路由器R1、R2、R3各端口的IP地址信息。
结合图7-18所示的网络拓扑结构图,将以下路由器R1配置信息中(1)~(9)空缺处的内容填写完整,实现路由器R1的正确配置。
Router>en (进入特权模式)
Router config terminal (进入配置模式)
Router (config) (1)
R1 (config) no logging console
R1 (config) interface fastethernet0/1
R1 (config-if) ip addtess 192.168.100.1 155.255.255.0
R1 (config-if) (2)
(3)
R1 (config) interface sellal 0 (进入端口S0配置子模式)
R1 (config-if) (4) (设置当前端口IP地址)
R1 (config-if) no shutdown
R1 (config-if) (5)
R1 (eonfig-if) ip address 192.168.65.2 255.255.255.0
R1 (config-if) no shutdown
R1 (config-if) exit (退出当前端口配置子模式)
R1 (config) (6)
R1 (config) (7)
R1 (config-router) (8)
R1 (conhg-router) network 192.168.65.0
R1 (config-router) network 192.168.67.0
R1 (config-router) end (退出回到特权模式)
R1 (9) (将配置信息保存到非易失性RAM中)
第4题:
阅读以下说明,回答问题1至问题2,将解答填入答题纸对应的解答栏内。 【说明】 某公司建立局域网拓扑图如图4-1所示。公司计划使用路由器作为DHCP服务器,根据需求,公司内部使用C类地址段,服务器地址段为192.168.2.0/24,S2和S3分别为公司两个部门的接入交换机,分别配置VLAN 10和VLAN 20,地址段分别使用192.168.10.0/24和192.168.20.0/24,通过DHCP服务器自动为两个部门分配IP地址,地址租约期为12小时。其中,192.168.10.1~192.168.10.10作为保留地址。图4-1
【问题1】(10分,每空1分) 下面是R1的配置代码,请将下面配置代码补充完整。 R1config t R1 (config) interface FastEthernet0/0 R1 (config-if)ip address(1) (2) R1 (config-if)no shutdown R1 (config-if)exit R1 (config)ip dhcp(3) depart1 R1 (dhcp-config)network 192.168.10.0 255.255.255.0 R1 (dhcp-config)default-router 192.168.10.254 255.255.255.0 R1 (dhcp-config)dns-server(4) R1 (dhcp-config)lease 0 (5) 0 R1 (dhcp-config)exit R1 (config)ip dhcp pool depart2 R1 (dhcp-config) network(6) (7) R1 (dhcp-config)default-router 192.168.20.254 255.255.255.0 R1 (dhcp-config) dns-server 192.168.2.253 R1 (dhcp-config) lease 0 12 0 R1 (dhcp-config)exit R1 (config) ip dhcp excluded-address (8) (9) R1 (config) ip dhcp excluded-address(10) //排除掉不能分配的IP地址 R1 (config) ip dhcp excluded-address 192.168.20.254 ...... 【问题2】(5分,每空1分) 下面是S1的配置代码,请将下面配置代码或解释补充完整。 S1config terminal S1(config)interface vlan 5 S1(config-if)ip address 192.168.2.254 255.255.255.0 S1(config)interface vlan 10 S1(config-if)ip helper-address(11) ∥指定DHCP服务器的地址 S1(config-if)exit S1(config)interface vlan 20 ...... S1(config)interface f0/24 S1(config-if)switchport mode (12) S1(config-if) switchport trunk (13)vlan all ∥允许所有VLAN数据通过 S1(config-if)exit S1(config)interface f0/21 S1(config-if)switchport mode access S1(config-if)switchport access vlan 5 S1(config-if)exit S1(config)interface f0/22 S1(config-if)switchport mode access S1(config-if)switchport access(14) S1(config)interface f0/23 S1(config-if)switchport mode access S1(config-if)switchport access(15)
第5题:
根据网络拓扑和需求说明,完成(或解释)路由器R1的配置。
Router(config) ipv6 unicast-routing (3)
Rl(config) interface Serial 1/0
R1(config-io (4) address (5) (6) (设置串口地址)
R1(config-if)no shutdown (开启串口)
R1(config)interface FastEthemet0/0
R1(config-if) (7) address (8) (设置以太口地址)
R1(config-if)exit
(3)
第6题:
A.S1(config)# interface fastethernet 0/1S1(config - if)# ip helper - address 10.0.0.2
B.S1(config)# interface fastethernet 0/1 S1(config - if)# ip helper - address 20.0.0.1
C.R1(config)# interface fastethernet 0/0 R1(config - if)# ip help er - address 20.0.0.2R 1(config - if)# ip helper - address 20.0.0.3 R1(config - if)# ip helper - address 20.0.0.4 R1(config - if)# exit R1(config)# interface fastethernet 0/1 R1(config - if)# ip helper - address 10.0.0.1
D.R1(config)# interface fastethernet 0/0 R1 (config - if)# ip helper - address 20.0.0.1 R2(config)# interface fastethernet 0/0 R2(config - if)# ip helper - address 20.0.0.1 R3(config)# interface fastethernet 0/0 R3(config - if)# ip helper - address 20.0.0.1 R4(config)# interface fastethernet 0/0 R4(config - if)# ip helper - address 20.0.0.1
E.S1(config)# interface fastethernet 0/1 S1(config - if)# ip helper - address 10.0.0.2 R2(config)# interface fastethernet 0/0 R2(config - if)# ip helper - address 20.0.0.1 R3(config)# interface fastethernet 0/0 R3(config - if) # ip helper - address 20.0.0.1 R4(config)# interface fastethernet 0/0 R4(config - if)# ip helper - address 20.0.0.1
第7题:
网络连接如下图所示,要使计算机能访问到服务器,在路由器R1中配置路由表的命令是( )。
A. R1(config)#ip host R2 200.100.50.10
B. R1(config)#ip new work 200.8.9.0 255.255.255.0
C. R1(config)#ip host R2 200.100.50.0 255.255.255.0
D. R1(config)#ip route 211.8.9.0 255.255.255.0 200.100.50.10
第8题:
根据网络拓扑和需求说明,完成路由器R1的配置。
R1 (config)# interface Serial 1/0
R1 (config-if)# ip address (3) 255.255.255..0 (设置串口地垃)
R1 (config-if) #no shutdown (开高串口)
R1 (config) #interface FastEthernet0/0
R1 (config-if) #ip address (4) 255.255.255.0 (设置以太口地址)
R1(config-if)#exit
R1(config)#router ospf 1
R1(config-router)#network 192.0.0.1 (5) area 0
R1(config-router)#network 192.1.1.1 (6) area 0
(3)
第9题:
第10题:
In which Cisco IOS configuration mode is the route distinguisher (RD) configured?()
第11题:
下列配置中,R1的OSPF路由器ID是() R1(config)#interface s0/0/0 R1(config-if)#ip add 192.168.2.1 255.255.255.252 R1(config)#int loopback 0 R1(config-if)#ip add 10.1.1.1 255.255.255.255 R1(config)#router ospf 1 R1(config-if)#network 192.168.2.0 0.0.3.255 area 0
第12题:
R1(config)#no shutdown
R1(config)#interface Serial0/0/1
R1(config)#ipv6 route fec0:dddd:/64Serial0/0/1
R1(config)#ipv6 route fec0:bbbb:/64
第13题:
某局域网通过两个路由器划分为3个子网,拓扑结构和地址分配如图所示。
下面是路由器Rl的配置命令列表,在空白处填写合适的命令/参数,实现R1的正确配置。
Router>en
Routerconf term
Router(config)hosmame R1
(1)
R1(config—if)ip address 192.168.1.2 255.255.255.0 l
Rl(config—if)no shutdown
Rl(config—if)int sO
Rl(config—if)ip address (2)
Rl(config—if)no shutdown
Rl(config—if)clock rate 56000
Rlf config—if)exit
R1(config)ip routing
Rl(config)ip route 0.0.0.0 0.0.0.0 (3)
R1(config)ip classless
R1(config)exit
R1copy run start
下面是路由器R2的配置命令列表,在空白处填写合适的命令参数,实现R2的正确配置。
Router>en
Routerconf term
Router(config)hostname R2
R2(config)int e0
R2(config—if)ip address 192.168.3.1 255.255.255.0
R2(config—iOno shutdown
R2(config—if)int sO
R2(config—if)ip address 192.168.2.2 255.255.255.0
R2(config—if)no shutdown
R2(config—if)(4)
R2(config)ip routing
R2(config)ip route 0.0.0.0 0.0.0.0 (5)
R2(config)ip classless
RE(config)exit
R2copy run start
第14题:
【问题2】 (8分)
根据网络拓扑和需求说明,完成(或解释)路由器R1的配置。
R1#configure terminal ;进入全局配置模式
R1(config)# interface ethernet0 :进入端口配置模式
R1(confg-if)# ip address (3) (4) ;配置端口IP地址
R1(config-if)# ipv6 nat ; (5)
R1(config-if)#interface ethernet1
R1(config-if)# ipv6 address (6) /64
R1(config-if)# ipv6 nat
R1(config) #ipv6 access-list ipv6 permit 2001:aaaa::1/64 any ; (7)
R1(config) #ipv6 nat prefix (8)
R1(confg) #ipv6 nat v6v4 pool ipv4-pool (9) (10) prefix-length 24
R1(config) #ipv6 nat v6v4 source list ipv6 pool ipv4-pool
R1(config) #exit
【问题2】(8分)
(3)192.17.5.1
(4)255.255.255.0
(5)在接口上启用NAT-PT
(6)2001:aaaa::1
(7)指定IPv6网络中允许被转换的IPv6地址范围
(8) 2001:aaaa:0:0:0:1::/96
(9)16.23.31.10
(10) 16.23.31.20
第15题:
阅读以下说明,回答问题1和问题2,将解答填入答题纸对应的解答栏内。 【说明】 某公司有3个分支机构,网络拓扑结构及地址分配如图4-1所示。
【问题1】(每空1分,共11分) 公司申请到202.111.1.0/29的公有地址段,采用NAPT技术实现公司内部访问互联网的要求,其中,192.168.16.0/22网段禁止访问互联网。 R1、R2和R3的基本配置已正确配置完成,其中R1的配置如下。请根据拓扑结构,完成下列配置代码。 R1的基本配置及NAPT配置如下: R1>enable Rlconfig tenrunal R1(config)interface fastenthemet 0/0 R1(config-if)ip address 192.168.0.1 255.255.255.252 R1(config-if)no shutdown Rl(config-if)exit R1(config)interface fastenthemet 0/1 R1(config-if)ip address 192.168.0.9 255.255.255.252 R1(config-if)no shutdown R1(config-if)exit R1(config)interface fastenthernet 0/2 R1(config-if)ip address (1) 255.255.252.0 //使用网段中最后一个地址 R1(config-if)no shutdown R1(config-if)exit R1(config)interface serial 0 R1(config-if)ip address 202.111.1.1 255.255.255.248 R1(config-if)no shutdown R1(corffig)ip nat pool ss 202.111.1.1 (2) netmask (3) R1(corffig) interface (4) fastenthernet 0/0-1 R1(config-if)ip nat (5) R1(config-if)interface serial 0 Rl(config-if)ip nat (6) R1(config-if)exit R1(config)access-Iist l permit 192.168.0.0 (7) Rl(config)ip nat inside (8) list (9) pool (10) (11) 【问题2】.(每空2分,共4分) 在R1、R2和R3之间运行OSPF路由协议,其中R1、R2和R3的配置如下。 行号 配置代码 1 R1(config)router ospf 1 2 R1(config-router)network 192.168.4.0 0.0.3.255 area 0 3 Rl(config-router)network 192.168.0.0 0.0.0.3 area 0 4 Rl(config-router)network 192.168.0.8 0.0.0.3 area 0 5 R2>enable 6 R2config terminal 7 R2(config)router ospf 2 8 R2(config-router)netvrork 192.168.8.0 0.0.3.255 area 0 9 R2 (config-router)network 192.168.12.0 0.0.3.255 area 0 1 0 R2 (config-router)network 192.168.0.4 00.0.3 area 0 1 1 R3>enable 1 2 R3config terminal 1 3 R3(config)router ospf 3 1 4 R3(config-router)netvrork 192168.0.8 00.0.3 area 0 1 5 R3(config-router)network 192.168.0.4 0.0.0.3 area 0 1.配置完成后,在R1和R2上均无法ping通R3的局域网,可能的原因是(12)。 (12)备选答案: A.在R3上未宣告局域网路由 B.以上配置中第7行和第13行配置错误 C.第1行配置错误 D.R1、R2未宣告直连路由. 2.在OSPF中重分布默认路由的命令是:(13)。 (13)备选答案: A.Rldefault-informaton originate B.R1(config-if)default-information originate C.R1(config-router)default-information originate D.Rl(config)default-information originate
第16题:
阅读以下说明,回答问题1~3,将解答填入对应的解答栏内。
某公司的分支机构通过一条DDN专线接入到公司总部,地址分配和拓扑结构如图5-1所示。在两台路由器之间可以使用静态路由,也可以使用动态路由。
下面是分支机构路由器R1的配置命令列表,在空白处填写合适的命令/参数,实现R1的正确配置。
Router>en
Router>conf term
Router(config)hostname R1
Router(config)int e0
R1(config-if)ip address (1)
R1(config-if)no shutdown
R1(config-if)int s0
R1(config-if)ip address [ (2) ]
R1(config-if)no shutdown
R1(config-if)clock rate 56000
R1(config-if)exit
R1(config)ip routing
R1(config)ip route [ (3) ]
R1(config)ip classless
R1(config)exit
R1copy run start
第17题:
Refer to the exhibit. Routers R1 and R2 have established a neighbor relationship and are exchanging routing information. The network design requires that R1 r eceive routing updates from R2, but not advertise any routes to R2. Which configuration command sequence will successfully accomplish this task? ()
A. R1(config)# router eigrp 1 R1(config - router)# passive - interface serial 0
B. R1(config)# access - list 2 0 deny any R1(config)# router eigrp 1 R1(config - router)# distribute - list 20 out serial 0
C. R2(config)# access - list 20 permit any R2(config)# router eigrp 1 R2(config - router)# distribute - list 20 in serial 0
D. R1(config)# access - list 20 permit any R 1(config)# router eigrp 1 R1(config - router)# distribute - list 20 in serial 0
E. R2(config)# access - list 20 deny any R2(config)# router eigrp 1 R2(config - router)# distribute - list 20 out serial 0
F. R2(config)# router eigrp 1 R2(config - router)# passive - interface serial 0
第18题:
A.R1(config)#interfaceethernet0;R1(config-if)#ipaddress192.1.1.129255.255.255.192;R1(config-if)#noshutdown
B.R1(config)#interfaceethernet0;R1(config-if)#ipaddress192.1.1.97255.255.255.192;R1(config-if)#noshutdown
C.R1(config)#interfaceserial0;R1(config-if)#ipaddress192.1.1.4255.255.255.252;R1(config-if)#clockrate56000
D.R1(config)#interfaceserial0;R1(config-if)#ipaddress192.1.1.6255.255.255.252;R1(config-if)#noshutdown
E.R1(config)#routerrip;R1(config-router)#network192.1.1.4;R1(config-router)#network192.1.1.128
F.R1(config)#routerrip;R1(config-router)#version2;R1(config-router)#network192.1.1.0
第19题:
● 配置路由器端口,应该在哪种提示符下进行? (56)
(56)
A. R1 (config)#
B. R1 (config-in)#
C. R1 (config-intf)#
D. R1 (config-if)#
第20题:
某单位的办公网和商务网通过路由器R1、R2、R3与Internet相连,网络连接和IP地址分配如图1所示。该单位要求通过RIP路由协议使办公网和商务网之间能够互相通信,并正常访问Internet
请阅读以下R1的配置信息,并补充【6】~【10】空白处的配置命令或参数。按题目要求完成R1的正确配置。
Router>enable
Router
Routerconfigure terminal
Router(config)
Router(config)hostname R1
R1(config)interface f0/1
R1(config-if)ip address 202.206.16.1 255.255.255.0
R1(config-if)no shutdown
R1(config-if)interfacef0/2
R1(config-if)ip adress 202.206.17.1 255.255.255.0
R1(config-if)no shutdown
R1(config-if)exit
R1(config)
R1(config)interface s1
R1(config-if)vlan ip adress 202.112.41.144 255.255.255.252
R1(config-if)bandwidth 【6】 配置带宽为2.048Mbps
R1(config-if)【7】 PPP 封装PPP协议
R1(config-if)noshutdown
R1(config-if)exit
R1(config-if)iproute 【8】 配置缺省路由
R1(config-if)router rip
R1(config-router)network 【9】 配置参与RIP的网络
R1(config-router)network 【10】 配置参与RIP的网络
R1(config-router)end
R1write
R1
第21题:
You administer a network that uses two routers, R1 and R2, configured as an HSRP group to provide redundancy for the gateway. Router R1 is the active router and has been configured as follows: R1#configure terminal R1(config)#interface fa0/0 R1(config-if)#ip address 10.10.0.5 255.255.255.0 R1(config-if)#standby 1 priority 150 R1(config-if)#standby preempt delay minimum 50 R1(config-if)#standby 1 track interface fa0/2 15 R1(config-if)#standby 1 ip 10.10.0.20 Which of the following describes the effect the standby preempt delay minimum 50 command will have on router R1?()
第22题:
请问以下配置中,R1的OSPF路由器ID是什么() R1(config)#interface s0/0/0 R1(config-if)#ip add 192.168.2.1 255.255.255.252 R1(config)#int loopback 0 R1(config-if)# ip add 10.1.1.1 255.255.255.255 R1(config)#router ospf 1 R1(config-if)#network 192.168.2.0 0.0.3.255 area 0
第23题:
根据网络拓扑和要求说明,完成(或解释)路由器R1 的配置: R1#config R1(config)# interface FastEthernet 0/1 R1(config-if)#ip address (1) (2) R1(config-if)#no shutdown R1(config-if)#exit R1(config)#ip dhcp pool vlan 3 R1(dhcp-config)#network 192.168.3.0 255.255.255.0 R1(dhcp-config)#default-router 192.168.3.254 255.255.255.0 ; (3) R1(dhcp-config)#dns-server 192.168.2.1 ; (4) R1(dhcp-config)#lease 0 8 0 ; (5) R1(dhcp-config)#exit R1(config)#ip dhcp pool vlan 4 R1(dhcp-config)#network (6) (7) R1(dhcp-config)#default-router 192.168.4.254 255.255.255.0 R1(dhcp-config)#dns-server 192.168.2.1 R1(dhcp-config)#lease 0 8 0 R1(dhcp-config)#exit R1(config)#ip dhcp excluded-address (8) (9) R1(config)#ip dhcp excluded-address 192.168.3.254 //排除掉不能分配的IP 地址 R1(config)#ip dhcp excluded-address 192.168.4.254 R1(config)# (10) 192.168.3.0 255.255.255.0 FastEthernet0/1 //在以太网接口和VLAN3 间建立一条静态路由