cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
503
Views
5
Helpful
7
Replies

access-list

sarahr202
Level 5
Level 5

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!

3 Accepted Solutions

Accepted Solutions

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

View solution in original post

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

View solution in original post

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

View solution in original post

7 Replies 7

Peter010101
Level 1
Level 1

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

Thans a lot. HOw about named access list? Can we use " remark" option with it?

thanks a lot!

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Thanks Giuseppe!

You lost me here. Could you please give any example?

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

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card