填空题
网络技术
题号 #3017933
根据如下拓扑图配置(1)~(5)实现拒绝PC2所在网段访问路由器R2,同时只允许主机PC3访问路由器R2的TELNET服务,整个网络配置保证IP的连通性。

配置开始:
R2(config)#router rip
R2(config)#version 2
R2(config-router)#network 2.2.2.0 0.0.0.255
R2(config-router)#network 192.168.12.0
R2(config-router)#network 192.168.23.0
R2(config-router)#no auto-summary
R2(config)# (1)__________________________________ //定义ACL
R2(config)# (2)___________________________________//定义ACL
R2(config)# (3)___________________//配置接口地址
R2(config-if)#(4)______________________________//在接口下应用ACL
R2(config)# (5)____________________________________
R2(config-if)#line vty 0 4
R2(config-line)#___________________________//在vty下应用ACL
R2(config-line)#password cisco
R2(config-line)#___________________//开启密码检查
参考答案
暂无
答案解析
R2(config)#router rip
R2(config)#version 2
R2(config-router)#network 2.2.2.0 0.0.0.255
R2(config-router)#network 192.168.12.0
R2(config-router)#network 192.168.23.0
R2(config-router)#no auto-summary
R2(config)# (1)access-list 1 172.16.1.0 0.0.0.255 //定义ACL
R2(config)# (2)access-list 1 permit any
R2(config)# (3)int s0/0/0
R2(config-if)#(4)ip access-group 1 in //在接口下应用ACL
R2(config)# (5)access-list 2 permit host 172.16.3.1
R2(config-if)#line vty 0 4
R2(config-line)#access-class 2 in //在vty下应用ACL
R2(config-line)#password cisco
R2(config-line)#login //配置路由器R3
R2(config)#version 2
R2(config-router)#network 2.2.2.0 0.0.0.255
R2(config-router)#network 192.168.12.0
R2(config-router)#network 192.168.23.0
R2(config-router)#no auto-summary
R2(config)# (1)access-list 1 172.16.1.0 0.0.0.255 //定义ACL
R2(config)# (2)access-list 1 permit any
R2(config)# (3)int s0/0/0
R2(config-if)#(4)ip access-group 1 in //在接口下应用ACL
R2(config)# (5)access-list 2 permit host 172.16.3.1
R2(config-if)#line vty 0 4
R2(config-line)#access-class 2 in //在vty下应用ACL
R2(config-line)#password cisco
R2(config-line)#login //配置路由器R3