cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2806
Views
0
Helpful
3
Replies

Comments in Config

giaaaj
Level 1
Level 1

Hello ,

Is there any way to comment ( insert comments ) in the configuration of a router or a switch .

Thanks

Ali

3 Replies 3

milan.kulik
Level 10
Level 10

Hi,

you can use

access-list access-list-number remark ....

to insert comments to ACLs

or

description ....

to insert comments to interface configuration.

But AFAIK there is no general way to insert comments (I always thought ! at the line beginning made it a comment but this doesn't work.)

Regards,

Milan

Hallo,

I have tried it with the banner Command, it seems to work.

Ali

Thanks

Yes,

but it still doesn't allow to put a comment to any place in config you choose.

Regards,

Milan

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: