Cisco Systems 4.1 Dust Collector User Manual


 
19-84
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
Example 2: Checking the read and write device credentials for multiple devices
cwcli inventory cda -u admin -p admin -device 3750-stack, rtr% -credtype 1,2 -status
CDA Status :
============
deviceId | deviceName | ro | rw | snmpv3 | telnet | telnetEnable | ssh | sshEnable
25 | rtr10005 | OK | OK | | | | |
27 | 3750-stack | OK | OK | | | | |
32 | rtr10K | No Data Yet | No Data Yet | | | | |
SUMMARY
========
Successful: CDA: Success
Example 3: Checking all device credentials for a group
cwcli inventory cda -u admin -p admin -view "/RME@ciscoworksservername/Pre-deployed"
-status
CDA Status:
==========
deviceId | deviceName | ro | rw | snmpv3 | telnet | telnetEnable | ssh | sshEnable
29 | v2 | No Data Yet | No Data Yet | No Data Yet | No Data Yet | No Data Yet | No Data
Yet | No Data Yet
SUMMARY
========
Successful: CDA: Success
Example 4: Checking device credentials for a device using the cwcli get request
The password that you enter here must be in base64 encoded. In this example, YWRtaW4= is the base64
encoded password for admin.
Enter this in your browser:
http://ciscowork_servername:1741/rme/cwcli?command=cwcli inventory cda -u admin -p
YWRtaW4=
-device 10.10.10.12 -status
The output for this appears on your console:
<!-- Processing Starts -->
CDA Status :
============
deviceId | deviceName | ro | rw | snmpv3 | telnet | telnetEnable | ssh | sshEnable
12 | 10.10.10.12 | OK | OK | No Value To Test | Incorrect | Did Not Try | Failed | Did
Not Try
SUMMARY