What is Named ACL and How to Configure Named ACL
Named ACL(Access-List) is not a
new type; either this list is an extended or standard access list. Named ACL
created differently than Extended or Standard access list, and functionally
they are the same.
Named ACLs classify for
Layer 3, and there are 10 rules applied to inbound traffic which is set by
ACL(Access-List). The contents of a given field specified in each rule should be used to
deny or permit access to the network. Through a network, it is used to perform
packet filtering to control the movement of packets. In a network, packet
filtering provides security by limiting traffic access, restricting device
and user access to a network, and preventing traffic from leaving a network.
How to Configure Named ACL
How to Configure Named ACL |
Router> enable
Router# configure
terminal
Enter configuration
commands, one per line. End with CNTL / Z.
Router
(config) # hostname R1
R1
(config) # interface serial 0/1/0
R1 (config-if) # ip
address 3.0.0.1 255.0.0.0
R1 (config-if) #clock
rate 64000
R1 (config-if) #keepalive
10
R1 (config-if) #no
shutdown
%LINK-5-CHANGED:
Interface Serial0/1/0, changed state to down
R1 (config-if) #exit
R1
(config) # interface fastethernet0/0
OR
R1
(config) # int fa0/0
R1 (config-if) # ip
address 4.0.0.40 255.0.0.0
R1 (config-if) #no
shutdown
Interface Status up |
R1 (config-if) #end
R1#
Router> enable
Router# configure
terminal
Enter configuration
commands, one per line. End with CNTL / Z.
Router
(config) # hostname R2
R2 (config) # interface
serial 0/1/0
R2 (config-if) # ip
address 3.0.0.2 255.0.0.0
R2 (config-if) #keepalive
10
R2 (config-if) #no
shutdown
Interface Status up |
R2 (config-if) #exit
R2
(config) # interface fastethernet0/0
OR
R2
(config) # int fa0/0
R2 (config-if) # ip
address 5.0.0.40 255.0.0.0
R2 (config-if) #no
shutdown
Interface Status up |
R2 (config-if) #end
R2#
R1# show ip route
IP Route Status |
R1#
R2#
show ip route
IP Route Status |
R2#
Router R1
R1# configure terminal
R1
(config) # ip route 5.0.0.0 255.0.0.0 3.0.0.2
Router R2
R2# configure terminal
R2
(config) # ip route 4.0.0.0 255.0.0.0 3.0.0.1
Router R1
R1#
show ip route
IP Route Status |
R1#
Router R2
R2#
show ip route
IP Route Status |
R2#
R2# configure terminal
R2
(config) # enable password Networking123
R2 (config) # line vty
0 4
R2
(config-line) # password Ithome16
R2 (config-line) #
login
Telnet Login Password |
R2 (config-line) # exit
R2 (config) #
R2 (config) # ip
access-list?
IP Access-List Extended |
R2 (config) # ip
access-list extended?
IP Access-List Extended Range |
R2 (config) #ip access-list extended Networking?
<cr>
R2 (config-ext-nacl) # deny?
IP Access-List Extended Deny Service |
R2 (config-ext-nacl) # deny icmp?
IP Access-List Extended Deny Service Host |
R2 (config-ext-nacl) # deny icmp 3.0.0.1?
A.B.C.D Source
wildcard bits
R2 (config-ext-nacl) # deny icmp 3.0.0.1 0.0.0.0?
IP Access-List Extended Deny Service Host |
R2 (config-ext-nacl) # deny icmp 3.0.0.1 0.0.0.0
3.0.0.2?
A.B.C.D Destination
wildcard bits
R2 (config-ext-nacl) # deny icmp 3.0.0.1 0.0.0.0
3.0.0.2 0.0.0.0?
IP Access-List Extended Deny Service Host |
R2 (config-ext-nacl) # deny icmp 3.0.0.1 0.0.0.0
3.0.0.2 0.0.0.0
R2 (config-ext-nacl)
# permit ip any any
R2 (config-ext-nacl) #exit
R2 (config) #
Note: It
will just deny the host 3.0.0.1 to get to 3.0.0.2 for ICMP traffic and from all
sources, all other traffic is allowed.
R2 (config) # int s
0/1/0
R2 (config-if) #ip access-group?
IP Access-Group Name |
R2 (config-if) #ip access-group Networking?
IP Access-Group in/out |
R2
(config-if) #ip access-group Networking in
R2 (config-if) #end
R2#
Router R1
R1#
ping 3.0.0.2
Unsuccessful Ping Verification |
R1#
telnet 3.0.0.2
Successful Telnet Ping Verification |
R1#
R2#show ip access-lists
IP Access-List Status |
R2#
R2
(config) # int s0/1/0
R2 (config-if) # no ip
access-group Networking in
R2 (config-if) #end
R2#
Router R1
R1#
ping 3.0.0.2
Successful Ping Verification |
R1#
Search
Tags
- What is named ACL
- What is the difference between named and numbered ACL
- Configuring Named Access Control Lists
- Named ACL configuration in packet tracer
If you want to configure Extended ACL and Standard ACL then visit below link: 👇
0 Comments