Lecture 13: Access-List Control Flashcards
(18 cards)
What is ACL?
ACL(Access-List Control) is a the set of rules that filters the packet that enters/exits router.
Explain the purpose of Inbound ACLs.
To filter packets before the routing table is checked and a forwarding decision is made
Explain the purpose of Outbound ACLs.
To filter packets after the routing table is checked.
What is a Wildcard Mask in ACLs?
A mechanism to specify an IP address or a range of IP addresses for filtering. ‘0’ in the mask means match the corresponding bit, and ‘1’ means ignore.
How do you filter an entire network using a wildcard mask?
Use the formula: Full mask - subnet mask. For example, 255.255.255.255 - 255.255.255.0 = 0.0.0.255
How do you filter a single host using a wildcard mask?
Use 0.0.0.0 or the keyword “host”.
What does the wildcard mask 255.255.255.255 represent?
It filters all other networks and can be represented by the keyword “any”.
Describe the components of an ACL rule.
Includes an ACL number, rule ID, action (permit/deny), and matching option (e.g., source IP address).
What is the default step increment for Rule IDs in ACLs?
5
Explain the ACL matching mechanism.
ACLs are processed from top to bottom. The first match determines the action (permit or deny). If no rule is matched, an implicit deny is applied.
How many ACLs can be applied to one interface?
A maximum of 4 ACLs.
What is an Implicit Deny?
A default deny statement at the end of every ACL.
What is the number range for Basic ACLs?
2000 to 2999.
What is the number range for Advanced ACLs?
3000 to 3999.
What are the key differences between Basic and Advanced ACLs?
Basic ACLs filter based only on the source IPv4 address. Advanced ACLs can filter based on source and destination IPv4 addresses, protocol types, port numbers, etc.
Give examples of ACL rule configuration commands.
- Create numbered standard ACL: R1(config)#access-list 1 deny/permit ip add wildcard mask
- Create numbered extended ACL: R1(config)#access-list 100 ip deny/permit ip add wildcard mask ip add wildcard mask
How do you apply an ACL to an interface?
- Numbered ACL: R1(config)#interface g0/1 R1(config-if)#ip access-group 1 in
- Named ACL: R1(config)#interface g0/1 R1(config-if)#ip access-group MyACL out
How do you verify ACL configurations?
Using commands like show access-lists, show run, and show ip access-lists.