Types of IPv4 ACL’s

Inbound vs Outbound

Standard ACL implementation syntax ~~~ config# access-list ACL-# {deny | permit | remark} source_ip [source-wildcard] [log]

(config)# access-list 10 permit 192.168.10.0 0.0.0.255 ~~~

Linking an ACL to interface ~~~ (config)# ip access-group {ACL-# | access-list-name} {in | out}

(config)# access-list 1 permit 192.168.10.0 0.0.0.255 (config)# interface s0/0/0 (config-if)# ip access-group 1 out ~~~

Extended ACL implementation syntax ~~~ (config)# access-list ACL-# {deny | permit | remark} protocol {source source-wildcard} [operator] [port-number | port-name] {destination destination-wildcard} [operator] [port-number | port-name]

(config)# access-list 103 permit tcp 192.168.10.0 eny eq 80 ~~~

Numbered and Named ACL’s

Where do we place ACLs?

Common ACL Errors

Example Only Allowing HTTP

Router(config)#ip acc

Router(config)#ip access-list ex

Router(config)#ip access-list extended ALLOW_HTTP_PC1

Router(config-ext-nacl)#permit tcp host 192.168.1.3 host 172.16.1.2 eq 80