The Wayback Machine - https://web.archive.org/web/20241119014821/https://www.geeksforgeeks.org/extended-access-list/
Open In App

Extended Access-List

Last Updated : 27 Jul, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Prerequisite – Access-lists (ACL), Standard Access-list 
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. 

Extended Access-list – 
It is one of the types of Access-list which is mostly used as it can distinguish IP traffic therefore the whole traffic will not be permitted or denied like in standard access-list. These are the ACL that uses both source and destination IP addresses and also the port numbers to distinguish IP traffic. In this type of ACL, we can also mention which IP traffic should be allowed or denied. These use range 100-199 and 2000-2699. 

Features – 
 

  1. Extended access-list is generally applied close to the source but not always.
  2. In the Extended access list, packet filtering takes place on the basis of source IP address, destination IP address, port numbers.
  3. In an extended access list, particular services will be permitted or denied.
  4. Extended ACL is created from 100 – 199 & extended range 2000 – 2699.
  5. If numbered with extended 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.
  6. If named with extended Access-list is used then we have the flexibility to delete a rule from the access list. 
     

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.10.40/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, we want to deny the FTP connection from the sales department to the finance department and deny telnet to the Finance department from both the sales and marketing departments. 

Now, first configuring numbered extended access – list for denying FTP connection from sales to finance department. 
 

R1# config terminal
R1(config)# access-list 110 
            deny tcp 172.16.40.0 0.0.0.255 172.16.50.0 0.0.0.255 eq 21 

Here, we first create a numbered Access-list in which we use 110 (used from extended access-list range) and deny the sales network (172.16.40.0) to make an FTP connection to the finance network (172.16.50.0). 

Note – Here, as FTP uses TCP and port number 21. Therefore, we have to specify the permit or deny the condition according to the need. Also, after eq, we have to use the port number for the specified application layer protocol. 

Now, we have to deny telnet connection to finance department from both sales and Marketing department which means no one should telnet to finance department. Configuring for the same. 
 

R1(config)# access-list 110 
            deny tcp any 172.16.50.0 0.0.0.255 eq 23

Here, we have used the keyword any which means 0.0.0.0 0.0.0.0 i.e any IP address from any subnet mask. As telnet uses port number 23 therefore, we have to specify the port number 23 after eq. 
 

R1(config)# access-list 110 permit ip any

Now, this is the most important part. As we 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 Access-list then the traffic will be dropped. 

By specifying any means that source having any IP address traffic will reach finance department except the traffic which it matches the above rules that we have made. Now, we have to apply the access-list on the interface of the router: 
 

R1(config)# int fa0/1
R1(config-if)# ip access-group 110 out

As we remember, we have to apply the extended access-list as close as possible to source but here we have applied it to close to the destination because we have to block the traffic from both sales and marketing department, therefore, we have to apply it close to the destination here otherwise we have to make separate access-list for fa0/0 and fa1/0 inbound. 

Named access-list example – 

 

Now, considering the same topology, we will make a named extended access list. 
 

R1(config)# ip access-list extended blockacl

By using this command we have made an access-list named blockacl. 
 

R1(config-ext-nacl)# deny tcp 172.16.40.0 0.0.0.255 172.16.50.0 0.0.0.255 eq 21 
R1(config-ext-nacl)# deny tcp any 172.16.50.0 0.0.0.255 eq 23
R1(config-ext-nacl)# permit ip any

And then the same configuration we have done in numbered access-list. 
 

R1(config)# int fa0/1
R1(config-if)# ip access-group blockacl out

 


Previous Article
Next Article

Similar Reads

What is PCIX(Peripheral Component Interconnect Extended)?
PCIX, stands for Peripheral Component Interconnect eXtended. It is a computer bus and expansion card standard that came with a support of enhancement for the 32-bit PCI local bus for higher bandwidth demanded mostly by servers and workstations. PCI-X is basically having a complete specification for both 32 and 64-bit PCI connectors, and PCI-X 2.0 a
3 min read
What is ESMTP (Extended Simple Mail Transfer Protocol)?
Due to emerging computer science technology and connecting the world through the internet and to have communication between different computers SMTP protocol is being used. Email is widely used by users all over the internet whether to share information in text format or in different multimedia forms. There is a certain set of rules defined for sen
4 min read
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. T
4 min read
Reflexive Access-List
By default, an access-list doesn't keep track of the sessions. An access list consists of various permit and denies rules which are scanned from top to bottom. If any of the conditions match then it is executed and no other condition is matched. For a very small office, a reflexive Access-list acts as a stateful firewall as it allows only the traff
4 min read
Time based Access-List
Prerequisite - Access-lists (ACL) An access-list is used mainly for packet filtering. It is a sequential series of various permit or deny conditions in which if one of the condition matches, it is executed and no other condition is matched further. Also, it contains an implicit deny at the end therefore the rules should have atleast one permit cond
4 min read
Access and Trunk Ports
Switch ports are Layer 2 interfaces that are used to carry layer 2 traffic. A single switch port can carry single VLAN traffic. Frames are handled differently according to the type of link they are traversing. Note: All switch ports are assigned VLAN 1 by default (VLAN 1 cannot be modified or deleted). There are 2 different types of ports in a swit
5 min read
Java | CDMA (Code Division Multiple Access)
CDMA is a channelization protocol for Multiple Access, where information can be sent simultaneously through several transmitters over a single communication channel. It is achieved in below steps: A signal is generated which extends over a wide bandwidth. The code which performs this action is called spreading code. Later on, a specific signal can
6 min read
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. ACL features - The set of rules defined are matched serial wise i.e matching starts with the first line, then 2nd, then 3rd, and so o
4 min read
Role-based Access Control
Only the administrator should have complete access to the network while the other employees like junior network engineer need not full access to the network device. A junior-level engineer generally requires only to crosscheck the configuration of the device, not to add or delete any configuration so why should give full access to that employee? Fo
7 min read
Lightweight Directory Access Protocol (LDAP)
Lightweight Directory Access Protocol (LDAP) is an internet protocol works on TCP/IP, used to access information from directories. LDAP protocol is basically used to access an active directory. Features of LDAP: Functional model of LDAP is simpler due to this it omits duplicate, rarely used and esoteric feature. It is easier to understand and imple
4 min read
Access Control Tactics in Computer Networks
Discretionary Access Control: Discretionary Access Control grants or restricts object access determined by the object’s owner. Controls are discretionary because an object owner with certain access permissions can pass on those permissions to another subject. In systems that utilize discretionary access controls, the owner of an object can choose w
2 min read
Virtual Time Carrier Sensed Multiple Access (VT-CSMA)
Virtual Time Carrier Sensed Multiple Access (VTCSMA) is used mostly in hard real-time system. It is used in transferring signals simultaneously and efficiently in a real-time system for avoiding a collision. In a real-time system, CSMA can not be used but Virtual Time CSMA can be used for signal transfer. Every node in VTCSMA uses 2 types of clocks
2 min read
Remote Direct Memory Access (RDMA)
Remote Direct Memory Access(RDMA) is the access of memory of one computer by another in a network without involving either one's operating system, processor or cache.It improves throughput and performance of systems as it frees up many resources. Operations such as read and write can be performed on remote machine without interrupting CPU of that m
4 min read
Wireless Media Access Issues in Internet of Things
When it comes to communication using a wireless medium there is always a concern about the interference due to other present wireless communication technologies. Wireless means communication and message transfer without the use of physical medium i.e., wires. Let us understand how communication is done between them. Different Mobile stations(MS) ar
3 min read
Introduction of High Speed Downlink Packet Access (HSDPA)
HSDPA stands for High Speed Downlink Packet Access. It provides faster download speeds. It is an upgrade from the form of UMTS. HSDPA provides a download rate of up to 7.2 Mbps. HSDPA is an enhanced 3G mobile telephone communications protocol. The 3.5G, 3G+ or turbo 3G, which allows networks based on Universal Mobile Telecommunications System to ha
4 min read
Difference between Microsoft Excel and Microsoft Access
1. Microsoft Excel : Microsoft Excel is used to displays the data in horizontal and vertical rows. The data are usually stored in the cells. We have an option of formulas in the Excel that can be used for data and its place of storage. You can even add any charts, graphics, etc. to make it more presentable. Excel locks the whole spreadsheet once it
3 min read
Link Access Procedure (LAP) Protocols
Link Access Procedure (LAP) is basically considered as an ITU family of Data Link Layer (DLL) protocols that are subsets of High-Level Data Link Control (HDLC). LAP is particularly derived from IBM’s System Development Life Cycle (SDLC). There are several LAP protocols. Each of these protocols is usually a subset of HDLC tailored for a particular p
2 min read
Link Access Protocol D-channel (LAPD)
LAPD or Link Access Protocol on D channel is basically Layer 2 protocol usually required on ISDN D channel. It is being derived from Link Access Protocol Balanced (LAPB) protocol. It was specially designed and developed to simply satisfy the signaling requirements of ISDN basic access. The main objective of LAPD is simply to provide a secure, error
3 min read
Link Access Procedure Balanced (LAPB) Frame Types
Link Access Procedure, Balanced (LAPB) is protocol that is usually required for data link layer. It is version of High-Level Data Link Control (HDLC) in Asynchronous Balanced Mode (ABM). LAPB use of P/F bit is somewhere different from all of the other protocols. LAPB basically uses three types of data frames. Each of these frames has different func
4 min read
Link Access Procedure, Balanced (LAPB) Frame Format
Link Access Procedure, Balanced (LAPB) is basically a layer 2 protocol that is required in many control protocols like X.25. It was developed by ITU-T, OF Link Access Procedure (LAP) that itself comes from High-Level Data Link Control (HDLC). It runs at Layer 2 i.e. Data Link Layer (DLL) of the OSI Model. It is generally a balanced protocol that us
3 min read
Hybrid Fiber Coaxial (HFC) Access Network Management
Hybrid Fiber Coaxial (HFC) network is a technology under telecommunications technology where fiber cables and coaxial cables are used in different-different portions of a network to carry all the data or its content. It carries data like videos, music, voice, recordings, etc. Hybrid Fiber Coaxial (HFC) Access Network Manager is formed in order to s
2 min read
Advantages and disadvantages of Time Division Multiple Access (TDMA)
Time Division Multiple Access (TDMA) is an intricate innovation since it requires precise synchronization between the transmitter and the collector. TDMA is utilized in advanced portable radio frameworks. The individual portable stations consistently dole out a recurrence for the selective utilization of a period stretch. In the vast majority of th
3 min read
Remote Access Trojan
One of the most powerful Trojans that are popularly used by the attacker or hacker is Remote Access Trojan. This is mostly used for malicious purposes. This Trojan ensures the stealthy way of accumulating data by making itself undetected. Now, these Trojans have the capacity to perform various functions that damages the victim. The Remote Access Tr
3 min read
Advantages and Disadvantages of Frequency-division multiple access (FDMA)
Frequency-division multiple access (FDMA) : Frequency-division multiple access is one among the only multiple access methods. During this method, the channel bandwidth is subdivided into a variety of sub-channels. This multiple access method used for voice and data transmission. During this method the general channel bandwidth is being shared by mu
3 min read
Identity and Access Management (IAM) in Cyber Security Roles
Introductions :Identity Access and Management is abbreviated as IAM. In simple words, it restricts access to sensitive data while allowing employees to view, copy and change content related to their jobs. This information can range from sensitive information to company-specific information.It refers to the IAM IT security discipline as well as the
9 min read
What is Network Access Control?
Network Access Control is a security solution that uses a set of protocols to keep unauthorized users and devices out of a private network or give restricted access to the devices which are compliant with network security policies. It is also known as Network Admission Control. It handles network management and security that implements security pol
6 min read
Parser View (Role based CLI access)
Prerequisite - Role-based Access Control Parser view is used to create or modify a role based CLI access view and enter view configuration mode and provide security to access network resources. Commands to modify a parser view : include : to add any command in the viewexclude : to remove any commandinclude-exclusive : include command exclusively to
2 min read
How to Prevent Broken Access Control?
Access control is a security mechanism to put restrictions on the accessibilities of the resources and decide who or what can view or use the resources of a company. This is checked after authentication, and what authorized users are allowed to do. It is not an easy task to do, any failure while checking, can lead to data modification or destructio
5 min read
What is a Wireless Access Point?
A Wireless Access Point (WAP) is a networking device that allows connecting the devices with the wired network. A Wireless Access Point (WAP) is used to create the WLAN (Wireless Local Area Network), it is commonly used in large offices and buildings which have expanded businesses. It is easier and simpler to understand and implant the device. It c
4 min read
Demand Assigned Multiple Access (DAMA) in Networking
Demand Assigned Multiple Access is generally used for the earth stations where the traffic condition of that particular station is been changing continuously. It is a process of allocation of satellite channels to a user on demand. There is a great increase in the number of simultaneous uses on demand of allocation of channels that can be served by
4 min read
Article Tags :
three90RightbarBannerImg