4-43
User Guide for CiscoWorks Common Services
78-16571-01
Chapter 4 Managing Device and Credentials
Using DCR Features Through CLI
Import Using CLI
You can import using the Command Line Interface.
Step 1
Enter NMSROOT
/bin/dcrcli
-u username.
Step 2
Enter the password corresponding to the user name.
•
To Import from file:
Enter
impFile
fn=
file name
ft=
file type
fn—the file name
ft—the file type; CSV and XML are the valid values.
Example:
impFile fn=/opt/CSCOpx/test.csv ft=csv
•
To Import from Local NMS:
Enter
impNms
nt=
NMS type
il=
Installation location
nt—NMS type. Valid values are HPOV6.x and Netview7.x
il—Installation location of the NMS
Example:
impNms nt=HPOV6.x il=/opt/OV
•
To import from Remote NMS:
Enter
ImpRNms
nt=
NMS type
hn=
hostname
un=
Remote User Name
il=
Installation location
ot=
OS Type
nt — NMS type. Valid values are HPOV6.x and Netview7.x
hn — Remote Host Name or IP address
un — Remote User Name
il — Installation location of the NMS
ot— OS Type; Valid values are HPUX, AIX, or SOL
Example:
impRNms nt=HPOV6.x hn=1.2.3.4 un=root il=/opt/OV ot=SOL