04-03-2009 08:58 AM
How can i do a report that will show me all my routers that have a secondary ip address on them?
Solved! Go to Solution.
04-03-2009 09:46 AM
You can use the baseline compliance feature of RME to do this. Go to RME > Config Mgmt > Archive Mgmt > Baseline Templates, and create a new advanced template for your Routers group (or any other groups you may want). The template will simply consist of prerequisite command set, and one simple check for a ubiquitous command (like hostname):
Name : SecondaryCheck
IsPrerq : TRUE
Submode : interface [#.*#]
Body:
+ ip address [ADDR] [MASK] secondary
Name : HostnameCheck
IsPrereq : FALSE
Prereq : SecondaryCheck
Submode :
Body:
+ hostname [NAME]
Then run a compliance check against all relevant devices. The resulting compliant devices have a secondary IP, and those excluded do not.
04-03-2009 09:40 AM
Reason for this is..
Seams that when I do a device descover and then a data collection in CM 4.0.12 we have some old routes still in our configs.. And somehow it is reporting that there is a router maybe due to a static route that isn't there anymore? I am at a loss on what is happening...
04-03-2009 09:46 AM
You can use the baseline compliance feature of RME to do this. Go to RME > Config Mgmt > Archive Mgmt > Baseline Templates, and create a new advanced template for your Routers group (or any other groups you may want). The template will simply consist of prerequisite command set, and one simple check for a ubiquitous command (like hostname):
Name : SecondaryCheck
IsPrerq : TRUE
Submode : interface [#.*#]
Body:
+ ip address [ADDR] [MASK] secondary
Name : HostnameCheck
IsPrereq : FALSE
Prereq : SecondaryCheck
Submode :
Body:
+ hostname [NAME]
Then run a compliance check against all relevant devices. The resulting compliant devices have a secondary IP, and those excluded do not.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide