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. And see here for current known issues.

New Member

Object-groups 101 tips?

Hi

Is it possible that in the CLI to find out in what object-group(s) that a specific IP is located?

I'm currently just dumping the configuration and using wordpad to search it through. It sucks but its the easiest way, for me atlest.

It might be easy with a small configuration but we have alot of object-groups with alot of IP's in each and everyone of them.

Thanks

5 REPLIES

Re: Object-groups 101 tips?

I think the closest you are going to get is:-

show run object-group - shows all object group config

or

show run object-group | inc <> - just shows the config line, not the object group it's in

or

show run | inc <> - which will show all config with the IP address in it

HTH>

New Member

Re: Object-groups 101 tips?

Hi Andrew

Yea thats what I'm using today.

Just found this, instead of dumping the config,, just type in this in the browser

https://

Re: Object-groups 101 tips?

That is another way of seeing the config - but I cannot see how this helps you?

New Member

Re: Object-groups 101 tips?

I skip the need to dump the config to a text file and use a wordprocessing program.

Just saves some time.

But no, in the big picture it doesnt help at all

Re: Object-groups 101 tips?

The best way would be:

"show run object-group | inc |network"

This way you would also see in which object-group that IP is in, but the downside is you will see the names of all other 'network' type object groups as well :)

Regards

Farrukh

148
Views
3
Helpful
5
Replies