ACL访问控制列表
访问控制列表(ACL)是一种基于包过滤的访问控制技术,它可以根据设定的条件对接口上的数据包进行过滤,允许其通过或丢弃。
标准访问控制列表命令:
acl [match-order config|auto]
rule [normal|special]{permit|deny} [source source-address source-wildcard|any]
拓展命令:
配置TCP/IP协议的访问控制列表:
rule {normal|special}{permit|deny}{tcp|udp}source {|any}destination |any}
[operate]
配置ICMP协议的扩展访问列表:
rule {normal|special}{permit|deny}icmp source {|any]destination {|any]
[icmp-code] [logging]
扩展访问控制列表操作符的含义
equal portnumber //等于
greater-than portnumber //大于
less-than portnumber //小于
not-equal portnumber //不等
range portnumber1 portnumber2 //区间