09-16-2010 05:07 PM
Is there a way that I can create a report in Cisco Works RME that allows me to run an adhoc command.
ie: I want to report on the following for all my selected devices:
show inventory | include SX|LX|LH
The output on an individual switch gives me:
Switch# show inventory | include SX|LX|LH
NAME: "GigabitEthernet1/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet1/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/3", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/4", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/5", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/6", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/3", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/4", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/5", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/6", DESCR: "1000BaseSX"
NAME: "GigabitEthernet5/1", DESCR: "1000BaseLH"
NAME: "GigabitEthernet5/2", DESCR: "1000BaseSX"
09-16-2010 08:38 PM
You can execute that as an adhoc commmand in a "NetShow" job, either "scheduled" if you want to query more than 10 devices, or run it immediately if there's fewer than 10 devices.
09-16-2010 09:03 PM
Thanks for the info yjdabear. I'd like to have the output in a report rather than having to click on each individual device to see the results - we have hundreds of devices that we are wanting this information from.
Is there any way get the information into a report?
eg:
Switch 1
NAME: "GigabitEthernet1/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet1/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/3", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/4", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/5", DESCR: "1000BaseSX"
NAME: "GigabitEthernet3/6", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/1", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/2", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/3", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/4", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/5", DESCR: "1000BaseSX"
NAME: "GigabitEthernet4/6", DESCR: "1000BaseSX"
NAME: "GigabitEthernet5/1", DESCR: "1000BaseLH"
09-20-2010 12:09 PM
I thought it's possible to grab the aggregate output of all the devices in the GUI, but maybe not.
Alternatively, perhaps the CLI equivalent could display all the results. Specifically:
cwcli netshow jobresults -u Username -p Password -id "Job ID 1" , "Job ID 2" , "Job ID 3"
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_resource_manager_essentials/4.3/user/guide/cwcli.html#wpxref43283
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