在ACL配置中,用于指定拒绝某一主机的配置命令有()
A: deny 192.168.12.2 0.0.0.255
B: deny 192.168.12.2 0.0.0.0
C: deny host 192.168.12.2
D: deny any
A: deny 192.168.12.2 0.0.0.255
B: deny 192.168.12.2 0.0.0.0
C: deny host 192.168.12.2
D: deny any
举一反三
- 拒绝来自主机192.168.5.5 的数据包的语句为( )。 A: access-list deny 192.168.5.5 0.0.0.0 B: access-list deny host 192.168.5.5 C: access-list deny 192.168.5.5 D: access-list deny 192.168.5.5 255.255.255.255
- 下列命令中,正确的是: A: access-list 1 deny ip 172.16.1.3 0.0.0.0 B: access-list 101 deny ip 172.16.1.3 0.0.0.0 C: access-list 1 deny host 172.16.1.3 D: access-list 101 deny 172.16.1.3 0.0.0.0
- 下列命令中,正确的是 A: access-list 101 permit ip 172.16.1.3 0.0.0.0 any eq 23 B: access-list 111 deny ftp 172.16.1.3 0.0.0.0 any eq 21 C: access-list 121 permit host 172.16.1.3 any D: access-list 131 deny udp 172.16.1.3 0.0.0.0 any eq 53
- 要禁止远程登录到网络192.168.10.0,可以使用以下哪个命令? A: Access-list 101 deny tcp 192.168.10.0 255.255.255.0eq telnet B: access-list 101 deny tcp 192.168.10.0 255.255.255.1 eq telnet C: access-list 101 deny tcp any 192.168.10.0 0.0.0.255 eq 23 D: access-list 101 deny 192.168.10.0 0.0.0.255 any eq 23
- 在Apache目录配置中,“Order deny,allow”表示先判断deny再判断allow。