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

CiscoWorks - Check for a certain command

Hi,

Is there a way to check the running config of a whole heap of devices for a certain command?

Login to every device and check for say this text....ip http server

Then in the results it would show me which ones have it and which ones don't

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CiscoWorks - Check for a certain command

You can easily search the RME configuration archive for a pattern (e.g. ip http server). The results will show you all devices which have this pattern in their config.

However, if you want to see devices which have the pattern and those that don't, you're probably better off using RME's Baseline compliance feature.

With baseline compliance, you can create a baseline template with the following command:

+ ip http server

All devices which have this line in their config will be marked compliant. All devices which do not will be marked as non-compliant.

Baseline compliance is available in RME 4.0 and higher. The Search Archive By Pattern feature is available in all versions of RME.

1 REPLY
Cisco Employee

Re: CiscoWorks - Check for a certain command

You can easily search the RME configuration archive for a pattern (e.g. ip http server). The results will show you all devices which have this pattern in their config.

However, if you want to see devices which have the pattern and those that don't, you're probably better off using RME's Baseline compliance feature.

With baseline compliance, you can create a baseline template with the following command:

+ ip http server

All devices which have this line in their config will be marked compliant. All devices which do not will be marked as non-compliant.

Baseline compliance is available in RME 4.0 and higher. The Search Archive By Pattern feature is available in all versions of RME.

141
Views
0
Helpful
1
Replies
CreatePlease to create content