Lecture 13: Access-List Control Flashcards

(18 cards)

1
Q

What is ACL?

A

ACL(Access-List Control) is a the set of rules that filters the packet that enters/exits router.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the purpose of Inbound ACLs.

A

To filter packets before the routing table is checked and a forwarding decision is made

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the purpose of Outbound ACLs.

A

To filter packets after the routing table is checked.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Wildcard Mask in ACLs?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you filter an entire network using a wildcard mask?

A

Use the formula: Full mask - subnet mask. For example, 255.255.255.255 - 255.255.255.0 = 0.0.0.255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you filter a single host using a wildcard mask?

A

Use 0.0.0.0 or the keyword “host”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the wildcard mask 255.255.255.255 represent?

A

It filters all other networks and can be represented by the keyword “any”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the components of an ACL rule.

A

Includes an ACL number, rule ID, action (permit/deny), and matching option (e.g., source IP address).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the default step increment for Rule IDs in ACLs?

A

5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain the ACL matching mechanism.

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many ACLs can be applied to one interface?

A

A maximum of 4 ACLs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an Implicit Deny?

A

A default deny statement at the end of every ACL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the number range for Basic ACLs?

A

2000 to 2999.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the number range for Advanced ACLs?

A

3000 to 3999.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the key differences between Basic and Advanced ACLs?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Give examples of ACL rule configuration commands.

A
  • 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
17
Q

How do you apply an ACL to an interface?

A
  • 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
18
Q

How do you verify ACL configurations?

A

Using commands like show access-lists, show run, and show ip access-lists.