Using Dcr Features Through Cli; Adding Devices Using Dcrcli; Deleting Devices Using Dcrcli - Cisco CISCOWORKS COMMON SERVICES 3.0 User Manual

Hide thumbs Also See for CISCOWORKS COMMON SERVICES 3.0:
Table of Contents

Advertisement

Chapter 4
Managing Device and Credentials

Using DCR Features Through CLI

Adding Devices Using dcrcli

Step 1
Step 2
Step 3

Deleting Devices Using dcrcli

Step 1
Step 2
Step 3
78-16571-01
Using Command Line Interface, you can add, delete, and modify devices, and
change the DCR modes. You can also view the list of attributes that can be stored
in DCR, and view the current DCR mode. The dcrcli utility provided with
Common Services helps you perform these tasks using CLI.
To add devices using dcrcli:
Enter NMSROOT
/bin/dcrcli
Enter the password corresponding to the username
Enter
=value
add ip
hn
Enter either the IP address (ip), Hostname (hn), or Device Identity (di).
Enter the Display Name (dn) and the Attribute name (-a attname). The attribute
sysObjectID is mandatory. You can add multiple attributes. For example,
add ip=1.1.1.1 hn=device1 dn=cisco.com
-a sysObjectID=1.3.6.1.4.1.9.1.6
To delete device using dcrcli:
Enter NMSROOT
/bin/dcrcli
Enter the password corresponding to the username.
Enter
value.
del id=
is the Device ID. For example,
id
del id=54340
-u username.
=value
=value
=value
di
dn
-u username.
User Guide for CiscoWorks Common Services
Using DCR Features Through CLI
=value
-a attname
4-39

Advertisement

Table of Contents
loading

Table of Contents