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

Object-groups 101 tips?

azore2007
Level 1
Level 1

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 5

andrew.prince
Level 10
Level 10

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>

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://

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

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

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

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