Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Bronze

access-list

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
Bronze

Re: access-list

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

Hall of Fame Super Silver

Re: access-list

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

Purple

Re: access-list

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

7 REPLIES
New Member

Re: access-list

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

Bronze

Re: access-list

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

thanks a lot!

Bronze

Re: access-list

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

Hall of Fame Super Silver

Re: access-list

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

Bronze

Re: access-list

Thanks Giuseppe!

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

Hall of Fame Super Silver

Re: access-list

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

Purple

Re: access-list

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

264
Views
5
Helpful
7
Replies