cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco announces new innovations in SD-WAN, ISRs, SD-WAN Services, and Catalyst 9000 Series switches


131
Views
10
Helpful
4
Replies
Highlighted
Beginner

access-list, class-map, policy-map naming question

Is it a bad form to name access-list, class-map, policy-map all the same or it is encouraged?

 

Similarly, there are several crypto related configs like authorization policy, authentication policy, keyring, etc that could also share the same name.

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Expert

Re: access-list, class-map, policy-map naming question

I wouldn't consider it bad form, in fact, if they are exclusively related (i.e. only used together), I believe it especially helps to clarify such a relationship. If the relationship is non-exclusive, you might want to keep just functional names.

Meheretab's suggestion is also good, although if followed I would recommend what he is doing be done as suffixes. This so, for sorting purposes, you usually want logically related elements to sort together and the suffix indicates the kind of element.

4 REPLIES

Re: access-list, class-map, policy-map naming question


I personally prefer to add additional identifiers to easily identify access-list vs Class-map vs Policy-map. Example, ip access-list extended ACL-BLOCK-ICMP, class-map CM-BLOCK-ICMP, and policy-map PM-BLOCK-ICMP.

I use similar style for crypto related configurations.

HTH,
Meheretab
VIP Expert

Re: access-list, class-map, policy-map naming question

I wouldn't consider it bad form, in fact, if they are exclusively related (i.e. only used together), I believe it especially helps to clarify such a relationship. If the relationship is non-exclusive, you might want to keep just functional names.

Meheretab's suggestion is also good, although if followed I would recommend what he is doing be done as suffixes. This so, for sorting purposes, you usually want logically related elements to sort together and the suffix indicates the kind of element.

Community Manager

Re: access-list, class-map, policy-map naming question

Thank you for helping with his question. We appreciate it.

 

 

Community Manager

Re: access-list, class-map, policy-map naming question

pingduck, If you got your question answer, don't forget to mark it as "Accepted Solution" This helps all community members to find useful answers.

Thank you!

CreatePlease to create content
Content for Community-Ad

This widget could not be displayed.
Blog-Cisco Community Designated VIP Class of 2019