Which of the following options are used in standard access list?
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 9 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, [0]
Average score | |
Your score |
Categories
- Security 0%
Table is loading |
No data available |
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- Answered
- Review
- Question 1 of 91. Question2 points
On which options are standard access lists based?
- destination address and wildcard mask
- destination address and subnet mask
- source address and subnet mask
- source address and wildcard mask
CorrectIncorrect - Question 2 of 92. Question2 points
A network engineer wants to allow a temporary entry for a remote user with a specific username and password so that the user can access the entire network over the Internet. Which ACL can be used?
- reflexive
- extended
- standard
- dynamic
CorrectIncorrect - Question 3 of 93. Question2 points
Which statement about access lists that are applied to an interface is true?
- You can configure one access list, per direction, per Layer 3 protocol
- You can apply multiple access lists with the same protocol in different directions
- You can apply only one access list on any interface
- You can apply as many access lists as you want on any interface
CorrectIncorrect - Question 4 of 94. Question2 points
Which item represents the standard IP ACL?
- access-list 50 deny 192.168.1.1 0.0.0.255
- access-list 110 permit ip any any
- access-list 2500 deny tcp any host 192.168.1.1 eq 22
- access-list 101 deny tcp any host 192.168.1.1
CorrectIncorrect - Question 5 of 95. Question2 points
A network administrator is configuring ACLs on a Cisco router, to allow IP access from the 192.168.146.0/24, 192.168.147.0/24, 192.168.148.0/2,. and 192.168.149.0/24 networks only. Which two ACLs, when combined, should be used?
- access-list 10 permit ip 192.168.146.0 0.0.0.255
- access-list 10 permit ip 192.168.146.0 255 255.255.0
- access-list 10 permit ip 192.168.147.0 0.0.255 255
- access-list 10 permit ip 192.168.149.0 0.0.255.255.0
- access-list 10 permit ip 192.168.148.0 0.0.1.255
- access-list 10 permit ip 192.168.146.0 0.0.1.255
CorrectIncorrect - Question 6 of 96. Question2 points
What can be done to secure the virtual terminal interfaces on a router? [Choose two.]
- Administratively shut down the interface.
- Physically secure the interface.
- Create an access list and apply to the virtual terminal interfaces with the access-group command.
- Configure a virtual terminal password and login process.
- Enter an access list and apply it to the virtual terminal interfaces using the access-class command.
CorrectIncorrect - Question 7 of 97. Question2 points
Refer to the exhibit.
A network administrator cannot establish a Telnet session with the indicated router. What is thecause of this failure?- A Level 5 password is not set.
- An ACL is blocking Telnet access.
- The vty password is missing.
- The console password is missing.
CorrectIncorrect - Question 8 of 98. Question2 points
Refer to the exhibit.
An attempt to deny web access to a subnet blocks all traffic from the subnet. Which interface command immediately removes the effect of ACL 102?- no ip access-class 102 out
- no ip access-group 102 out
- no ip access-group 102 in
- no ip access-list 102 in
- no ip access-class 102 in
CorrectIncorrect - Question 9 of 99. Question2 points
Refer to the exhibit.
Statements A, B, C, and D of ACL 10 have been entered in the shown order and applied to interface E0 inbound, to prevent all hosts [except those whose address are the first and last IP of subnet 172.21.1.128/28] from accessing the network. But, as is, the ACL does not restrict anyone from the network. How can the ACL statements be re-arranged so that the system works as intended?- CDBA
- ACDB
- BADC
- DBAC
CorrectIncorrect
Standard Access-List
Prerequisite – Access-lists [ACL]
Access-list [ACL] is a set of rules defined for controlling network traffic and reducing network attacks. ACLs are used to filter traffic based on the set of rules defined for the incoming or outgoing of the network.
Standard Access-list –
These are the Access-list which are made using the source IP address only. These ACLs permit or deny the entire protocol suite. They don’t distinguish between the IP traffic such as TCP, UDP, HTTPS, etc. By using numbers 1-99 or 1300-1999, the router will understand it as a standard ACL and the specified address as the source IP address.
Features –
- Standard Access-list is generally applied close to destination [but not always].
- In a standard access list, the whole network or sub-network is denied.
- Standard access-list uses the range 1-99 and extended range 1300-1999.
- Standard access-list is implemented using source IP address only.
- If numbered with standard Access-list is used then remember rules can’t be deleted. If one of the rules is deleted then the whole access list will be deleted.
- If named with standard Access-list is used then you have the flexibility to delete a rule from the access list.
Note – Standard Access-list are less used as compared to extended access-list as the entire IP protocol suite will be allowed or denied for the traffic as it can’t distinguish between the different IP protocol traffic.
Configuration –
Here is a small topology in which there are 3 departments namely sales, finance, and marketing. The sales department has a network of 172.16.40.0/24, the Finance department has a network of 172.16.50.0/24, and the marketing department has a network of 172.16.60.0/24. Now, want to deny connection from the sales department to the finance department and allow others to reach that network.
Now, first configuring numbered standard access – list for denying any IP connection from sales to finance department.
Here, like extended access-list, you cannot specify the particular IP traffic to be permitted or denied. Also, note that wildcard mask has been used [0.0.0.255 which means Subnet mask 255.255.255.0]. 10 is used from the number standard access-list range.
Now, as you already know there is an implicit deny at the end of every access list which means that if the traffic doesn’t match any of the rules of the access list then the traffic will be dropped.
By specifying any means that source having any IP address traffic will reach the finance department except the traffic which it matches the above rules that you have made.
Now, you have to apply the access list on the interface of the router:
As you remember that the standard access-list is generally applied to the destination and here also if you apply access-list close to the destination, it will satisfy our need, therefore, outbound to interface fa0/1 has been applied.
Named standard Access-list example –
Now, considering the same topology, you will make a named standard access list.
By using this command you have made an access-list named blockacl.
And then the same configuration you have done in numbered access-list.
Standard access-list for Telnet example –
As you know, you cannot specify particular IP traffic to be denied in standard access-list but telnet connection can be permitted or denied using standard access-list by applying access-list on line vty lines.
Here, in the given figure, you want to deny telnet to the Finance department from any network. Configuring for the same:
On which options are standard access lists based?
On which options are standard access lists based?
A. destination address and wildcard mask
B. destination address and subnet mask
C. source address and subnet mask
D. source address and wildcard mask
Explanation:
Standard ACL’s only examine the source IP address/mask to determine if a match is made.
Extended ACL’s examine the source and destination address, as well as port information.
Traffic Filtering in the Cisco Internetwork Operating SystemEric Knipp, ... Edgar DanielyanTechnical Editor, in Managing Cisco Network Security [Second Edition], 2002 Extended IP Access ListsAlthough there are times when we only need to filter traffic based on the source address, more often than not we will need to match traffic with a higher level of detail. An option for more precise traffic-filtering control would be an extended IP access list. Here, both the source and destination address are checked. In addition, you also have the ability to specify the protocol and optional TCP or UDP port number to filter more precisely. In the following example, any field represented by {} is mandatory for the access list, while any field represented by [] is optional. The format of an extended IP access list is: access-list access-list-number {permit | deny} protocol source source-wildcard [operator source-port] destination destination-wildcard [operator destination-port] [precedence precedence-number] [tos tos] [established] [log | log-input] Bold items represent keywords that are part of the access list syntax. Table4.4 lists the configuration for a standard IP access list. Table4.4. Extended IP Access List Configuration
In the following access list, we get very specific about what host we want to access a particular network or host on a network. In the first three lines, we are permitting or allowing packets from individual hosts on subnet 172.16.130.0 to any host on network 10.0.0.0. In line 4, we are denying packets with the source address that belongs to subnet 172.16.130.0 to the destination of host 192.168.10.118. Line 5 tells us that we are permitting all IP packets with no concern of a source or destination address. The implicit deny all at the end of the list will never be matched against a packet because the previous permit statement will match all packets. In Figure4.3, we would apply this access list on the serial 0 interface in the outbound direction as follows: Figure4.3. An Example Network Router[conflg]# interface serial 0 Router[config-if]# ip access-group 141 out An example of an extended access list is as follows: access-list 141 permit icmp host 172.16.130.88 10.0.0.0 0.255.255.255 access-list 141 permit tcp host 172.16.130.89 eq 734 10.0.0.0 0. 255.255.255 range 10000 10010 access-list 141 permit udp host 172.16.130.90 10.0.0.0 0.255.255.255 eq tftp access-list 141 deny ip 172.16.130.0 0.0.0.255 host 192.168.10.118 access-list 141 permit ip any any Table4.5 describes the extended access list commands. Table4.5. A Description of Access List Commands
Just as in our standard access list, the extended access list will require a hyphen between the words access and list. Next is the list number. Since we are referencing an extended IP access list, the numbers would range from 100 to 199. The access list number serves the same dual purpose here as we looked at earlier with the standard access list. The router must have a way to distinguish between access lists. The number performs this purpose along with tying the lines of an access list together and designates which access list the filter is part of The number also tells the router the type of access list. Desinging & Planning…Placement of Access ListsOften you have a few options about how to apply your access lists and stili achieve the same affect on the traffic flowing through the router, in the case of the previous example, access list 141 was applied outbound on the serial 0 interface. Because access list 141 was designed to only filter traffic originating from the 172.16.130.0 network, and not traffic from 172.17.0.0, this list could have been applied in the inbound direction on Ethernet 0. Both approaches will have the same affect on the traffic flowing through the router. There is a minor difference between these two approaches, though. When the ACL is applied outbound on the Serial0 interface, the traffic enters the Ethernet0 interface and is processed against the routing table. The packet is then passed to the outbound interface, where it is checked against any outbound ACLs. If the outbound interface is Serial 0, it checks packets against access list 141 and will permit or deny the traffic based on the rules defined in that list. When the ACL is applied inbound on the Ethernet0 interface, the traffic is permitted or denied before it is processed against the routing table. On a router under heavy traffic loads, this could make a considerable difference in the delay that is introduced because the router does not have to process packets that will be dropped by the outbound interface. Although inbound filtering has the advantage with respect to route processing, that does not necessarily make it the better way to apply access lists. Under different circumstances, you may want to prevent access to an external subnet from both Ethernet interfaces. In this case, it may be easier to apply the access lists in the outbound direction of Serial0 because packets from both Ethernet interfaces will have to pass through Serial0 to get to the external subnet. In other words, you are applying the access list to the bottleneck in traffic. Otherwise, you will have to keep two separate access lists, one specific for Ethernet0 and the other specific for Ethernet1. If the router is under light traffic loads, it may be easier to maintain a single access list. There is disagreement among network and security professionals about which approach is better, but neither approach should be considered better than the other in all cases. It is up to you to decide which is best for your situation. Keywords permit or denyA keyword permit or deny specifies to the router the action to be performed. For example, the keyword permit would allow the packet to exit or enter the interface, depending on whether you specify the filtering to be performed in or out. Again, this option provides the same function as in our standard access list. The last line of our extended access list example could have read as follows: access-list 141 permit ip any any ProtocolYou have the option of filtering several different protocols using the extended access list. The protocol field in the IP header is an 8-bit number that defines what protocol is used inside the IP packet. TCP and UDP are only two of the possible protocols that can be filtered on, although they are most common. Other protocols, such as ICMP and EIGRP, have their own protocol numbers because they are not encapsulated inside TCP or UDP. If we use a question mark when defining an access list, we can see the protocol numbers that have been defined by name inside the router. Router [config]#access-list 191 permit? An IP protocol number ahp Authentication Header Protocol eigrp Cisco's EIGRP routing protocol esp Encapsulation Security Payload gre Cisco's GRE tunneling icmp Internet Control Message Protocol igmp Internet Gateway Message Protocol igrp Cisco's IGRP routing protocol ip Any Internet Protocol ipinip IP in IP tunneling nos KA9Q NOS compatible IP over IP tunneling ospf OSPF routing protocol pcp Payload Compression Protocol pim Protocol Independent Multicast tcp Transmission Control Protocol udp User Datagram Protocol Protocols not on the preceding list may also be filtered with extended access lists, but they must be referenced by their protocol number. A full list of assigned IP protocol numbers can be found at www.iana.org/assignments/protocol-numbers. It is important to remember that the IP keyword in the protocol field matches all protocol numbers.You must use a systematic approach here when designing your access list. For example, if your first line in the access list permits IP for a specific address, and the second line denies UDP for the same address, the second statement would have no effect. The first line would permit IP, including all the above layers. An option here may be to reverse the order of the statements. With the statements reversed, UDP would be denied from that address and all other protocols would be permitted. Source Address and Wildcard-maskThe source address and source wildcard-mask perform the same function here as in a standard IP access list. So, in the preceding example we could have used the wildcard mask instead of the host and any keywords. The access list would then look as follows: access-list 141 permit ip 172.16.130.88 0.0.0.0 i0.0.0.0 0.255.255.255 access-list 141 permit ip 172.16.130.89 0.0.0.0 i0.0.0.0 0.255.255.255 access-list 141 permit ip 172.16.130.90 0.0.0.0 i0.0.0.0 0.255.255.255 access-list 141 permit ip 172.16.130.0 0.0.0.255 192.168.10.118 0.0.0.0 access-list 141 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 In the first three lines, we are permitting or allowing packets from individual hosts on subnet 172.16.130.0 to any host on network 10.0.0.0. In line 4, we are permitting packets with the source address that belongs to subnet 172.16.130.0 to the destination of host 192.168.10.118. Line 5 tells us that we are permitting all packets regardless of the source or destination address. Remember that standard IP access lists have a default mask of 0.0.0.0. This does not apply to extended access lists so we must specify one. Destination Address and Wildcard-maskThe destination address and wildcard-mask have the same effect and structure as the source address and wildcard-mask. So, here the keywords host and any are also available. You can utilize these keywords to specify any destination address as well as a specific destination without using the wildcard mask. Remember that extended access lists try a match on both source and destination. A common mistake here is trying to build an extended access list with the idea of only filtering the source address, and forgetting to specify the destination address. Source and Destination Port NumberMany times, we don’t want to deny all access to a particular server. When you put a Web server out on the Internet, you want everyone to be able to access it on port 80 [WWW], but you don’t want to allow access to any other ports, because it gives hackers the opportunity to exploit other services you may not be aware of [although you should know of them in the first place]. Restricting access to this level of detail is another benefit of extended ACLs. We have the option of specifying a source and destination port number in the access list. Let’s look at a simple example: Router[config]# interface Serial 0 Router[config-if]# ip access-group 111 in Router[config]#access-list 111 permit tcp any host 172.17.11.19 eq 25 Router[config]#access-list 111 permit tcp any host 172.17.11.19 eq 23 These commands are explained in Table 4.6. Table4.6. Router Commands
In line 1, we are permitting TCP packets from any source to the destination of host 172.22.11.19 if the destination port is 25 [SMTP]. In line 2, we are permitting TCP packets from any source to the destination of host 172.22.11.19 if the destination port is 23 [Telnet]. The implicit deny statement at the end of this access list will prevent all other traffic from making it into our network. Let’s take a look at filtering with TCP and UDP. When using TCP, for example, the access list will examine the source and destination port numbers inside the TCP segment header. So, when using an extended access list, you have the capability to filter to and from a network address and also to and from a particular port number. You have several options when deciding which operator to use, such as: ■eq equal to ■neq not equal to ■gt greater than ■lt less than ■range specifies an inclusive range or ports [Here, two port numbers are specified.] View chapterPurchase book Read full chapter URL://www.sciencedirect.com/science/article/pii/B9781931836562500088 clear access-list ipv4To clear IPv4 access list counters, use the clear access-list ipv4 command in EXEC mode. clear access-list ipv4 access-list name [ sequence-number | hardware { ingress | egress}] [interface type interface-path-id] [ location node-id | sequence number ] Syntax Description
Video liên quanChủ Đề |