题目内容:
在一台Cisco路由器上 ,只允许IP地址212.78.4.100/24的主机和 202.34.76.64/26 子网上的所有主机远程登录路由器,下列正确的 access-list 配置是 ( )
A.Router(config)#access-list 30 permit 202.34.76.64 0.0.0.63Router(config)#access-list 30 permit 212.78.4.100
Router(config)#access-list 30 deny any
Router(config)#line vty 0 5
Router(config-line)#access-class 30 in
B.Router(config)#access-list 30 permit 202.34.76.64 0.0.0.192
Router(config)#access-list 30 permit 212.78.4.100
Router(config)#access-list 30 deny any
Router(config)#line vty 0 5
Router(config-line)#access-class 30 in
C.Router(config)#access-list 30 deny any
Router(config)#access-list 30 permit 202.34.76.64 0.0.0.63
Router(config)#access-list 30 permit 212.78.4.100
Router(config)#line vty 0 5
Router(config-line)#access-class 30 in
D.Router(config)#access-list 30 permit 202.34.76.64 255.255.255.192
Router(config)#access-list 30 permit 212.78.4.100
Router(config)#access-list 30 deny any
Router(config)#line vty 0 5
Router(config-line)#access-class 30 in
参考答案:
答案解析: