Jeremy's IT Lab
Day 35Security

Extended ACLs

41m6 chapters202 cues14 cards1 lab
Day 35YT: dUttKY_CNXE
00:00 / 40:55

Synchronized Transcript

202 cues indexed • Click dialogue or words to jump
Jeremy

Welcome to Jeremy's IT Lab. This is a free complete course for the CCNA. If you like these videos, please subscribe to follow along with the series.

Jeremy

series. Also, please like and leave a comment and share the video to help spread this free series of videos. Thanks for your help. help. In this video, we will cover extended ACLs, access control lists.

Jeremy

Everything we covered in day 34 about the purpose of ACLs, how they work, how to apply them to interfaces, etc., is the same for extended ACLs.

Jeremy

The only difference is that extended ACLs can do more specific matching than standard ACLs, which can only match based on the source IP address of the packet.

Jeremy

packet. As a reminder, ACLs are topic 5.6 of the exam topics list, which states that you must be able to configure and verify access control lists.

Jeremy

After this video, you'll know everything you need to know to answer questions about ACLs on the CCNA exam. Here's what we'll cover in today's video.

Jeremy

video. First up, I'll show you another way to configure numbered ACLs. This applies to both standard and extended ACLs. Then, I'll show you how to edit ACLs in case you want to add or remove specific entries in a specific order.

Jeremy

Finally, I'll introduce extended numbered and named ACLs. Although the commands are a little longer because they can match based on more variables, the configuration method in general is the same as for standard ACLs.

Jeremy

ACLs. As always, watch until the end of the quiz for a bonus question from ExSim for CCNA by Boson Software. Boson ExSim simulates the difficulty and style of the real CCNA exam better than any other practice exams.

Jeremy

If you want to get Boson ExSim, follow the link in the video description. Let's get started. In day 34, you learned that numbered ACLs are configured in global config mode.

Jeremy

For example, here's a simple ACL denying 192.168.1.1 192.168.1.1 but permitting all other traffic. The entries of ACL 1 are configured directly from global config mode with the access-list command.

Jeremy

You also learned that named ACLs are configured with subcommands in a different config mode. Here's the same ACL configured as a named ACL. The IP access-list standard command is used to enter standard named ACL config mode and then subcommands within that mode are used to configure each

Jeremy

entry of the ACL. However, in modern Cisco IOS, you can also configure numbered ACLs in the exact same way as named ACLs.

Jeremy

Here's a numbered ACL configured in the same way as the named ACL above. Be aware that this is just a different way of configuring numbered ACLs. But if you check the ACL in the running config, it will be displayed as if it was configured using the traditional method directly from global config mode.

Jeremy

Let me demonstrate. From global config mode, I entered IP access-list standard and then check the options. options. Notice that both numbered and named ACLs are valid options.

Jeremy

So, I configured ACL 1 using the named ACL configuration method IP access-list standard 1 and then the two separate entries. However, after checking the running config, it displays as if I configured it using the traditional numbered ACL method configuring the entries from global config

Jeremy

mode. If it ends up being just like a regular numbered ACL, why configure it in named ACL config mode? Well, there are a few advantages to using this config mode.

Jeremy

Let me show you those advantages. First, you can easily delete individual ACL entries with the command no followed by the entry number.

Jeremy

Let's see how that works. First, I used do show access-lists and you can see an ACL that I have configured. configured. It has four entries with sequence numbers 10, 20, 30, and 40.

Jeremy

These are the default sequence numbers starting at 10 and increasing by 10. But remember that in named ACL config mode, you can also specify the sequence number manually.

Jeremy

manually. Okay, then I used the command no 30 from named ACL config mode for ACL 1. Then I checked the ACL again.

Jeremy

And now you can see that entry 30 has been deleted. This is very convenient for editing ACLs. How about when configuring ACLs using the traditional numbered ACL method from global config mode?

Jeremy

Let's see how it works. Here's the same ACL with the same four entries. entries. I also checked it out in the running config. config. Then I tried to delete the same entry as before, sequence number 30, by using no in front of the command.

Jeremy

No access list one deny 192.168.3.0 0.0.0.255. 0.0.0.255. So, did that delete that entry?

Jeremy

I checked with show access lists, but nothing appears. Just to make sure, I checked the running config, but again nothing was displayed. I deleted that entry, but I didn't just delete that entry.

Jeremy

I deleted the whole ACL. When configuring or editing numbered ACLs from global config mode, you can't delete individual entries. You can only delete the entire ACL.

Jeremy

So, if you want to edit it, you have to delete it and then remake it from zero. If an ACL has many entries, this is obviously not a fun task.

Jeremy

So, if you want to edit an ACL, you definitely should use named ACL config mode. mode. Note that if you prefer, you can configure a numbered ACL in global config mode, and then just use named ACL config mode when you need to edit the ACL.

Jeremy

Okay, so that's the first advantage of using named ACL config mode. Even if you're configuring numbered ACLs, you can delete individual entries with no, followed by the entry number.

Jeremy

Here's another advantage. You can insert new entries in between other entries by specifying the sequence number. number. When configuring an ACL from global config mode, you can't specify the sequence number.

Jeremy

The entry is simply added to the end of the ACL, and the sequence number is automatically set to 10 higher than the current highest sequence number. However, from named ACL config mode, you can set the sequence number, so you can insert new entries in the middle of an ACL.

Jeremy

ACL. Let's take a look. Here's that same ACL from before after deleting entry 30. Let's configure a new entry with sequence number 30.

Jeremy

So, I used 30 deny 192.168.2.0 0.0.0.255 0.0.0.255 to create a new entry, specifying the sequence number of 30.

Jeremy

Then I checked the ACL, and you can see the new entry was inserted between entries 20 and 40, and it has the sequence number of 30 that I specified.

Jeremy

I also checked the running config, and notice as I showed you before that it is displayed like the ACL was configured in global config mode, and the new entry was inserted between the second and fourth entries.

Jeremy

fourth entries. Okay, those are a couple advantages of using named ACL config mode, even when configuring numbered ACLs. Let me show you one more powerful method of editing ACLs.

Jeremy

There is a resequencing function that helps edit ACLs. The command is IP access list resequence, followed by the ACL ID, whether that's a number or a name, and then the starting sequence number, and the increment that you want to use to increase the sequence numbers.

Jeremy

Okay, that might be hard to understand, so let me show you how it works. Here's an ACL, but notice the sequence numbers. numbers. It seems someone made the bad decision of sequencing the entries 1 2 3 4 and 5.

Jeremy

Note that the displayed order is 1 3 2 4 5. 5. But that's just because of what I explained in the previous video. IOS sometimes reorders the /32 ACL entries.

Jeremy

entries. So, what's bad about these entry numbers? numbers? Well, now it's impossible to insert an entry in between the other entries. For example, maybe you want to insert another deny entry somewhere in the middle.

Jeremy

middle. However, it's impossible because there are no free sequence numbers in between. Let's use the resequence command to fix this. this. I use the command IP access list resequence 1 10 10.

Jeremy

One is the ACL number. What about those two 10s? two 10s? The first one is the starting sequence number. number. It means change the sequence number of the first entry to 10.

Jeremy

How about the second 10 of the command? It's the increment. It means add 10 for every entry after that, after the first entry. So, I used show access lists again.

Jeremy

And the ACL has been resequenced. Note that the same order is kept. Deny 192.168.1.1 192.168.1.1 at the top. Then deny 3.1, then deny 2.1, then deny 4.1, and finally permit any.

Jeremy

However, the sequence numbers have been changed, starting at 10 for the top entry, and adding 10 for each entry after that. after that. That's how ACL resequencing works.

Jeremy

Now it's simple to add new entries in between the current entries. Note that this command is done from global config mode. It works for numbered and named ACLs, standard and extended ACLs, so all ACLs.

Jeremy

Okay, let's get to the main part of this lecture, extended ACLs. Extended ACLs function mostly the same as standard ACLs.

Jeremy

They can be numbered or named just like standard ACLs. If you configure an extended numbered ACL, you can use the following ranges: 100 to 199 and 2000 to 2699.

Jeremy

You definitely should memorize these ranges for the exam. Make sure you know the standard ACL ranges from last video, too.

Jeremy

1 to 99 and 1300 to 1999. Extended ACLs are processed from top to bottom, just like standard ACLs. However, here's the big difference. They can match traffic based on more parameters, so they're more precise and more complex than standard ACLs.

Jeremy

You can really specify exactly what traffic you want to deny and what traffic you want to permit. Specific kinds of traffic from specific hosts to specific destinations.

Jeremy

For the purpose of this video, we will focus on matching based on these parameters: parameters: layer 4 protocol and port number, source IP address, and destination IP address.

Jeremy

To configure an extended numbered ACL entry from global config mode, the command is access list, then the number. Make sure this number is in one of the ranges above: 100 to 199 or 2000 to 2699.

Jeremy

2699. Then, permit or deny. After that, you can specify the protocol, such as TCP or UDP, then the source IP address and the destination IP address.

Jeremy

address. How about configuring an extended named ACL? ACL? It starts with IP access list extended and then the name or number. Just like in standard ACLs, extended numbered ACLs can also be configured in named ACL config mode.

Jeremy

Once you're in extended named ACL config mode, you can specify the permit or deny statements, the protocol, source and destination, etc.

Jeremy

destination, etc. Because you already know the differences between numbered and named ACL configuration, configuration, I will just focus on configuring extended ACLs using the named method. Just don't forget that you can configure extended numbered ACLs from global config mode, too.

Jeremy

Now, as I wrote above, extended ACLs are much more complex than standard ACLs. There are lots of different variations and options that can be used when configuring the access list entries.

Jeremy

I'll just show you some basic options that you need to know for the CCNA, but I won't explore every possible option that can be used. If you want to explore the commands more, try it out in a lab and use the question mark to see what options there are.

Jeremy

are. First, I'll explain how extended ACLs can match based on protocol. From extended named ACL config mode, I entered a deny and used the question mark to see the options.

Jeremy

Let me point out a few. First step, you can use an IP protocol number. number. What's an IP protocol number? Think back to day 10 of this course about the IPv4 header.

Jeremy

There is a protocol field, which identifies the protocol that is encapsulated inside of the IP header, such as TCP or UDP. So, you can identify the protocol by the number in the IPv4 protocol field.

Jeremy

Or, you can use the name of the protocol. Options are listed here. Most people prefer the name, since it's easier to remember. But, if you want to use the protocol number, here are some examples.

Jeremy

examples. IP protocol number one is ICMP, six is TCP, 17 is UDP, 88 is EIGRP, and 89 is OSPF.

Jeremy

OSPF. I briefly mentioned some of these earlier in the course. I recommend remembering these five. They might come up somewhere on the exam. But, as I said, usually you'll use the protocol name in ACLs.

Jeremy

Here you can see EIGRP, ICMP, and OSPF. So, you can use an extended ACL to block OSPF messages on an interface, for example. example.

Jeremy

Or deny ICMP packets to deny pings. However, for this lesson, we are going to focus on these two, TCP and UDP, as well as one more.

Jeremy

That is IP itself. If you use the IP option, it matches all IP packets. IP packets. We use this option when we don't care about the protocol.

Jeremy

We just want to deny or permit all packets. For example, if you want to put a permit any statement at the end of an ACL, you would use the IP option here.

Jeremy

Now, let's see how to add the source and destination IP addresses to this ACL entry. entry. So, I selected TCP as the protocol. So, any IP packets with a TCP segment inside will match this part of the entry.

Jeremy

entry. However, we still have to specify the source and destination IP addresses to match. match. Note that in extended ACLs, to specify a /32 source or destination, you have to use the host option or specify the wildcard mask.

Jeremy

wildcard mask. You can't just write the address without either of those. In standard ACLs, that is possible, but not extended. not extended. Okay, so I decided to use any to match all source IP addresses.

Jeremy

Now, we can specify the destination IP address. address. There are many more options here related to the layer 4 port number, but I'll cover that later. So, for the destination address, these are the options.

Jeremy

The destination address, any, or host to specify a single destination. I decided to specify the destination 10.0.0.0, 10.0.0.0, and now I have to enter the wildcard mask.

Jeremy

mask. I specified a /24 wildcard mask, and now this entry is complete. So, what is the function of this entry? It will deny all packets that encapsulate a TCP segment from any source IP address to destination network 10.0.0.0/24.

Jeremy

This is just a single entry, of course. To write a complete ACL, we would probably add more entries after this. But now, I want you to practice writing a few extended ACL entries.

Jeremy

Here are a few practice questions. These aren't entries in the same ACL, just individual entries, so you can practice writing entries for extended ACLs.

Jeremy

ACLs. If you can, pause the video and try to write out each entry on your own before I show the answers. Okay, let's check each one. Number one first.

Jeremy

first. How can you write an extended ACL entry that permits all traffic? The answer is permit IP any any. We use IP to match all protocols, and then we can use any for both the source and destination to match all IP addresses.

Jeremy

addresses. This is like permit any in a standard ACL. ACL. Okay, how about number two? Prevent 10.0.0.0/16 10.0.0.0/16 from sending UDP traffic to 192.168.1.1/32.

Jeremy

Here's the answer. Deny UDP 10.0.0.0 0.0.255.255 0.0.255.255 host 192.168.1.1.

Jeremy

host 192.168.1.1. Instead of host, another option is to write out the wildcard mask at the end instead, 0.0.0.0. instead, 0.0.0.0. Next, let's check number three.

Jeremy

Prevent 172.16.1.1/32 from pinging hosts in 192.168.0.0/24. What protocol does ping use? Let's check the answer.

Jeremy

Deny ICMP. That's the protocol for ping. I said we'll focus on the TCP, UDP, and IP options, but still, make sure you're aware that ICMP is used for ping.

Jeremy

Then, host 172.16.1.1, 192.168.0.0, 192.168.0.0, 0.0.0.255. 0.0.0.255.

Jeremy

Again, instead of host, you can use the wildcard mask 0.0.0.0. Okay, we'll do some more practice later, but for now, let's go a little deeper.

Jeremy

So, let's talk about matching TCP and UDP port numbers. When you specify TCP or UDP as a protocol to match, you can optionally specify the source and or destination port numbers to match.

Jeremy

match. This is optional. If you just specify TCP or UDP without the port numbers, all port numbers will be matched. So, here's the command without specifying the port numbers.

Jeremy

I chose deny TCP, but of course, this works with permit statements and with UDP as well. If you want to specify the source TCP or UDP port, you specify it after the source IP address and wildcard mask like this.

Jeremy

this. EQ, followed by the source port, is just one option. For example, EQ 80 means equal to port 80. So, it matches TCP source port 80.

Jeremy

Another option is GT, greater than. For example, GT 80 matches all ports greater than 80, so 81 and up. There is also LT, less than.

Jeremy

LT 80 matches all port numbers less than 80, so 79 and below. NEQ is not equal. So, for example, NEQ 80 matches all ports except 80.

Jeremy

The final option is range. For example, range 80-100 matches all port numbers from 80 to 100. After the destination IP address, the same options are available to match the destination port number.

Jeremy

Although you should know these different options, EQ, GT, LT, NEQ, and range, the most common choice is EQ to match traffic for a specific port number.

Jeremy

Hopefully, you remember these port numbers from day 30 of the course. If not, I recommend taking the time now to learn them again. So, in this example, I didn't specify the host port.

Jeremy

I just entered deny TCP any and then went straight to the destination IP host 1.1.1.1. Then I entered EQ to match a specific port.

Jeremy

And you can see the options below. You can enter the specific port number or you can enter the keyword instead, such as www to match HTTP, which is port 80.

Jeremy

80. Lots of common port numbers don't have a keyword here you can use, though. So, make sure you learn the actual numbers. numbers. So, I entered port 80 for HTTP.

Jeremy

What is the effect of this ACL entry? It denies all packets destined for IP address 1.1.1.1/32, TCP port 80.

Jeremy

Okay, in the next slide, I'll have you practice writing some more ACL entries. But let me say one more point. After the destination IP address and or destination port numbers, there are many more options you can use to match in an extended ACL.

Jeremy

These aren't necessary to learn for the CCNA, but some options are ACK to match the TCP ACK flag, FIN to match the TCP FIN flag, SYN to match the TCP SYN flag, TTL to match packets with a specific TTL, time to live, value in the

Jeremy

IPv4 header, header, and DSCP to match packets with a specific DSCP, differentiated services code point value in the IPv4 header.

Jeremy

Finally, note that if you specify the protocol, source IP, source port, destination IP, destination port, etc., a packet must match all of those values to match the ACL entry.

Jeremy

Even if it matches all except one of the parameters, the packet won't match that entry of the ACL. So, extended ACLs let you be very specific about what traffic you want to match.

Jeremy

match. Okay, here's some more practice for writing individual extended ACL entries. I recommend pausing the video to try to solve these yourself.

Jeremy

But now, let's check the answers. Number one, allow traffic from 10.0.0.0/16 10.0.0.0/16 to access the server at 2.2.2.2/32 using HTTPS.

Jeremy

And here's the answer. Permit TCP, because we need to match HTTPS, which uses TCP. Then the source IP address is 10.0.0.0/16.

Jeremy

10.0.0.0/16. And we don't need to specify a source port number. port number. The destination IP is 2.2.2.2/32. I used a /32 wildcard mask, but you can use host 2.2.2.2 instead, of course.

Jeremy

Finally, I used EQ 443 to match only HTTPS, which uses TCP port 443. Okay, that's number one.

Jeremy

Next, number two. two. Prevent all hosts from using source UDP port numbers from 20,000 to 30,000 from accessing the server at 3.3.3.3/32.

Jeremy

And here's the answer. Deny UDP any range 20,000 30,000 host 3.3.3.3. host 3.3.3.3.

Jeremy

So, this matches all packets using a UDP source port from 20,000 to 30,000 with a destination of 3.3.3.3. Okay, finally, number three.

Jeremy

Allow hosts in 172.16.1.0/24, using a TCP source port greater than 9,999, 9,999, to access all TCP ports on server 4.4.4.4/32, 4.4.4.4/32, except port 23.

Jeremy

Here's the answer. The protocol is TCP. The source IP is 172.16.1.0/24. The source port is anything greater than 9,999.

Jeremy

9,999. The destination IP is 4.4.4.4/32. And the destination port is anything except 23. except 23. Quite a specific entry, but that's the power of extended ACLs.

Jeremy

Okay, let's return to our network from day 34 to configure and apply a few extended ACLs. Here are the requirements. Hosts in 192.168.1.0/24 can't use HTTPS to access server one.

Jeremy

Hosts in 192.168.2.0/24 can't access 10.0.2.0/24. And none of the hosts in 192.168.1.0/24 or 2.0/24 can ping 10.0.1.0/24 or 2.0/24.

Jeremy

or 2.0/24. So, we'll use one ACL each to fulfill these requirements. And in this case, they will all be on R1. I'll explain why soon. soon. First, I'll configure an ACL for this requirement.

Jeremy

Hosts in 192.168.1.0/24 can't use HTTPS to access server one. Here's the ACL. After entering extended named ACL config mode, I made a deny statement that matches TCP traffic coming from 192.168.1.0/24.

Jeremy

The destination IP address is 10.0.1.100/32, 10.0.1.100/32, server one. server one. And the destination port is 443, which is HTTPS.

Jeremy

That fulfills the requirement. Then I used permit IP any any to allow all other traffic. Okay, that's the ACL. But now we have to apply it to an interface.

Jeremy

Which interface should we apply it to and in which direction? For standard ACLs, the rule is to apply them as close to the destination as possible.

Jeremy

possible. Why is that? It's because standard ACLs aren't very specific. They only match the source IP address. address. So, if you apply them close to that source, you'll probably block more traffic than intended.

Jeremy

Because extended ACLs are much more specific, the rule is the opposite. Extended ACLs should be applied as close to the source as possible to limit how far the packets travel in the network before being denied.

Jeremy

Because they can be very specific, if configured correctly, there isn't much risk of blocking more traffic than you intended. you intended. So, you should apply them close to the source, so routers don't waste resources processing packets that will just be dropped.

Jeremy

dropped. So, which interface should we apply this ACL to? Where is the source? We should apply it inbound on R1's G01 interface.

Jeremy

interface. So, if a PC in this network tries to access server one using HTTPS, the packet will be dropped right away at R1.

Jeremy

Next up, let's fulfill that second requirement. Hosts in 192.168.2.0/24 can't access 10.0.2.0/24.

Jeremy

Again, I'll create a new ACL on R1. Of course, if you think you're ready, pause the video and try to write out the ACL yourself. But, I'll show you my solution now.

Jeremy

Here it is. Specifying IP as a protocol basically matches all packets, anything with an IP header. header. Then, I simply specify the source, 192.168.2.0/24, 192.168.2.0/24, and then destination, 10.0.2.0/24.

Jeremy

Finally, I added permit IP any any to allow all other traffic. So, which interface should this ACL be applied to? applied to? Remember, extended ACLs should be applied as close to the source as possible.

Jeremy

possible. In this case, the source is 192.168.2.0/24. So, I applied the ACL inbound on R1's G0/2 interface. Okay, now the second requirement has been fulfilled.

Jeremy

been fulfilled. Finally, the third requirement. None of the hosts in 192.168.1.0/24 or 2.0/24 can ping 10.0.1.0/24 or 2.0/24.

Jeremy

or 2.0/24. So, what protocol called this ping use? We should deny that protocol and make a few entries to specify each source and destination. destination.

Jeremy

Pause the video if you want to try it out, but here's my solution. So, I created three deny entries that match ICMP. match ICMP. Two for source IP 192.168.1.0/24, but only one for 192.168.2.0/24.

Jeremy

Why is that? It's because in the previous ACL, we already blocked all traffic from 192.168.2.0/ 192.168.2.0/ 24 to 10.0.2.0/24.

Jeremy

So, we don't need to include it in this ACL. ACL. If you included it, it's not a problem, of course, but I just wanted to show you that it's not necessary. At the end of the ACL, I once again included a permit IP any any statement.

Jeremy

Which interface should this ACL be applied to and in which direction? We should prevent hosts in both 192.168.1.0/24 192.168.1.0/24 and 2.0/24 from reaching the servers networks.

Jeremy

So, I think the best option is here, outbound on G0/0. This way, the ACL applies to both 192.168.1.0/24 192.168.1.0/24 and 2.0/24.

Jeremy

and 2.0/24. So, here are the three ACLs I just configured. configured. As I've said before, ACL configuration can be quite flexible, so this isn't the only solution that works.

Jeremy

Actually, this is definitely not the most efficient solution. If you want a challenge, try to make a more efficient solution that uses less ACLs or less entries and fulfills the requirements.

Jeremy

requirements. If you can find one, post it in the comment section. Finally, here's how to check which ACLs are applied to an interface.

Jeremy

The command is show IP interface, then the interface name. We often use show IP interface brief, but the regular version of the command without brief gives us more information.

Jeremy

This is just part of the output. It's quite long, so I cut it off. Here's the part I wanted to show you. Here you can see which ACL is applied outbound and which is applied inbound.

Jeremy

Or if there is no applied ACL, it just says not set. Of course, you can also check in the running config, but it's always good to know other commands both for the exam and for real-world purposes.

Jeremy

So, remember that command, show IP interface. Before moving on to the quiz, let's review what we covered in today's video.

Jeremy

First, I showed you another way to configure numbered ACLs. Basically, you can configure numbered ACLs in named ACL config mode. What is the big advantage of that?

Jeremy

It's editing ACLs. editing ACLs. Named ACL config mode lets you delete individual ACL entries and specify the sequence number of new entries to insert them in the middle of an ACL.

Jeremy

Then I showed you extended numbered and named ACLs. Extended ACLs are much more powerful than standard ACLs, as they can match traffic based on protocol, source and destination IP addresses, source and destination port numbers, et cetera.

Jeremy

This makes them more complex to configure, configure, but you just need some practice to get comfortable with them. Remember to watch until the end of the quiz for a bonus question from ExSim for CCNA by Boson Software, the best practice exams for the CCNA.

Jeremy

Okay, let's go to question one of the quiz. quiz. Which ACL, when applied outbound on R1's G00, permits only PC1 to access the TFTP server on server one?

Jeremy

Below there are four extended ACLs: 100, 101, 102, and 103. Pause the video to think about your answer.

Jeremy

Okay, the answer is 103. Entry 10 permits UDP traffic from PC1 to access port 69, TFTP, on server one.

Jeremy

Note that when entering this command, I actually entered the port number of 69, but iOS automatically converted it to TFTP. TFTP. Then entry 20 denies all other hosts from sending UDP traffic to port 69 on server one.

Jeremy

server one. Finally, entry 30 permits all other traffic. traffic. ACL 102 is similar, but instead of specifying the port on the destination, server one, it specifies the source port, which is incorrect.

Jeremy

Okay, let's go to question two. What effect will the following command have on ACL one? Here is the command.

Jeremy

No access-list one deny 10.0.2.0 0.0.0.255. 0.0.0.255. And here is ACL one. A. Traffic from 10.0.2.0/24 will be permitted.

Jeremy

B. ACL one will be deleted. C. The command will not work. It will be rejected. rejected. Or D. Traffic to 10.0.2.0/24 will be permitted.

Jeremy

Pause the video to think about your answer. The answer is B. ACL one will be deleted. deleted. Configuring numbered ACLs from global config mode does not allow you to delete individual entries.

Jeremy

individual entries. Even if you specify a certain entry with the no command, the entire ACL will be deleted. deleted. If you want to delete an individual entry, you'll need to use named ACL config mode.

Jeremy

config mode. Okay, let's go to question three. Which command was used to resequence ACL 199? 199? Here's ACL 199 before being resequenced, and here it is after.

Jeremy

Here are the commands. Which one was used to resequence ACL 199? Pause the video to think about the answer.

Jeremy

The answer is C, IP access-list resequence 199 5 10. After IP access-list resequence, you must specify the name, the new sequence number of the top entry, and then the increment used to increase the sequence number of the following entries.

Jeremy

This command tells the router to use five for the first entry, and then increase it by 10 for entries after that. that. So, from 1 2 3 4 and 5, it became 5 15 25 35 and 45.

Jeremy

Let's go to question four. Which of the following ACLs would prevent R1 from forwarding OSPF packets out of G0/2?

Jeremy

Below are ACLs 110 to 113. Pause the video to think about your answer. The answer is ACL 112.

Jeremy

It's first entry denies protocol number 89, which is OSPF. Permit IP any any is added to allow other packets, and then it is applied outbound on G0/2.

Jeremy

So, R1 won't forward OSPF packets out of that interface. By the way, protocol number 88 from ACLs 111 and 113 is EIGRP, not OSPF.

Jeremy

Okay, let's move on to question five. ACL 150 isn't having the intended effect. effect.

Jeremy

How can it be fixed to deny HTTP and HTTPS traffic from 192.168.1.0/24 to 10.0.2.0/24, to 10.0.2.0/24, but allow other traffic.

Jeremy

Select two. Okay, so you can see ACL 150 and the network topology below. Here are the options. options. A. Swap the source and destination IPs.

Jeremy

B. Move the permit IP any any statement to the beginning of the ACL. C. Apply the ACL inbound on G0/1, not outbound.

Jeremy

outbound. D. Apply the ACL inbound on G0/0, not G0/1. G0/1. E. The protocol should be TCP, not UDP.

Jeremy

Or F. The port numbers should be 88 and 404. 404. Pause the video to think about your answers. Select two.

Jeremy

The answers are C and E. The ACL should be applied inbound because we are trying to filter traffic entering the G0/1 interface from the 192.168.1.0/24 192.168.1.0/24 subnet.

Jeremy

So, C is correct. Also, HTTP and HTTPS both use TCP as their layer 4 protocol, not UDP. So, E is also correct.

Jeremy

Okay, that's all for the quiz. Now, let's do a bonus question from Boson ExSim for CCNA. Okay, here's today's Boson ExSim practice question.

Jeremy

We have a network here connected to the internet. We have router one and three servers. Music server one, music server two, and a web server.

Jeremy

Here's the question. You have been hired as a consultant for Music World Corp. You need to limit access from the internet to the music download servers, music server one and music server two.

Jeremy

These two servers should only allow FTP connections from the internet. The web server is not subject to this policy and should not be restricted.

Jeremy

Other servers on the 10.10.10.0/24 subnet should not allow any connections from the internet. You have already issued the access list 101 permit TCP any host 10.10.10.20 command and applied the access list outbound on the F00 interface.

Jeremy

Okay, so this ACL entry here uh permit TCP any host 10.10.10.20 satisfies this part of the requirements.

Jeremy

The web server is not to this policy and should not be restricted. So, that requirement is already fulfilled. fulfilled. So, what requirement do we have to fulfill?

Jeremy

fulfill? Uh it's this one here. You need to limit access from the internet to the music download servers. download servers. Uh these two servers should allow only FTP connections from the internet.

Jeremy

Okay, so here are the options. We have A, B, C, and D. So, pause the video, look at these four access list entries, and select the best answer.

Jeremy

Okay, let's check. So, I think the correct answer is A, and let me explain. So, we want to permit FTP connections to music server one and music server two.

Jeremy

So, we're permitting any source IP address, so anything from the internet, to connect to 10.10.10.0. This is /30. So, that includes music server one and music server two.

Jeremy

But, it doesn't include web server, for example. example. And equals FTP. So, that allows FTP connections to music server one and music server two.

Jeremy

And then after that, on this access list, there would be a implicit deny. So, that denies all other traffic. So, I think that satisfies the requirements.

Jeremy

We are allowing all TCP connections to the web server, and we are allowing only FTP connections to music server one and music server two. two. And then the implicit deny blocks all of the traffic.

Jeremy

Okay, so let's check the answer. I will click on show answer. And that is correct. So, here is Boson's explanation. You can pause the video here if you want to read the explanation and I recommend you do.

Jeremy

you do. As I have said before, this is one of the great things about Boson ExSim.

Jeremy

Okay, so that's the explanation. There are also references to the chapter in Cisco's official cert guide and some Cisco documentation that you can read.

Jeremy

Okay, that's Boson ExSim for the CCNA. If you want to get ExSim, follow the link in the video description. These are by far the best practice exams for the CCNA.

Jeremy

Once again, follow that link in the video description. There are supplementary materials for this video. There is a flash card deck to use with the software Anki.

Jeremy

There will also be a Packet Tracer practice lab so you can get some hands-on practice. hands-on practice. That will be in the next video. Sign up for my mailing list via the link in the description and I'll send you all of the flash cards and Packet Tracer lab files for the course.

Jeremy

Before finishing today's video, I want to thank my JCNP level channel members. To join, please click the join button under the video. Thank you to Aaron, Junhong, OJ, Magrethia, The Gun Guy, Injabulo, Benjamin, Zepiso, Justin, Prakash, Naseer, Erlesson, Apogee,

Jeremy

Marco, Flodo, Damon, Joshua, Gilmar, Ed Value, John, Funny Dart, Scott, Marek, Velvet Jacam, Seamode, Mark, Youssef, CD, Boson Software, Devin, Leto, Yonatan, and Vance.

Jeremy

Vance. Sorry if I pronounced your name incorrectly, but thank you so much for your support. This is the list of JCNP level members at the time of recording, by the way. November 29th, 2020.

Jeremy

If you signed up recently and your name isn't on here, don't worry. You'll be in future videos. Thank you for watching.

Jeremy

Please subscribe to the channel, like the video, leave a comment, and share the video with anyone else studying for the CCNA. the CCNA. If you want to leave a tip, check the links in the description.

Jeremy

I'm also a Brave verified publisher and accept BAT, or Basic Attention Token, tips via the Brave browser. That's all for now.

Keyboard shortcuts

Shortcuts are ignored while you are typing in a search box, note field, or the scratchpad.

Playback

SpaceK
Play or pause
←→
Seek 5 seconds
JL
Seek 10 seconds
C
Toggle in-video captions

Scrubber (when focused)

←→
Seek 5 seconds
Shift←/→
Seek 10 seconds
Page UpPage Down
Seek 30 seconds
HomeEnd
Jump to start or end

Flashcards

Space
Reveal the answer
1234
Grade Again / Hard / Good / Easy

Navigation

←→
Move between study-mode tabs
HomeEnd
First or last study-mode tab
?
Open or close this sheet