cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1589
Views
12
Helpful
4
Replies

cwcli netshow - vs - cwconfig netshow

Hi to all,

I have to replace the old command "cwconfig netshow" with new command "cwcli netshow";

old command was: cwconfig netshow -u [user] -execcmdset "Show Host" -view "[device view name]" -f [outputFileName];

I think that new command is: cwconfig netshow -u [user] -execcmdset "Show Host" -view "[device view name]";

but the output is: <cwcli> ERROR - invalid Group Name: Fuori Banda

Recommended action: Specify a valid group name.

In RME->Device->Group Administration i create the group "Fuori Banda" with a lot of devices!!

1 - what's "device view name"?

2 - in new command the -f option not exists?!?!

Help me plese!

Filomena a frend of Leonardo

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

You need to specify the fully-qualified group name. For example:

/RME@server/User Defined Groups/Fuori Banda

You will then need need to get the job results, and output that to a file. For example, to perform a Show System Info to devices in group Location NMS on my server:

cwcli netshow createjob -u admin -p admin -view "/RME@rtp-main/User Defined Groups/Location NMS" -commandset "Show System Info"

cwcli netshow jobresults -u admin -p admin -id 2369 -output /tmp/results.txt

Hi to all,

the output of the command "cwcli netshow jobresults..." to a file is

"Job Results for the job <<<1126>>>

=======================================

Start Time :Jul 25 2007 14:33:11

End Time :Jul 25 2007 14:33:11"

But, I need the old output of the old command, for example:

---------------------------------------------------------------------------------------------------------

*** DEVICE = C-2621-BGXX-XXXXIP-1 :: COMMAND SET = Show Host :: COMMAND = show run | include hostname ***

---------------------------------------------------------------------------------------------------------

hostname BGXXXXXX

--------------------------------------------------------------------------------------------------------

*** DEVICE = C-2621-BGXXX-XXIP-1 :: COMMAND SET = Show Host :: COMMAND = show run | include ip host ***

--------------------------------------------------------------------------------------------------------

ip host BD10K-b 2073 10.xx.xx.1

ip host BD10K-a 2072 10.xx.xx.1

ip host BGXX-E30-slot8 2067 10.xx.xx.1

ip host BGXXXXXX-c 2070 10.xx.xx.1

ip host BG-XX-XXXX-B 2069 10.xx.xx.1

ip host BG-XXX-XXXXXX-A 2068 10.xx.xx.1

ip host BGXXXX2R-c 2001 10.xx.xx.1

....

Is there another command for this??

Thank,

Filomena

The old command is no longer available. This is the only way to see the NetShow job results.

hi Joe,

is it possible to retrive the job ID by the cli command line?

Tks

Leonardo