Jeremy's IT Lab
Day 34Security

Standard ACLs

47m8 chapters195 cues14 cards1 lab
Day 34YT: z023_eRUtSo
00:00 / 46:51

Synchronized Transcript

195 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 also please like and leave a comment and share the video to help spread this free series of videos thanks for your help in this.

Jeremy

Video we will cover standard ACL's Access Control lists I'll be splitting up ACL's into two days this video and the next one day 35 5 which will cover.

Jeremy

Another kind of ACL ACLS are in the exam topics under Section Five security fundamentals specifically topic 5.6 which says You must be able to configure and verify Access Control lists it doesn't specify IPv4 or IPv6.

Jeremy

But for the CCNA you just have to learn IPv4 IPv4 ACS perhaps later I'll make an extra video introducing IPv6 ACLS.

Jeremy

But currently it's not necessary for the CCNA here's what we'll cover in today's video first what are ACLS I'll introduce their basic their basic purpose I'll talk about ACL logic how they are actually processed by the router.

Jeremy

I'll introduce the basic types of ACL's on Cisco routers after that I'll show you how to configure two kinds of ACLS standard numbered ACLS and standard named ACLs as always.

Jeremy

Watch until the end of the quiz for a bonus question from ban xim for CCNA the best practice exams for the CCNA and in my opinion the best tool to get ready for the CCNA exam.

Jeremy

So what are ACL's ACL's Access Control lists actually have multiple uses the name Access Control tells us that they control access to the network.

Jeremy

For example ex Le host a should be allowed to access server a but host B should not be allowed to access server a in day 34 this video and day 35 we will focus on ACL's from a security perspective.

Jeremy

So like I just said controlling which devices have access to which parts of the network however although that is the main purpose of ACL's.

Jeremy

That's not the only only purpose later in the course you'll see some other uses of ACL's but for now we'll focus on ACL's from a security perspective controlling who has access to different parts of the network.

Jeremy

So when using ACLS in this way ACL's function as a packet filter instructing the router to permit or discard specific discard specific traffic as you know.

Jeremy

If a router receives a packet and it has a route to the packet's destination it will by default forward the packet according to its routing routing table however ACL's let us control that even.

Jeremy

If the router has a route to the destination the packet might be discarded if the ACL tells the router to do do so ACLS can filter traffic based on the source and destination IP addresses source and destination layer 4 port numbers numbers etc for the CCNA we'll just focus.

Jeremy

On those two IP addresses and port numbers but you can get more advanced with ACL's also okay I think showing you will make things easier to understand than just explaining.

Jeremy

So we have two routers R1 and R2 with a point-to-point connection the 192.168.1.0 24 network is connected to R1 and I've shown a couple PCS in the network pc1 and PC2 notice that instead of including a switch in the diagram and showing.

Jeremy

The PCS connected to the switch I represent the network segment like this this is common in network diagrams in reality all of the PCS in the 192.168.1.0 24 Network are connected to a switch and the switch is connected to R1.

Jeremy

But we don't actually have to include the switch in this diagram the 192.168.20.10 1.024 network with server one is connected.

Jeremy

To R2 and the 10.2.4 network with server 2 is also connected to R2 I'll use this network to demonstrate how ACL's how ACL's work.

Jeremy

So without looking at the actual configurations yet let's build an ACL so you can see how they work we shouldn't just configure ACLS randomly we must use them to achieve a certain requirement.

Jeremy

For example let's say the network policy is that hosts in 192.168.1.0 24 should be able to access the the 10.1.0 24 Network they should be able to access files on server one.

Jeremy

For example however hosts in the 192.168.20.10 24 PC3 and pc4.

Jeremy

For example should not be able to access files on server One how can we use ACL's to achieve this first up ACLS are configured globally on the router in global config mode ACLS are made up of an ordered sequence of.

Jeremy

AC Access Control entries for example to fulfill our requirement we could configure acl1 like this on R1 or R2 ac1 says.

Jeremy

If Source IP equals 193.168 1.024 then permit the packet let the router forward it ac2 says.

Jeremy

If Source IP equals equals 192.168.20.10 24 deny the traffic AC3 says that all other traffic should be permitted the order of these entries is very important.

Jeremy

But I'll talk more about that later configuring an ACL in global config mode will not make the ACL take effect after being created the ACL must be applied to an interface ACLS are applied either inbound or outbound.

Jeremy

Let's see how that works here here's that same ACL as before let's say we configured it on R1 so it has been created but it hasn't been applied yet.

Jeremy

Let's walk through some examples of applying acl1 to different interfaces in different directions once again here are the requirements depending on which interface we apply the acl2 and which direction we apply it in we will either succeed in meeting the.

Jeremy

Requirements or fail for example what if we applied it outbound on g02 that means it will only take effect on traffic exiting g02 does that fulfill the requirements the answer is no it doesn't fulfill the requirement why not.

Jeremy

Because R1 will only use the ACL to filter traffic exiting g02 not entering it if PC3 tries to Ping Server 1 when the Ping reaches R1 it won't even check the ACL.

Jeremy

Because the traffic is entering g02 not exiting it so R1 will forward the traffic to R2 which will forward it to server 1.

Jeremy

Now when server one sends the reply to PC3 R1 will check the ACL to decide if the traffic should be forwarded out of g02 or g02 or not it will check the entries of acl1 in sequence.

Jeremy

If Source IP equals 192.168 1.024 well the source is server one so that doesn't apply if Source.

Jeremy

IP equals 192.168.20.10 2.24 shouldn't be able to clearly we didn't apply this ACL.

Jeremy

Correctly what if we appli the ACL inbound on g02 that means R1 will check the ACL for all traffic entering g02.

Jeremy

So if PC3 tries to Ping Server 1 R1 will check the ACL once again it will check the entries in order from top to bottom.

Jeremy

If Source IP equals equals 192.168.1.0 192.168.1.0 24 The Source isn't in that subnet so it checks the next entry.

Jeremy

If Source IP equals 192.168.20.10 2.1 which.

Jeremy

Is in1 192.168.20.10.

Jeremy

So does this fulfill our requirements yes and no 192.168.1.0 24 will be able to access 10.1.2 no problem there is no ACL stopping them from communicating also.

Jeremy

Hosts in 192.168.20.10 24 as you just saw R1 dropped the traffic from traffic from PC3 however by applying the ACL inbound on g02 we are being too restrictive this blocks.

Jeremy

Hosts in 1 192.168.20.10.

Jeremy

Or r2's G g00 but let's take a look at the best option the best location to place this ACL is outbound on r2's g01 interface.

Jeremy

Let's see how it works if PC3 tries to Ping Server 1 R2 will check the ACL before forwarding the packet out of its g01 interface.

Jeremy

The first entry says if Source IP equals IP equals 192.168.1.0 24 then permit but the source isn't in that subnet.

Jeremy

So R2 checks the next entry if Source IP is in 192.168.20.10.

Jeremy

2.24 can't access 10.1.0 sl24 what if pc1 in 192.168.1.2 4 tried to Ping Server one before forwarding the packet out of its g01 interface R2 will.

Jeremy

Check the ACL if the source IP is in 192.168.1.0 24 then permit the source is 192.168.1.1 so the packet is permitted and R2 forwards it to server one both requirements have been satisfied and there is no effect.

Jeremy

On other traffic I hope that that demonstration helped you understand what an ACL is and how they work if you're still a little confused don't worry.

Jeremy

Let me explain a little more about some of the things I just just mentioned so ACL's are configured in global config mode but then you must apply it to an interface.

Jeremy

When applying it to an interface you specify a direction this tells the router to either check packets that enter the interface or check packets that exit the interface ACL's are made up of one or more AC Access Control entries.

Jeremy

When the router checks a packet against the ACL it processes the aces in order from top to bottom I just showed you this.

Jeremy

For example here in acl1 the router will check if the packet source is in is in 192.168.1.0 24 then it will check.

Jeremy

If the packet source is in 192.168.20.10 permitted another point I briefly mentioned before.

Jeremy

If the packet matches one of the entries in the ACL the router takes the action and stops processing the ACL all entries below the matching entry will be ignored.

Jeremy

Let me show you an example here we have a router and another another ACL the first entry in the ACL says.

Jeremy

If Source IP equals 192.168.1.0 24 then permit however the second entry says if Source IP equals 192.168.0.1 16 then deny what effect will this have.

Jeremy

If applied outbound on the g0000 interface of this of this router if a packet with a source IP of 192.168.1.1 arrives on g01 before forwarding the packet out of g0000 the router will check it against the ACL the source.

Jeremy

Is 192.168.1.1 which matches the first entry so the router will forward the packet as normal this second entry will simply be ignored.

Jeremy

Now I've reversed entries 1 and two in ACL 2 what will the effect be if the same packet is received by the router it will once again check acl2 before forwarding the packet.

Jeremy

The first entry tells the router to deny the packet so it will be discarded not forwarded out of the interface entry two which tells the rou to permit that packet is ignored.

Jeremy

So I think you can see how important the order of the entries in an ACL is now here's one more point about ACLS a maximum of one ACL can be applied to a single interface per Direction.

Jeremy

So one inbound ACL is allowed and one outbound ACL is allowed for maximum of two two ACLS if you apply a second ACL to an interface in the same direction as.

Jeremy

Another one it will replace the previous one next up another important part of ACL's the implicit deny here's a question what happens.

Jeremy

If a packet doesn't match any of the entries in an in an ACL so here's the same ACL and the same router this time the router receives a packet with Source IP 10.0.1 before forwarding it out of g0000 the router checks.

Jeremy

It against the ACL $10 o.0 do1 doesn't match the first entry and it doesn't match the second entry either so what happens the answer is the router will deny the packet it will not forward it.

Jeremy

This is what we call the implicit deny even though there is no entry in the ACL telling the router to deny the packet it's like there is an invisible entry at the end.

Jeremy

If Source IP equals any then deny this is true for all all ACLS to summarize this point point there is an implicit deny at the end of all ACL's this tells the router to deny all traffic that doesn't match any of the configured entries in the ACL.

Jeremy

Always be aware of the implicit deny when configuring ACLS or you might deny traffic that you didn't want to deny.

Jeremy

Now that you have an idea of the basic operations of ACL's let me introduce the different types of ACL's you will learn about in today's video and in day 35 there are two main types of ACL's and those two types have two subtypes.

Jeremy

The first type are standard ACLS these match based on Source IP address only so they are quite simple the two types of standard ACLS are standard numbered ACLS which are identified with a number like 1 2 Etc and there are also standard named ACLS.

Jeremy

Which are identified with a name there are also differences in how you configure numbered and named ACLS but we'll get to that later in addition to standard ACLS there are also extended ACLS these are more complex and can match based on source and or.

Jeremy

Destination IP address source and or destination port numbers as well as some other things like standard ACLS there are numbered and named versions of extended ACLS ACLS 2 as I said in the beginning of the video today we'll focus on standard.

Jeremy

ACLS all of the examples so far have been standard ACLS filtering packets only based on their Source IP address in day 35 I'll tell you all about extended ACLS.

Jeremy

But now let's learn some more about standard ACLS and then see how to actually configure them so let's get into standard numbered ACLS as I just mentioned standard ACL's match traffic based only on the source IP address of the package packet.

Jeremy

So standard ACLS are quite simple the router doesn't check the destination IP The Source layer 4 Port the destination Port Etc it just looks at the source IP address of the packet and decides to forward or block it numbered ACLS are identified with a number you.

Jeremy

Can of course configure multiple ACLS on a single router so you need to identify each ACL numbered ACL's use a number like acl1 acl2 Etc there are also named ACLS which I'll introduce later.

Jeremy

Here's an important Point different types of ACLS have a different range of numbers that can be used standard ACLS can use 1 to 99 and 1,300 to 1,300 to 1,999 originally standard ACLS could.

Jeremy

Only use 1 to 99 meaning you could have a maximum of 99 standard ACLS on a single router later this was expanded to include 1,300 to to 1,999.

Jeremy

So you can't configure a standard ACL with the number 100 for example the number has to be in one of these ranges here are a bunch of different ACL types and the different number ranges that identify them you don't have.

Jeremy

To memorize all of these of course for now just remember the standard ACL ranges 1 to 99 and 1,300 to 1,999 listed as standard IP ACLS in this chart IP ACL is the type of ACL you have to learn for the CCNA I just wanted to show you that.

Jeremy

There are lots of different types of ACLS and each have their own range of numbers here's the basic command to configure a standard numbered ACL access list followed by the number we're configuring standard ACLS.

Jeremy

So this number must be in the range 1 to 99 9 or 1,300 to 1,999 then you specify either deny or permit.

Jeremy

And then the IP address and wild card mask to match against hopefully you remember Wild Card masks from the EIGRP and OPF videos don't try to use a standard subnet mask.

Jeremy

When configuring ACLS so this is how you configure a single entry in Access list one here are some examples access list one deny 1.11.1 1.11.1 o.o..

Jeremy

So this denies 1.11.1 sl32 meaning only 1.11.1 a single host now when you specify a sl32 mask in an ACL you don't actually have to specify the Wild Card mask you can just specify 1.11.1 and the.

Jeremy

Router will understand that it's sl32 so these are just two different ways of configuring the exact same thing now there's one more method of configuring a sl32 entry it's considered an old method.

Jeremy

But it still works on Modern routers to specify a single host you can use the host keyword before the IP IP address again in effect.

Jeremy

This is exactly the same as the previous two it's just a different way of configuring it so all three of these are the same in effect note that.

Jeremy

The second and third options here can only be used for sl32 to specify a single host if you're matching a sl24 network for example you'll have to use.

Jeremy

The first option you have to specify the Wild Card mask of 0.0255 okay so let's say we used one of those options to configure an entry in acl1 that blocks 1.11.1 sl32.

Jeremy

If we leave the ACL as is all other traffic will be blocked too because of the implicit deny so let's make.

Jeremy

Another entry in this ACL to permit traffic here it is access list one permit any this tells the router to permit all traffic with any Source IP.

Jeremy

Now here's a quiz the any keyword is convenient but how can we specify an IP address and wild card mask that has the same effect pause the video and think about it what IP address and wild card mask matches all addresses.

Jeremy

Okay the the answer is o.0 255.255 255.255 which is o.o. O./ O and matches all all addresses.

Jeremy

So these two options are exactly the same as you can see ACL configuration can be quite flexible in these examples I'll use a variety of methods.

Jeremy

So you can be aware of all of them but feel free to pick your favorite and just use that any for example is much quicker to type than o. O.o. 255.255 255.255.

Jeremy

Finally here's one more thing you can configure for an ACL a remark this is like an interface description it doesn't have any effect on the ACL it's just a description that helps you.

Jeremy

Remember the purpose of the ACL when looking at it in the configuration note that the command is access list one remark followed by the remark the hashtags or pound symbols whatever you call them aren't a necessary part of the command I just use them to make it easier.

Jeremy

To see when looking at the config okay so I tried actually configuring that ACL let's check it out for both the deny and permit entries I decided to enter the whole IP address and wild card mask then I used show access lists which displays all ACL's on the router there.

Jeremy

Are a few things to point out here first up notice that the router automatically converted deny 1.11.1 1.11.1 o.0 to just deny 1.11.1 the router does this.

Jeremy

When you use a sl32 mask also permit 0.0.0.0 255.255 255.255 255.255 was automatically converted to permit any you probably also notice that the remark isn't displayed in this command it's only displayed in the config.

Jeremy

Finally notice that each entry is given a number in indicating the order I configured the deny statement first and it was assigned 10 then the permit statement was assigned 20.

Jeremy

Remember the order of these entries is very important if the permit any entry was first all traffic would be permitted and the deny 1.11.1 entry would be useless on Modern devices the router should prevent you from doing configurations like that.

Jeremy

But you should still be aware of how important the order order is okay next I use the command show IP access lists notice that the output is exactly the same as for show access lists as you saw before there are many kinds of ACLS show access lists displays all kinds.

Jeremy

But show IP access lists displays only IP ACLS the kind we will be configuring in these videos you can use either command to check your ACL's it doesn't matter.

Jeremy

Finally I used show running config followed by the pipe and then include access list to only show lines in the conf config that include access list notice once again that the deny and permit entries were automatically Changed by the router also the remark is displayed this time.

Jeremy

Now remember I said you have to actually apply the ACL to an interface here is the command from interface config mode use IP access group.

Jeremy

That's right it's access group not access list then the ACL number then in or out now let's get into a real example of using these configurations that should help you understand.

Jeremy

Here's the same network as before I'll give some requirements and we'll use ACLS to restrict the traffic to fulfill those requirements on R1 I'll configure standard numbered ACLS as I just showed you then I'll introduce standard named ACLS and we'll configure them on R2.

Jeremy

So you can see how to configure both types okay first here are some requirements which we can achieve by configuring an ACL on R1 PC one should be able to access the 192.168.20.10.

Jeremy

1.024 shouldn't be able to access 192.168.20.10 that will achieve.

Jeremy

The first requirement allowing pc1 to access 192.168.20.10 then I configured an entry denying the 192.168.1.0 24 Network this will fulfill.

Jeremy

The second requirement the order of these is very important if I denied 192.168.1.2 first pc1 would not be able to access 192.168.20.10.

Jeremy

And any remaining entries after the matching entry are not processed they are are ignored finally I configured a permit any entry at the end remember the implicit deny that is hidden at the end of every ACL.

Jeremy

If I don't include this permit any at the end the ACL won't only block PCS in the 192.168.1.0 24 Network it will block all other traffic the only device that will be able to access the 192.168.20.10 1.1 pc1 every single.

Jeremy

Other device would be blocked our requirements don't tell us to block all other traffic so we should insert this permit any.

Jeremy

Finally I applied the ACL to r1's g02 interface with IP access group one out why outbound on g02 I could have for example applied it inbound on g01 well.

Jeremy

Here's a good rule of thumb for applying standard ACLS to interfaces standard ACLS should be applied as as close to the destination as possible you may be thinking what do I mean by destination even though standard ACLS only filter by Source IP well in this case we are.

Jeremy

Trying to control access to the 192.168.20.10.

Jeremy

Correctly outbound on g02 the ACL only controls traffic that tries to access the 192.168.20.10.

Jeremy

Yet because we didn't apply it to the g01 g01 interface R1 looks up the destination in its routing table and sees it's connected to the g02 interface however acl1 is applied outbound on g02.

Jeremy

So before forwarding the Ping it checks acl1 it starts at the top with entry 10 permit Source IP 192.168.1.1 the Ping source is pc1 192.168.1.1.

Jeremy

So that's a match it will take take the action which is to permit the packet so it forwards it to PC3 PC3 will be able to reply.

Jeremy

Because there is no AC blocking the return path from PC3 to pc1 what if PC2 tries to Ping PC3 R1 receives the Ping on g01 but it doesn't check the ACL.

Jeremy

Because it's not applied to that interface once again it checks the routing table and sees that it should for the packet out of g02.

Jeremy

But because acl1 is applied outbound on g02 2 it checks acl1 first it checks the top entry first permit 192.168.1.1 192.168.1.1 sl32 the source of the Ping is 192.168.1.2.

Jeremy

So it doesn't match then it checks the next entry deny 192.168.1.0 24 PC2 IP is in this subnet so it matches this entry and R1 takes the action which is to deny it won't forward the Ping to PC3.

Jeremy

Okay now let's move on to standard named named ACLS standard named ACLS are still standard ACLS so they match traffic based only on the source IP address of the the packet however instead of a number they are identified with a name you could.

Jeremy

For example name the ACL blockor Bob standard named ACLS are configured by entering standard named ACL config mode and then configuring each entry within that mode.

Jeremy

So a little different than standard numbered ACL's here's how you enter that config mode IP access list standard followed by the name.

Jeremy

Remember to use IP in front of the command for standard numbered ACL's the command is access list but in this case it's IP access list then you enter standard named ACL config mode and configure the deny and permit entries note that you can.

Jeremy

Now specify an entry number before each entry although you don't have to if you don't entries will be numbered 10 then 20 then 30 Etc just like in the standard numbered ACLS we configured each entry's number will be 10 more than the previous one.

Jeremy

But with this function you can manually specify the entry number to control the order of the entries so here's an example first I create the ACL blockor Bob and enter standard named ACL config mode then I configured a statement denying 1.11.1.

Jeremy

Sl32 note that I manually configured the entry number of five instead of the default of 10 then I configured a permit any entry with an entry number of 10 I then configured a remark this isn't necessary of course.

Jeremy

But remarks can be helpful when looking at the configuration later then I move to interface configuration mode and applied the ACL in the same way as before IP access group ACL name.

Jeremy

And then in or out let's check with some show commands once again I used show access lists the the ACL is shown and you can see each entry with the entry numbers I manually configured then I checked the running config notice I used a different method of filtering the output.

Jeremy

Section access list this displays just the ACL section of the running config if I used include access list like before it would display the asal's name however it wouldn't actually display any of the entries since those lines of the config don't include access list.

Jeremy

Even though they are part of an access list when I filter using section I can view the whole ACL you can see each entry including the remark although interestingly the entry numbers are not displayed in the config.

Jeremy

Okay let's try configuring some standard named ACs on R2 so here are the requirements PCS in 192.168.1.0 24 can't access 10.2.4 PC3 can't access 10.0.1 /24.

Jeremy

But other PCS in 192.168.20.10 1.024 but other PCS in 192.168.1.0 24 can't we'll need two ACLS to do this properly.

Jeremy

If you think you can try to solve this yourself but I'll show you my solution so we'll configure one ACL to control access to 10.0.2 sl24 and apply it outbound on r 2's g02 then we'll configure.

Jeremy

Another ACL to control access to 10.0 1.024 and apply it outbound on r2's g01 here's how I did that here's.

Jeremy

The first ACL I called it 21224 first I denied the 192.168.1.0 sl24 network but permitted other traffic then I applied it outbound on on g02.

Jeremy

So pc1 and PC2 will be blocked from accessing server 2 but PC3 and pc4 will be able to okay.

Jeremy

That's the first ACL I called the second ACL 21124.

Jeremy

First I denied PC3 on the g01 interface and.

Jeremy

That's it ACL configuration can be flexible sometimes so there are other ways to configure these ACLS that will work too but this is my solution.

Jeremy

Let's check those ACLS with show IP access lists do you notice something strange about the 21124 ACL.

Jeremy

Look at the sequence numbers 30 then 10 then 20 then 40 then 50 and look at the order I configured them the sequence numbers match the order I configur the entries.

Jeremy

But their actual order in the ACL is totally different why is that this is a very Advanced question about the internal operations of Cisco IOS and how ACLS are processed you definitely won't find this on the CCNA exam.

Jeremy

But let me Briefly summarize it the router May reorder the sl32 entries the entries that match only a single specific Host this improves the efficiency of processing the ACL however it does not change the overall effect of the ACL.

Jeremy

So it makes sense for the router to change the order if it helps the router process it more efficiently without affecting the outcome note that this is done for both standard named and standard numbered ACLS it just didn't apply to the simpler examples I showed for standard numbered ACLS also note.

Jeremy

That I checked in Packet Tracer and Packet Tracer does not do this it will simply display the entries in order of sequence number as you would expect expect before finishing up I'll just walk through one more example of an ACL being processed PC2 wants to access server one.

Jeremy

So it pings to test connectivity the Ping reaches R2 which is directly connected to server one's Network however the 210.14 ACL is applied outbound to g01.

Jeremy

So R2 will check the packet against that ACL before forwarding it the source is 192.168.1.2 so it does doesn't match the top entry it doesn't match the.

Jeremy

Next one either or the next one however it matches entry 40 because the source is in the 192.168.1.0 24 Network.

Jeremy

So it denies the packet it does not forward it to server one okay let's review and then move on to the quiz in this video I covered what ACL's are they are used to identify and control traffic in the network I introduced ACL logic how ACLS.

Jeremy

Are processed processed the entries in an ACL are processed from top to bottom and once a matching entry is found the action is taken and the remaining entries are not processed I introduced the ACL types you need to know for the CCNA they are standard ACLS and extended ACLS and each of those.

Jeremy

Can be configured as numbered or named ACLS in this video I covered standard ACLS which are simple and just match traffic based on the source IP address of the packet I showed two main ways of configuring standard ACL's standard numbered ACLS and standard named ACLS they are.

Jeremy

Both just different ways of configuring standard ACL's standard numbered ACLS are configured like this a series of entries configured in global config mode with the access list command for standard named ACLS you use the IP access list command to enter standard named.

Jeremy

ACL config mode and then configure the entries make sure to watch until the end of today's quiz for a bonus question from ban exm the best practice exams for the CCNA CCNP and more.

Jeremy

Okay let's go to question one of the quiz which ACL when applied outbound on r2's g01 permits only pc1 and pc4 to access access 10.1.2 here are four ACL's which one fulfills that requirement pause the video.

Jeremy

To think about your answer the answer is acl1 entry 10 permits pc1 and entry 20 permits pc4 the implicit deny will deny all other traffic.

Jeremy

So ACL 1 fulfills the requirements and the other ACLS do not let's go to question two which interface should the following ACL be applied to and in which direction to fulfill the requirement.

Jeremy

Here's the ACL and here's the requirement pause the video to think about your answer here's the answer the interface should be r2's g02 interface and the direction should be outbound.

Jeremy

Remember that rule of thumb standard ACLS should be applied as close to the destination as possible we are controlling access to 10.0.2 o24.

Jeremy

So that is the destination therefore the ACL should be applied outbound on r2's r2's g02 let's go to question three you issue the following commands on R2 which statement about the effect of the configurations is correct.

Jeremy

Here are the configurations on R2 and here are the options a all traffic will be denied B traffic from the 10.0.0.0 24 network will be denied C traffic from the 172.16.0.0 24 network will be denied or D traffic from.

Jeremy

The 192.168.0.0 24 network will be denied pause the video to think about your answer the answer is B traffic from the 10.0.0.0 24 network will be denied each interface can only have one ACL applied in each direction.

Jeremy

If you apply another ACL to the same interface in the same direction it will replace the previous one in this case the last ACL you applied was acl1 which denies traffic from 10.0.0.0 sl24.

Jeremy

So B is the correct answer answer let's go to question four if this ACL is applied inbound on R1 g0000 which PCS will be able to Ping Server 2 a pc1 and PC2 B pc1 PC2 and pc4.

Jeremy

C pc1 only D all PCS or E PC3 and pc4 only pause the video to think about your answer the answer is D all PCS.

Jeremy

This is because of where the ACL was applied inbound on r1's g0000 interface when the PCS try to Ping Server 2 R1 won't check the ACL as it sends the pings out of g0000.

Jeremy

When the reply from server 2 arrives on r1's g0000 interface it will check the ACL however the source of the reply will be server 2's IP of 10.2.1 100 which will be permitted by the permit any at the end of the ACL.

Jeremy

So all PCS will be able to successfully Ping Server 2 okay let's go to question five what happens if a packet doesn't match any entries of an ACL a the packet will be forwarded to the default gateway B the packet will be checked.

Jeremy

Using the next available ACL C the packet will be dropped or D the action of the most specific match will be taken pause the video to think about your answer the answer is C the packet will be dropped every ACL includes an implicit deny at the end which will.

Jeremy

Deny all packets that don't match any of the ACL's entries so C is the correct answer okay that's all for the quiz.

Jeremy

Now let's take a look at a bonus question from ban xim for CCNA okay here's today's ban XM practice question which of the following statements is true regarding ACLS select the best answer a ACLS are processed from the least specific entry in.

Jeremy

The list to the most specific entry B ACLS are processed from the first entry in the list to the last entry C ACLS are processed from the last entry in the list to.

Jeremy

The first entry or D ACLS are processed from the most specific entry in the list to the least specific entry okay if you just watched the video you should be able to answer this question.

Jeremy

So pause the video now to think about the answer okay so let's check as I mentioned in the video ACLS are processed from top to bottom and what that means is from.

Jeremy

First to last so B should be the correct answer I'll select B and then click on show answer and indeed it is correct so here's Ban's explanation quite quite detailed um you can pause the video.

Jeremy

Now if you want to read Ban's EXP explation and I recommend you do these explanations are one of the great things about B on exm.

Jeremy

Okay and there's also a reference to both the chapter in the official sear guide by Cisco press and a link to some Cisco documentation which is available free online configuring IP access lists process ACLS.

Jeremy

So this is another great resource okay so that's ban exen for the CCNA these are the practice exams I used to study for my CCNA and CCNP and I really highly recommend them.

Jeremy

So if you want to get a copy of ban XM please follow the link in the video description there are supplementary materials for this video there is a flashcard deck to use with the software enki there will also be a Packet Tracer practice lab.

Jeremy

So you can get some Hands-On practice that will be in the next video sign up for my mailing list via the link in the description and also send you all of the flashcards and Packet Tracer lab files for the course before finishing today's video I want to thank my JC and P level channel members.

Jeremy

To join please click the join button under the video thank you to Jun Hong OJ mcgraa the gun guy l33 America injabulo Benjamin tapiso Justin prash nir erison API Marco floto daming Joshua jilmar Ed value John funny dart Scott Hassan.

Jeremy

M Velva Jacob C mode Mark Yousef CD B on software Devin Leto yonathan and Vance sorry if I pronounced your name incorrectly.

Jeremy

But thank you so much for your support one of you is still displaying as Channel failed to load if this is you please let me know and I'll see if YouTube can fix it.

Jeremy

This is the list of jcmp level members at the time of recording by the way November 21st 2020 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 please subscribe to the channel like the video.

Jeremy

Leave a comment and share the video with anyone else studying for the CCNA if you want to leave a tip check the links in the description I'm also a brave verified publisher and accept bat or basic attention token tips via the brave browser.

Jeremy

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