找考题网-背景图
单项选择题

在一台Cisco路由器的g0/1端口封禁ICMP协议,只允许169.15.128.0/24和119.75.108.0/24子网的ICMP数据包通过路由器,正确的access-list配置是( )。

A.Router(config)#access-list 198 deny icmp any any Router(config)#access-list 198 permit icmp 169.15.128.0 0.0.0.255 any Router(config)#access-list 198 permit icmp 119.75.108.0 0.0.0.255 any Router(config)#access-list 198 permit ip any any Router(config)#interface g0/1 Router(config-if)#ip access-group 198 in Router(config-if)#ip access-group 198 out Router(config-if)#
B.Router(config)#access-list 198 permit icmp 169.15.128.0 0.0.0.255 any Router(config)#access-list 198 permit icmp 1 19.75.108.0 0.0.0.255 any Router(config)#access-list 198 deny icmp any any Router(config)#access-list 198 permit ip any any Router(config)#interface g0/1 Router(config-if)#ip access-group 198 in Router(config-if)#ip access-group 198 out Router(config-if)#
C.Router(config)#access-list 98 permit icmp 169.15.128.0 0.0.0.255 any Router(config)#access-list 98 permit icmp 119.75.108.0 0.0.0.255 any Router(conflg)#access-list 98 deny icmp any any Router(config)#access-list 98 permit ip any any Router(config)#interface g0/1 Router(config-if)#ip access-group 98 in Router(config-if)#ip access-group 98 out Router(config-if)#
D.Router(config)#access-list 100 permit icmp 169.15.128.0 0.0.0.255 any Router(conflg)#access-list 100 permit icmp 119.75.108.0 0.0.0.255 any Router(config)#access-list 100 permit ip any any Router(config)#access-list 100 deny icmp any any Router(config)#interface g0/1 Router(coniig-if)#ip access-group 100 in Router(config-if)#ip access-group 100 out Router(config-if)#
热门试题

单项选择题下列是一台第三层交换机的部分路由表,其中管理距离为缺省值,正确的路由信息是( )。

A.O 162.105.153.0/24[110/2]via 162.105.254.8,00:23:00,Vlan2 O E1162.105.144.0/25[110/30]via 162.105.253.249,00:23:00,Vlan253 C162.105.157.0/24 is directly connected,via 162.105.157.1 C162.105.156.0/24 is directly connected,via 162.105.156.1 S162.105.239.0/25[1/0]via 202.112.41.6 S 162.105.125.128/26[1/0]via 202.112.7.1
B.0 162.105.153.0/24[120/2]via 162.105.254.8,00:23:00,Vlan2 O E1162.105.144.0/25[120/30]via 162.105.253.249,00:23:00,Vlan253 C162.106.t57.0/24 is directly connected,Vlan157 C162.105.156.0/24 is directly connected,Vlan30 S162.105.239.0/25[1/0]via 202.112.41.6 S162.105.125.128/26[1/0]via 202.112.7.1
C.162.105.153.0/24[110/2]via 162.105.254.8,00:23:00,Vlan2 O E1162.105.144.0/25[110/30]via 162.105.253.249,00:23:00,Vlan253 C162.105.157.0/24 is directly connected,Vlanl57 C162.105.156.0/24 is directly connected,Vlan30 S162.105.239.0/25[1/0]via 202.112.41.6 S162.105.125.128/26[1/0]via 202.112.7.0
D.0 162.105.153.0/24[110/2]via 162.105.254.8,00:23:00,Vlan2 O E1162.105.144.0/25[110/30]via 162.105.253.249,00:23:00,Vlan253 C162.105.157.0/24 is directly connected,Vlanl57 C162.105.156.0/24 is directly connected,Vlan30 S162.105.239.0/25[1/0]via 202.112.41.6 S162.105.125.128/26[1/0]via 202.112.7.1