题目内容:
在一台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(corffig-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)#aceess-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(cortfig)#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(cortfig)#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-hst 30 deny any
Router(config)#line vty 0 5
Router(config-line)#access-class 30 in
参考答案:
答案解析: