12.1 Access Control Lists (ACL) Flashcards
Standard IP
Standard ACLs can be used to permit or deny traffic based only on the source IP address. Standard ACLs don’t care about where the package is being sent, just the packet origin. Standard ACLs should be placed as close to the destination as possible.
Extended IP
An extended ACL can be used to permit or deny traffic based on source and destination IP address. Extended ACLs are also used to permit or deny traffic based on port numbers and different types of traffic such as TCP and UDP
Router>enable
This command logs you into the enable mode, also known as the privileged mode.
Router#configure terminal
This command logs you into configuration mode.
Router(config)#
This is the prompt from which you can start creating access lists
Router(config)#ip access-list standard 1
Creates or edits a standard access list using an ID number of 1.
Router(config)#10 deny 192.168.0.0 0.255.255.255
Assigns the sequence number of 10 to the deny statement.
access-list ACL log
Displays log messages that identify which line in an ACL is being matched.
show run
show access-lists
Displays all access lists that exist on the router.
show ip int
show run
Displays all access lists applied to an interface.
show log
Displays rejected traffic information.
show run
show ip access-lists
Displays IP access lists configured on the router.
show access-lists [number]
Displays a specific access list.