03-19-2009 08:25 PM - edited 03-06-2019 04:43 AM
Hi everybody1
My book shows :
access-list 101 remark list to allow traffic from server1
Can i use named access list as;
ip access-list standard zee remark this is good traffic.?
thanks a lot!
Solved! Go to Solution.
03-19-2009 11:15 PM
Yes you can.
As pkurdziel mentioned above..
syntax to enter the config section for the ACL is:
ip access-list {standard|extended} [name of list]
!you can now put in your remark
remark This is my Named ACL
!follow it on with the statements
permit ip any any
03-20-2009 01:08 AM
hello Sarah,
to be noted that multiple remarks can be inserted in the ACL statements.
I once thought this is possible only with named ACL.
Hope to help
Giuseppe
03-21-2009 05:19 AM
Really named and numbered are handled the same now in my experience. Any code after 12.2.T . For instance if you do have the following
access-list 101 permit ip 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255
You can then modify this as a named ACL
conf t
ip access-list extended 101
(This puts you acl config mode and you can add or delete stuff as any normal acl) and add as many remarks as you want in the ACL .
permit ip 10.1.2.0 0.0.0.255 172.16.1.10 0.0.0.255
remark Internet traffic
03-19-2009 09:01 PM
This is the commented name IP ACL command syntax.
ip access-list {standard|extended} name
remark remark
This is the commented numbered IP ACL command syntax.
access-list access-list-number remark remark
03-19-2009 10:09 PM
Thans a lot. HOw about named access list? Can we use " remark" option with it?
thanks a lot!
03-19-2009 11:15 PM
Yes you can.
As pkurdziel mentioned above..
syntax to enter the config section for the ACL is:
ip access-list {standard|extended} [name of list]
!you can now put in your remark
remark This is my Named ACL
!follow it on with the statements
permit ip any any
03-20-2009 01:08 AM
hello Sarah,
to be noted that multiple remarks can be inserted in the ACL statements.
I once thought this is possible only with named ACL.
Hope to help
Giuseppe
03-20-2009 09:12 AM
Thanks Giuseppe!
You lost me here. Could you please give any example?
03-20-2009 03:00 PM
Hello Sarah,
I was meaning that in different lines of an ACL more then one of them can be a remark command.
Hope to help
Giuseppe
03-21-2009 05:19 AM
Really named and numbered are handled the same now in my experience. Any code after 12.2.T . For instance if you do have the following
access-list 101 permit ip 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255
You can then modify this as a named ACL
conf t
ip access-list extended 101
(This puts you acl config mode and you can add or delete stuff as any normal acl) and add as many remarks as you want in the ACL .
permit ip 10.1.2.0 0.0.0.255 172.16.1.10 0.0.0.255
remark Internet traffic
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: