Named Access List

129

Named Access List: –

Basically, when we create an Access List we assign a number. But number is not so user friendly, so we can assign name to an Access List, instead of number

Named Access List can be standard or extended.

Named Access List Syntax :- 

Router(config)#ip access-list {standard|extended} <name>
Router(config-std-nacl)#{permit|deny} {host|source source-wildcard|any}
Router(config)#interface<interface>
Router(config-if)#ip access-group <acl-number>in|out
Or
Router(config-ext-nacl)#{permit|deny} <protocol> {source|any} {destination | any}Source/Destination: <address> <wildcard><port-operator> <port>
Router(config)#interface<interface>
Router(config-if)#ip access-group <acl-number> in|out

Named Access List Lab: –

We have just configured basic ip addressing as per above scratch, also advertise the network in EIGRP.

Here i am going to configure only named access list.

Task 1- 

  • Deny ICMP/PINGING from host 192.168.1.1 to host 192.168.3.40
  • Permit ICMP/PINGING from host 192.168.1.1 to host 192.168.3.30
Named-ACL
Named-ACL

Now lets check rechability, host 192.168.1.1 to server Ser1 (IP address 192.168.2.30)

C:\>ping 192.168.3.30
Pinging 192.168.3.30 with 32 bytes of data:
Reply from 192.168.3.30: bytes=32 time=2ms TTL=125
Reply from 192.168.3.30: bytes=32 time=2ms TTL=125
Reply from 192.168.3.30: bytes=32 time=12ms TTL=125
Reply from 192.168.3.30: bytes=32 time=2ms TTL=125
Ping statistics for 192.168.3.30:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Now lets check rechability, host 192.168.1.1 to server Ser2 (IP address 192.168.3.40).

C:\>ping 192.168.3.40
Pinging 192.168.3.40 with 32 bytes of data:
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Ping statistics for 192.168.3.40:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

1 COMMENT

  1. I often visit your page and have noticed that you
    don’t update it often. More frequent updates will give your page higher authority
    & rank in google. I know that writing posts takes a
    lot of time, but you can always help yourself with miftolo’s tools which will shorten the time
    of creating an article to a couple of seconds.

LEAVE A REPLY

Please enter your comment!
Please enter your name here