cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
700
Views
5
Helpful
3
Replies

ACL's comment

ilnaiduccna
Level 1
Level 1

Hi All,

I need to add comment for ACL's (rule) to know others exactly what rule functioning what.

For example there is a ACl (rule) like...

#permit ip host 192.168.xxx.xx host 10.xx.x.xx

Here I what add comment for this rule like....

Thanks in advance,

Regards,

Naidu.

3 Replies 3

keeleym
Level 5
Level 5

Hi Naidu

Check out this link

http://www.cisco.com/en/US/docs/ios/12_0t/12_0t2/feature/guide/comment.html

for information on adding comments to ACL's on Cisco equipment.

HTH.

Best Regards,

Michael

Hi Michael,

Thanks for your response.

Thats ok, but what i want is both access-list command as well comment should in single line like....

#permit ip 10.XX.X.X 0.0.255.255 any (Aalborg network can access any outisde network)

Regards,

Naidul

Naidul

I believe that the suggestion from Michael is your best option. While I can agree that it would be nice to have the comment and the the rule in the same line I do not believe that IOS supports this.

HTH

Rick

HTH

Rick
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