Chapter 4 Managing Device and Credentials
Using DCR Features Through CLI
4-40
User Guide for CiscoWorks Common Services
78-16571-01
Editing Devices Using dcrcli
To modify devices using dcrcli
Step 1
Enter NMSROOT
/bin/dcrcli
-u username.
Step 2
Enter the password.
Step 3
Enter
mod id=
value
ip=
value
hn=
value
di=
value
dn=
value
-a attname=
value
Enter the Device ID (id).
Enter either the IP Address (ip), Hostname (hn), or Device Identity (di).
Enter the Display Name (dn) and the Attribute name (-a attname). You can add
multiple attributes. For example,
mod id=54341 ip=2.2.2.2 dn=cisco.com -a display_name=new_name
Listing the Attributes
To view the list of all attributes:
Step 1
Enter NMSROOT
/bin/dcrcli
-u username.
Step 2
Enter the password corresponding to the username
Step 3
Enter
lsattr
This lists Attribute Name, Attribute Description, and Attribute Type.
Attribute Type is a constant that identifies an Attribute Name.
Example:
Attribute Type 1072 identifies the attribute name display_name
Содержание CISCOWORKS COMMON SERVICES 3.0
Страница 216: ...Chapter 6 Using Device Center Performing Management Tasks 6 16 User Guide for CiscoWorks Common Services 78 16571 01 ...
Страница 226: ...Chapter 7 Working With Software Center Viewing Activity Logs 7 10 User Guide for CiscoWorks Common Services 78 16571 01 ...
Страница 274: ...Appendix A Understanding CiscoWorks Security Server Security A 12 User Guide for CiscoWorks Common Services 78 16571 01 ...