ACL Standard
#ip access-list standar NO_Access
#deny host 192.168.10.1
#permit 192.168.11.0 0.0.0.255 ==IP network
#int se0/0/0 ===ip router
#ip access-group NO_Access out
ACL Extended
#ip access-list extended NO_Access
#deny (name_port) host 192.168.1.1 any eq 80
#permit (name_port) 192.168.1.0 0.0.0.255 any ===all network (If one host, you can create : #permit (name_port) 192.168.1.1 host 192.168.2.1 0.0.0.0)
#int fa0/1
#ip access_group NO_Access
#ip access-list standar NO_Access
#deny host 192.168.10.1
#permit 192.168.11.0 0.0.0.255 ==IP network
#int se0/0/0 ===ip router
#ip access-group NO_Access out
ACL Extended
#ip access-list extended NO_Access
#deny (name_port) host 192.168.1.1 any eq 80
#permit (name_port) 192.168.1.0 0.0.0.255 any ===all network (If one host, you can create : #permit (name_port) 192.168.1.1 host 192.168.2.1 0.0.0.0)
#int fa0/1
#ip access_group NO_Access
No comments:
Post a Comment