Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

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
Cisco Employee

Re: cwcli netshow - vs - cwconfig netshow

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

New Member

Re: cwcli netshow - vs - cwconfig netshow

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

Cisco Employee

Re: cwcli netshow - vs - cwconfig netshow

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

New Member

Re: cwcli netshow - vs - cwconfig netshow

hi Joe,

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

Tks

Leonardo

219
Views
12
Helpful
4
Replies
CreatePlease to create content