prime_cisco

232
Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 First Published: August 27, 2012 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-27654-01

Upload: luis-samuel-esteban-montalvo

Post on 18-Aug-2015

215 views

Category:

Documents


0 download

DESCRIPTION

Prime_Cisco

TRANSCRIPT

Command Reference Guide for Cisco Prime Infrastructure, Release1.2First Published: August 27, 2012Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 408 526-4000 800 553-NETS (6387)Fax: 408 527-0883Text Part Number: OL-27654-01THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITHTHE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain versionof the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS" WITH ALL FAULTS.CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OFMERCHANTABILITY, FITNESS FORAPARTICULARPURPOSE ANDNONINFRINGEMENT ORARISINGFROMACOURSE OF DEALING, USAGE, ORTRADE PRACTICE.IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUTLIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERSHAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnershiprelationship between Cisco and any other company. (1110R)Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shownfor illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2012 Cisco Systems, Inc. All rights reserved.C ONT E NT SP r e f a c e Preface ixWho Should Read This Guide ixHow to Use This Guide ixHow This Guide Is Organized xDocument Conventions xDocumentation Updates xiRelated Documentation xiObtaining Documentation and Submitting a Service Request xiiC H A P T E R 1 Overview of the Cisco Prime Infrastructure Command-Line Interface 1Accessing the Cisco Prime Infrastructure Command Environment 1User Accounts and Modes in the Cisco Prime Infrastructure CLI 2Command Modes in the Cisco Prime Infrastructure CLI 6EXEC Commands 7EXEC or System-Level Commands 8show Commands 10Configuration Commands 12CLI Audit 14C H A P T E R 2 Using the Command-Line Interface 15Before Accessing the Cisco Prime Infrastructure CLI 15Running the Setup Utility to Configure the Cisco Prime Infrastructure 15Accessing the Cisco Prime Infrastructure CLI 17Supported Hardware and Software Platforms 17Opening the CLI with Secure Shell 18Opening the CLI Using a Local PC 19Understanding Command Modes 21Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 iiiEXEC Mode 22Configuration Mode 23Configuration Submodes 24Navigating the CLI Commands 26Getting Help 27Using the No and Default Forms of Commands 28Command Line Conventions 29Command Line Editing Key Conventions 30Command Line Completion 31Continuing Output at the --More-- Prompt 32Where to Go Next 32A P P E ND I X A Command Reference 33Disk Space Management in Cisco Prime Infrastructure 33EXEC Commands 37application install 38application remove 40application reset-config 41application start 42application stop 43application upgrade 44backup 46backup-logs 48clock 49configure 50copy 51debug 55delete 59dir 60exit 63forceout 64halt 65mkdir 66ncs start 67ncs stop 69 Command Reference Guide for Cisco Prime Infrastructure, Release 1.2iv OL-27654-01Contentsncs status 71ncs password ftpuser 72ncs password root password 73ncs ha authkey 74ncs ha remove 75ncs ha status 76ncs key genkey 77ncs key importcacert 79ncs key importkey 80ncs key listcacerts 81ncs key deletecacert 82ncs key importsignedcert 83ncs cleanup 84ncs db sql 85ncs db reinitdb 86nslookup 87patch install 88patch remove 90ping 92ping6 93reload 95restore 97rmdir 99root 100root_disable 101root_enable 102show 103ssh 106tech dumptcp 107telnet 108terminal length 109terminal session-timeout 110terminal session-welcome 111terminal terminal-type 112traceroute 113Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 vContentsundebug 114write 117show Commands 119show application 120show backup history 123show cdp 124show clock 126show cpu 127show disks 129show icmp-status 131show interface 133show inventory 135show logging 136show logins 139show memory 140show ntp 141show ports 142show process 144show repository 147show restore 148show running-config 149show startup-config 151show tech-support 153show terminal 155show timezone 156show timezones 157show udi 159show uptime 160show users 161show version 162Configuration Commands 163backup-staging-url 164cdp holdtime 165cdp run 166cdp timer 167 Command Reference Guide for Cisco Prime Infrastructure, Release 1.2vi OL-27654-01Contentsclock timezone 168do 171end 174exit 175hostname 176icmp echo 177interface 178ipv6 address autoconfig 180ipv6 address dhcp 182ip address 184ip default-gateway 185ip domain-name 186ip name-server 187ip route 189kron occurrence 190kron policy-list 192logging 194ntp server 196password-policy 198repository 200service 203shutdown 204snmp-server community 205snmp-server contact 206snmp-server host 207snmp-server location 208username 209Glossary 211Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 viiContents Command Reference Guide for Cisco Prime Infrastructure, Release 1.2viii OL-27654-01ContentsPrefaceThis guide describes how you can configure and maintain the Cisco Prime Infrastructure Release 1.0 usingthe command-line interface (CLI). Each topic provides a high-level summary of the tasks required for usingthe CLI for the Cisco Prime Infrastructure in the Cisco Unified Network Solution that runs on supportedappliances for small, medium, and large Cisco Prime Infrastructure deployments.This preface contains the following topics: Who Should Read This Guide, page ix How to Use This Guide, page ix How This Guide Is Organized, page x Document Conventions, page x Documentation Updates, page xi Related Documentation, page xi Obtaining Documentation and Submitting a Service Request, page xiiWho Should Read This GuideThe majority of the instructions in this guide are straightforward; however, a few are complex. Therefore,only experienced users should use these instructions.Use this guide in conjunction with the documentation listed in Related Documentation, on page xi. NoteHow to Use This GuideWe recommend that you use the information in this guide as follows: Read the document in its entirety. Subsequent sections build on information and recommendationsdiscussed in previous sections. Use this document for all-inclusive information about the Cisco Prime Infrastructure appliance.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 ix Do not vary the command-line conventions.How This Guide Is OrganizedThe following table lists the major sections of this guide.Description Title ChapterProvides an overview of the Cisco PrimeInfrastructure CLI environment andcommand modes.Overviewof the Cisco Prime InfrastructureCommand-Line InterfaceChapter 1Describes how you can access andadminister Cisco Prime Infrastructureusing the CLI.Using the Cisco Prime InfrastructureCommand-Line InterfaceChapter 2Provides a complete description of allCisco Prime Infrastructure 2.0 CLIcommands.Cisco Prime Infrastructure CommandReferenceAppendix AProvides a complete description of allCisco Prime Infrastructure CLI commands.Command Reference Appendix BDocument ConventionsThis guide uses the following conventions to convey instructions and information.Description ConventionCommands and keywords. bold fontVariables for which you supply values. italic fontKeywords or arguments that appear within squarebrackets are optional.[......]A choice of required keywords appears in bracesseparated by vertical bars. You must select one.{x | y | z}Examples of information displayed on the screen. courier fontExamples of information you must enter. bold courier fontNonprinting characters (for example, passwords)appear in angle brackets.

Command Reference Guide for Cisco Prime Infrastructure, Release 1.2x OL-27654-01PrefaceHow This Guide Is OrganizedDefault responses to systemprompts appear in squarebrackets.[....]Means reader take note. Notes contain helpful suggestions or references to material not covered in themanual.NoteMeans the following information will help you solve a problem. A tip might not consist of an action ortroubleshooting help, but could still contain useful information.TipMeans reader be careful. In this situation, you might do something that could result in equipment damageor loss of data.CautionDocumentation UpdatesThis table lists the documentation updation dates.Table 1: Updates to the CLI Reference Guide for the Cisco Prime InfrastructureDescription DateCisco Network Control System (NCS) Release 1.0 11/1/10Cisco Network Control System (NCS) Release 1.1 05/31/12Cisco Prime Infrastructure Release 1.2 08/27/12Related DocumentationThe tables lists the Cisco Prime Infrastructure documents.Table 2: Product DocumentationLocation Document Titlehttp://www.cisco.com/en/US/partner/docs/net_mgmt/prime/infrastructure/1.2/release/notes/cpi_rn.htmlCisco Prime Infrastructure 1.2 Release NotesCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 xiPrefaceDocumentation Updateshttp://www.cisco.com/en/US/docs/wireless/prime_infrastructure/1.2/configuration/guide/pi_12_cg.htmlCisco Prime Infrastructure 1.2 Configuration GuideCisco Prime Infrastructure 1.2 Appliance GettingStarted Guidehttp://www.cisco.com/en/US/docs/wireless/prime_infrastructure/1.2/command/reference/cli12.htmlCisco Prime Infrastructure 1.2 Command ReferenceGuideObtaining Documentation and Submitting a Service RequestFor information on obtaining documentation, submitting a service request, and gathering additional information,see the monthly Whats New in Cisco Product Documentation, which also lists all new and revised Ciscotechnical documentation, at:http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.htmlSubscribe to the Whats New in Cisco Product Documentation as a Really Simple Syndication (RSS) feedand set content to be delivered directly to your desktop using a reader application. The RSS feeds are a freeservice and Cisco currently supports RSS version 2.0. Command Reference Guide for Cisco Prime Infrastructure, Release 1.2xii OL-27654-01PrefaceObtaining Documentation and Submitting a Service RequestOverview of the Cisco Prime InfrastructureCommand-Line InterfaceThis chapter provides an overview of how to access the Cisco Prime Infrastructure command-line interface(CLI), the different command modes, and the commands that are available in each mode.You can configure and monitor the Cisco Prime Infrastructure through the web interface. You can also usethe CLI to perform the configuration and monitoring tasks described in this guide.The section contains the following topics: Accessing the Cisco Prime Infrastructure Command Environment, page 1 User Accounts and Modes in the Cisco Prime Infrastructure CLI, page 2 Command Modes in the Cisco Prime Infrastructure CLI, page 6 CLI Audit, page 14Accessing the Cisco Prime Infrastructure Command EnvironmentYou can access the Cisco Prime Infrastructure CLI through a secure shell (SSH) client or the console portusing one of the following machines: Windows PC running Windows XP/Vista Apple Computer running Mac OS X 10.4 or later PC running LinuxCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2OL-27654-01 1User Accounts and Modes in the Cisco Prime Infrastructure CLITwo different types of accounts are available on the Cisco Prime Infrastructure CLI: Admin (administrator) Operator (user)When you power on the Cisco Prime Infrastructure appliance for the first time, you are prompted to run thesetup utility to configure the appliances. During this setup process, an administrator user account, also knownas an Admin account, is created. After you enter the initial configuration information, the applianceautomatically reboots and prompts you to enter the username and the password that you specified for theAdmin account. You must use this Admin account to log in to the Cisco Prime Infrastructure CLI for the firsttime.An Admin can create and manage Operator (user) accounts (which have limited privileges and access to theCisco Prime Infrastructure server). An Admin account also provides the functionality that is needed to usethe Cisco Prime Infrastructure CLI.To create more users (with admin and operator privileges) with SSH access to the Cisco Prime InfrastructureCLI, you must enter the username command in configuration mode (see Command Modes in the Cisco PrimeInfrastructure CLI).Table 3: Command Privileges lists the command privileges for each type of user account: Admin and Operator(user).Table 3: Command PrivilegesUser AccountOperator(User)Admin* application commands* backup* backup-logs* cdp run* clock* configure terminal* copy commands* debug* delete* dir Command Reference Guide for Cisco Prime Infrastructure, Release 1.22 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceUser Accounts and Modes in the Cisco Prime Infrastructure CLIUser AccountOperator(User)Admin* * exit* forceout* halt* mkdir* ncs* * nslookup* patch* patch install* patch remove* * ping* * ping6* reload* repository* restore commands* rmdir* root* root_enable* show application* show backup* * show cdp* * show clock* * show cpu* * show disksCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 3Overview of the Cisco Prime Infrastructure Command-Line InterfaceUser Accounts and Modes in the Cisco Prime Infrastructure CLIUser AccountOperator(User)Admin* * show icmp_status* * show interface* * show inventory* show ip route* * show logging* * show logins* * show memory* * show ntp* * show ports* * show process* show repository* show restore* show running-config* show startup-config* show tech-support* * show terminal* * show timezone* show timezones* * show udi* * show uptime* show users* * show version* * ssh Command Reference Guide for Cisco Prime Infrastructure, Release 1.24 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceUser Accounts and Modes in the Cisco Prime Infrastructure CLIUser AccountOperator(User)Admin* tech* * telnet* * terminal* * traceroute* undebug* writeLogging in to the Cisco Prime Infrastructure server places you in operator (user) mode or admin (EXEC)mode, which always requires a username and password for authentication.You can tell which mode you are in by looking at the prompt. A right angle bracket (>) appears at the end ofoperator (user) mode prompt; a pound sign (#) appears at the end of admin mode prompt, regardless of thesubmode.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 5Overview of the Cisco Prime Infrastructure Command-Line InterfaceUser Accounts and Modes in the Cisco Prime Infrastructure CLICommand Modes in the Cisco Prime Infrastructure CLIThe Cisco Prime Infrastructure supports the following command modes: Command Reference Guide for Cisco Prime Infrastructure, Release 1.26 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceCommand Modes in the Cisco Prime Infrastructure CLIEXEC CommandsEXECcommands primarily include system-level commands such as showand reload (for example, applicationinstallation, application start and stop, copy files and installations, restore backups, and display information). Table 4: Summary of EXEC Commands describes the EXEC commands Table 5: Summary of show Commands describes the show commands in EXEC modeFor detailed information on EXEC commands, see Understanding Command Modes.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 7Overview of the Cisco Prime Infrastructure Command-Line InterfaceEXEC CommandsEXEC or System-Level CommandsTable 4: Summary of EXEC Commands describes EXEC mode commands.Table 4: Summary of EXEC CommandsDescriptionInstalls a specific application bundle. application installRemoves a specific application. application removeStarts or enables a specific application. application startStops or disables a specific application. application stopUpgrades a specific application bundle. application upgradePerforms a backup and places the backup in a repository. backupPerforms a backup of all the logs on the Cisco Prime Infrastructure to a remotelocation.backup-logsSets the system clock on the Cisco Prime Infrastructure server. clockEnters configuration mode. configureCopies any file from a source to a destination. copyDisplays any errors or events for various command situations; for example, backupand restore, configuration, copy, resource locking, file transfer, and usermanagement.debugDeletes a file in the Cisco Prime Infrastructure server. deleteLists the files in the Cisco Prime Infrastructure server. dirDisconnects the encrypted session with a remote system. Exits from the currentcommand mode to the previous command mode.exitForces the logout of all the sessions of a specific Cisco Prime Infrastructure serversystem user.forceoutDisables or shuts down the Cisco Prime Infrastructure server. haltDescribes the help utility and how to use it in the Cisco Prime Infrastructure server. helpCreates a new directory. mkdirNCS related commands to start, stop and backup server. ncs Command Reference Guide for Cisco Prime Infrastructure, Release 1.28 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceEXEC CommandsDescriptionQueries the IPv4 address or hostname of a remote system. nslookupInstalls System or Application patch. patchDetermines the IPv4 network connectivity to a remote system. pingDetermines the IPv6 network connectivity to a remote system. ping6Reboots the Cisco Prime Infrastructure server. reloadRestores a previous backup. restoreRemoves an existing directory. rmdirExecutes the root shell. rootActivates the root command. root_enableProvides information about the Cisco Prime Infrastructure server. showStarts an encrypted session with a remote system. sshProvides Cisco Technical Assistance Center (TAC) commands. techEstablishes a Telnet connection to a remote system. telnetSets terminal line parameters. terminal lengthSets the inactivity timeout for all terminal sessions. terminalsession-timeoutSets the welcome message on the system for all terminal sessions. terminalsession-welcomeSpecifies the type of terminal connected to the current line of the current session. terminalterminal-typeTraces the route of a remote IP address. tracerouteDisables the output (display of errors or events) of the debug command for variouscommand situations; for example, backup and restore, configuration, copy, resourcelocking, file transfer, and user management.undebugErases the startup configuration that forces to run the setup utility and prompt thenetwork configuration, copies the running configuration to the startup configuration,and displays the running configuration on the console.writeCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 9Overview of the Cisco Prime Infrastructure Command-Line InterfaceEXEC Commandsshow CommandsThe showcommands are used to display the Cisco Prime Infrastructure settings and are among the most usefulcommands. See Table 5: Summary of show Commands for a summary of the show commands. The showcommands must be followed by a keyword; for example, show application status. Some show commandsrequire an argument or variable after the keyword to function; for example, show application version.Table 5: Summary of show CommandsDescriptionDisplays information about the installed application; for example, status informationor version information.application (requireskeyword)Displays information about the backup. backup (requireskeyword)Displays information about the enabled Cisco Discovery Protocol interfaces. cdp (requireskeyword)Displays the day, date, time, time zone, and year of the system clock. clockDisplays CPU information. cpuDisplays file-system information of the disks. disksDisplays the Internet Control Message Protocol (ICMP) echo response configurationinformation.icmp-statusDisplays statistics for all the interfaces configured on the Cisco Prime Infrastructure. interfaceDisplays information about the hardware inventory, including the Cisco PrimeInfrastructure appliance model and serial number.inventoryDisplays the Cisco Prime Infrastructure server logging information. logging (requireskeyword)Displays the login history of the Cisco Prime Infrastructure server. logins (requireskeyword)Displays memory usage by all running processes. memoryDisplays the status of the Network Time Protocol (NTP) servers. ntpDisplays all the processes listening on the active ports. portsDisplays information about the active processes of the Cisco Prime Infrastructureserver.process Command Reference Guide for Cisco Prime Infrastructure, Release 1.210 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceEXEC CommandsDescriptionDisplays the file contents of a specific repository. repository (requireskeyword)Displays the restore history in the Cisco Prime Infrastructure. restore (requireskeyword)Displays the contents of the configuration file that currently runs in the Cisco PrimeInfrastructure.running-configDisplays the contents of the startup configuration in the Cisco Prime Infrastructure. startup-configDisplays system and configuration information that you can provide to the TACwhen you report a problem.tech-supportDisplays information about the terminal configuration parameter settings for thecurrent terminal line.terminalDisplays the current time zone in the Cisco Prime Infrastructure. timezoneDisplays all the time zones available for use in the Cisco Prime Infrastructure. timezonesDisplays information about the unique device identifier (UDI) of the Cisco PrimeInfrastructure.udiDisplays how long the system you are logged in to has been up and running. uptimeDisplays information about the system users. usersDisplays information about the currently loaded software version, along withhardware and device information.versionCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 11Overview of the Cisco Prime Infrastructure Command-Line InterfaceEXEC CommandsConfiguration CommandsConfiguration commands include interface and repository. To access configuration mode, run the configurecommand in EXEC mode.Some of the configuration commands require that you enter the configuration submode to complete theconfiguration.Table 6: Summary of Configuration Commands describes the configuration commands.Table 6: Summary of Configuration CommandsDescriptionSpecifies a Network File System (NFS) temporary space or staging area for theremote directory for backup and restore operations.backup-staging-urlSpecifies the amount of time the receiving device should hold a Cisco DiscoveryProtocol packet from the Cisco Prime Infrastructure server before discarding it.cdp holdtimeEnables Cisco Discovery Protocol. cdp runSpecifies how often the Cisco Prime Infrastructure server sends Cisco DiscoveryProtocol updates.cdp timerSets the time zone for display purposes. clock timezoneExecutes an EXEC-level command from configuration mode or any configurationsubmode.To initiate, the do command precedes the EXECcommand.NotedoReturns to EXEC mode. endExits configuration mode. exitSets the hostname of the system. hostnameConfigures the ICMP echo requests. icmp echoConfigures an interface type and enters interface configuration mode. interfaceEnables IPv6 stateless autoconfiguration in interface configuration mode. ipv6 addressautoconfigEnables IPv6 address DHCP in interface configuration mode. ipv6 address dhcpSets the IP address and netmask for the Ethernet interface.This is an interface configurationcommand.Noteip address Command Reference Guide for Cisco Prime Infrastructure, Release 1.212 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceConfiguration CommandsDescriptionDefines or sets a default gateway with an IP address. ip default-gatewayDefines a default domain name that a Cisco Prime Infrastructure server uses tocomplete hostnames.ip domain-nameSets the Domain Name System (DNS) servers for use during a DNS query. ip name-serverSchedule one or more Command Scheduler commands to run at a specific date andtime or a recurring level.kron occurrenceSpecifies a name for a Command Scheduler policy. kron policy-listEnables the system to forward logs to a remote system. loggingConfigures the log level for the logging command. logging loglevelDisables or removes the function associated with the command. noSynchronizes the software clock through the NTP server for the system. ntpEnables and configures the password policy. password-policyEnters repository submode. repositorySpecifies the type of service to manage. serviceSets up the community access string to permit access to the Simple NetworkManagement Protocol (SNMP).snmp-servercommunityConfigures the SNMP contact the Management Information Base (MIB) value onthe system.snmp-server contactSends SNMP traps to a remote system. snmp-server hostConfigures the SNMP location MIB value on the system. snmp-serverlocationAdds a user to the system with a password and a privilege level. usernameFor detailed information on configuration mode and submode commands, see Understanding CommandModes.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 13Overview of the Cisco Prime Infrastructure Command-Line InterfaceConfiguration CommandsCLI AuditYou must have administrator access to execute the Cisco Prime Infrastructure configuration commands.Whenever an administrator logs in to configuration mode and executes a command that causes configurationalchanges in the Cisco Prime Infrastructure server, the information related to those changes is logged in theCisco Prime Infrastructure operational logs.Table 7: Configuration Mode Commands for the Operation Log describes configuration mode commands thatgenerate operational logs.Table 7: Configuration Mode Commands for the Operation LogDescriptionSets the system clock on the Cisco Prime Infrastructure server. clockSets the DNS servers for use during a DNS query. ip name-serverSets the hostname of the system. hostnameSets the IP address and netmask for the Ethernet interface. ip addressAllows synchronization of the software clock by the NTP server for the system. ntp serverIn addition to configuration mode commands, some commands in EXEC mode generate operational logs.Table 8: EXEC Mode Commands for the Operation Log describes EXEC mode commands that generateoperational logs.Table 8: EXEC Mode Commands for the Operation LogDescriptionPerforms a backup (NCS and ADE OS) and places the backup in a repository. backupRestores from backup the file contents of a specific repository. restoreBacks up system logs. backup-logs Command Reference Guide for Cisco Prime Infrastructure, Release 1.214 OL-27654-01Overview of the Cisco Prime Infrastructure Command-Line InterfaceCLI AuditUsing the Command-Line InterfaceThis chapter provides helpful tips for understanding and configuring the Cisco Prime Infrastructure fromthe command-line interface (CLI). The Cisco Prime Infrastructure can be deployed for small, medium, andlarge deployments and is available on different platforms and also as a software that can run on VMware.This section contains the following topics: Before Accessing the Cisco Prime Infrastructure CLI, page 15 Running the Setup Utility to Configure the Cisco Prime Infrastructure, page 15 Accessing the Cisco Prime Infrastructure CLI, page 17 Understanding Command Modes, page 21 Navigating the CLI Commands, page 26 Where to Go Next, page 32Before Accessing the Cisco Prime Infrastructure CLIBefore logging in to the Cisco Prime Infrastructure CLI, ensure that you have completed the installation tasksas specified in the Cisco Prime Network Control System Hardware Installation Guide, Release 1.0.Running the Setup Utility to Configure the Cisco PrimeInfrastructureWhen you power up the Cisco Prime Infrastructure appliances for the first time, you are prompted to run thesetup utility to configure the Cisco Prime Infrastructure appliances. Before you run the utility using the setupcommand, ensure that you have values for the following network configuration prompts: Hostname IP address Netmask GatewayCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2OL-27654-01 15 Domain Nameserver Network Time Protocol (NTP) server (optional) User ID PasswordThis example shows sample output of the setup command:**********************************************Please type 'setup' to configure the appliance**********************************************localhost login: setupPress 'Ctrl-C' to abort setupEnter hostname[]: NCSEnter IP address[]: 172.16.90.183Enter IP default netmask[]: 255.255.255.0Enter IP default gateway[]: 172.16.90.1Enter default DNS domain[]: example.comEnter primary nameserver[]: 172.16.168.183Add/Edit another nameserver? Y/N : nEnter primary NTP server[time.nist.gov]:Add/Edit secondary NTP server? Y/N : nEnter username[admin]:Enter password:Enter password again:Bringing up network interface...Pinging the gateway...Pinging the primary nameserver...Do not use 'Ctrl-C' from this point on...Appliance is configuredAfter you enter the required information, the Cisco Prime Infrastructure appliance automatically reboots andthe following login prompt appears:machine_name login:where machine_name identifies the hostname that you specified when you ran the setup command.In this example, this prompt appears:NCS login:To log in, use the administrator user account (and the corresponding password) that you created during thesetup process. You must also use this Admin account to log in to the Cisco Prime Infrastructure CLI for thefirst time. After accessing the CLI as an administrator, you can create more users (with admin and operatorprivileges) with SSH access to the CLI by running the username command in configuration mode.The administrator user account and the corresponding password (a CLI user account) that you createdduring the initial setup wizard can be used to manage the Cisco Prime Infrastructure application using theCLI. The CLI user has privileges to start and stop the Cisco Prime Infrastructure application software,backup and restore the Cisco Prime Infrastructure application data, apply software patches and upgradesto the Cisco Prime Infrastructure application software, view all the system and the application logs, andreload or shutdown the Cisco Prime Infrastructure appliance. To protect the CLI user credentials, explicitlycreate users with access to the CLI.Note Command Reference Guide for Cisco Prime Infrastructure, Release 1.216 OL-27654-01Using the Command-Line InterfaceRunning the Setup Utility to Configure the Cisco Prime InfrastructureAny users that you create from the Cisco Prime Infrastructure web interface cannot automatically log into the Cisco Prime Infrastructure CLI. You must explicitly create users with access to the CLI. To createthese users, you must log in to the CLI using the Admin account that you created during setup; then, enterconfiguration mode, and run the username command.NoteAccessing the Cisco Prime Infrastructure CLIBefore logging in to the Cisco Prime Infrastructure CLI, ensure that you have completed the hardwareinstallation and configuration process outlined in the "Before Accessing the Cisco Prime Infrastructure CLI"section.To log in to the Cisco Prime Infrastructure server and access the CLI, use an SSH secure shell client or theconsole port. You can log in from: A PC running Windows XP/Vista. A PC running Linux. An Apple computer running Mac OS X 10.4 or later. Any terminal device compatible with VT100 or ANSI characteristics. On the VT100-type and ANSIdevices, you can use cursor-control and cursor-movement key. Keys include left arrow, up arrow, downarrow, right arrow, Delete, and Backspace. The CLI senses the use of the cursor-control keys andautomatically uses the optimal device characteristics.To exit the CLI, use the exit command fromEXECmode. You are currently in one of the configuration modesand you want to exit the CLI, enter the end, exit, or Ctrl-z command to return to EXEC mode, and then enterthe exit command.Supported Hardware and Software PlatformsThe following valid terminal types can access the Cisco Prime Infrastructure: 1178 2621 5051 6053 8510 altos5 amiga ansi apollo Apple_TerminalCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 17Using the Command-Line InterfaceAccessing the Cisco Prime Infrastructure CLI att5425 ibm327x kaypro vt100See the terminfo database for a complete listing.You can also access the Cisco Prime Infrastructure through an SSH client or the console port.Opening the CLI with Secure ShellTo access the Cisco Prime Infrastructure CLI environment, use any SSH client that supports SSH v2. NoteThe following example shows you how to log in with a Secure Shell (SSH) client (connecting to a wiredWAN) via a PC by using Windows XP. Assuming that Cisco Prime Infrastructure is preconfigured throughthe setup utility to accept an Admin (administrator) user, log in as Admin.SUMMARY STEPS1. Use any SSH client and start an SSH session.2. Press Enter or Spacebar to connect.3. Enter a hostname, username, port number, and authentication method.4. Click Connect, or press Enter.5. Enter your assigned password for the administrator.6. (Optional) Enter a profile name in the text box and click Add to Profile.7. Click Close on the Add Profile window.DETAILED STEPSPurpose Command or ActionThe SSH window appears. Use any SSH client and start an SSH session. Step 1The Connect to Remote Host window appears. Press Enter or Spacebar to connect. Step 2In this example, you enter ncs for the hostname, admin forthe username, and 22 for the port number; and, for theEnter a hostname, username, port number, andauthentication method.Step 3authentication method, choose Password from thedrop-down list.The Enter Password window appears. Click Connect, or press Enter. Step 4The SSH with the Add Profile window appears. Enter your assigned password for the administrator. Step 5(Optional) Enter a profile name in the text box andclick Add to Profile.Step 6 Command Reference Guide for Cisco Prime Infrastructure, Release 1.218 OL-27654-01Using the Command-Line InterfaceOpening the CLI with Secure ShellPurpose Command or ActionThe Cisco Prime Infrastructure prompt ncs/admin# appears.You can now enter Cisco Prime Infrastructure CLIcommands.Click Close on the Add Profile window. Step 7Opening the CLI Using a Local PCIf you need to configure NCS locally (without connecting to a wired LAN), you can connect a PC to theconsole port on the Cisco Prime Infrastructure appliance by using a null-modem cable.The serial console connector (port) provides access to the CLI locally by connecting a terminal to the consoleport. The terminal is a PC running terminal-emulation software or an ASCII terminal. The console port(EIA/TIA-232 asynchronous) requires only a null-modem cable.To connect a PC running terminal-emulation software to the console port, use a DB-9 female to DB-9 femalenull-modem cable.To connect an ASCII terminal to the console port, use a DB-9 female to DB-25 male straight-through cablewith a DB-25 female to DB-25 female gender changer.The default parameters for the console port are 9600 baud, 8 data bits, no parity, 1 stop bit, and no hardwareflow control.If you are using a Cisco switch on the other side of the connection, set the switchport to duplex auto, speedauto (the default).NoteTo connect to the console port and open the CLI, complete the following steps:SUMMARY STEPS1. Connect a null-modem cable to the console port on the Cisco ISE-3315 and to the COM port on your PC.2. Set up a terminal emulator to communicate with the Cisco Prime Infrastructure. Use the following settingsfor the terminal emulator connection: 9600 baud, 8 data bits, no parity, 1 stop bit, and no flow control.3. When the terminal emulator activates, press Enter.4. At the window, enter your username, then press Enter.5. Enter the password, then press Enter.DETAILED STEPSPurpose Command or ActionConnect a null-modem cable to the console port on the Cisco ISE-3315 andto the COM port on your PC.Step 1Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 19Using the Command-Line InterfaceOpening the CLI Using a Local PCPurpose Command or ActionSet up a terminal emulator to communicate with the Cisco PrimeInfrastructure. Use the following settings for the terminal emulatorconnection: 9600 baud, 8 data bits, no parity, 1 stop bit, and no flowcontrol.Step 2When the terminal emulator activates, press Enter. Step 3At the window, enter your username, then press Enter. Step 4When the CLI activates, you canenter CLI commands to configurethe Cisco Prime Infrastructure.Enter the password, then press Enter. Step 5 Command Reference Guide for Cisco Prime Infrastructure, Release 1.220 OL-27654-01Using the Command-Line InterfaceOpening the CLI Using a Local PCUnderstanding Command ModesThis section describes the Cisco Prime Infrastructure command modes in detail. This section contains thefollowing topics: EXEC Mode Configuration Mode Configuration SubmodesCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 21Using the Command-Line InterfaceUnderstanding Command ModesEXEC ModeWhen you start a session on the Cisco Prime Infrastructure, you begin in admin or EXEC mode. From EXECmode, you can enter configuration mode. Most of the EXEC commands (one-time commands), such as showcommands, display the current configuration status. The admin or EXEC mode prompt consists of the devicename or hostname before a pound sign (#), as shown:ncs/admin# (Admin or EXEC mode)Throughout this guide, the Cisco Prime Infrastructure server uses the name ncs in place of the hostnameand admin of the Cisco Prime Infrastructure server for the user account.NoteYou can always tell when you are in EXEC mode or configuration mode by looking at the prompt. In EXEC mode, a pound sign (#) appears after the NCS server hostname and your username.For example:ncs/admin# In configuration mode, the config keyword and a pound sign (#) appear after the hostname of the CiscoPrime Infrastructure server and your username.For example:ncs/admin# configureEnter configuration commands, one per line. End with CNTL/Z.ncs/admin(config)# (configuration mode)If you are familiar with UNIX, you can equate EXEC mode to root access. You could also equate it to theadministrator level in Windows NT or the supervisor in NetWare. In this mode, you have permission to accesseverything in the Cisco Prime Infrastructure server, including the configuration commands. However, youcannot enter configuration commands directly. Before you can change the actual configuration of the CiscoPrime Infrastructure server, you must enter configuration mode by entering the configure or configureterminal (conf t) command. Enter this command only when in EXEC mode.For example:ncs/admin# conf tEnter configuration commands, one per line. End with CNTL-Z.ncs(config)# (configuration mode)The configuration mode has several submodes; each has its own prompt. To enter these submodes, you mustfirst enter configuration mode by entering the configure terminal command.To exit configuration mode, enter the end, exit, or Ctrl-z command. To exit EXEC mode, enter the exitcommand. To exit both configuration and EXEC modes, enter this sequence of commands:ncs/admin(config)# exitncs/admin# exitTo obtain a listing of commands in EXEC mode, enter a question mark (?):ncs/admin# ? Command Reference Guide for Cisco Prime Infrastructure, Release 1.222 OL-27654-01Using the Command-Line InterfaceEXEC ModeConfiguration ModeUse configuration mode to make changes to the existing configuration. When you save the configuration,these commands remain across Cisco Prime Infrastructure server reboots, but only if you run either of thesecommands: copy running-config startup-config write memoryTo enter configuration mode, run the configure or configure terminal (conf t) command in EXEC mode.When in configuration mode, the Cisco Prime Infrastructure expects configuration commands.For example:ncs/admin# configureEnter configuration commands, one per line. End with CNTL-Z.ncs/admin(config)# (configuration mode)From this level, you can enter commands directly into the Cisco Prime Infrastructure configuration. To obtaina listing of commands in this mode, enter a question mark (?):ncs/admin(config)# ?The configuration mode has several configuration submodes. Each of these submodes places you deeper inthe prompt hierarchy. When you enter exit, the Cisco Prime Infrastructure backs you out one level and returnsyou to the previous level. When you enter exit again, the Cisco Prime Infrastructure backs you out to theEXEC level.In configuration mode, you can alternatively enter Ctrl-z instead of the end or exit command. NoteCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 23Using the Command-Line InterfaceConfiguration ModeConfiguration SubmodesIn the configuration submodes, you can enter commands for specific configurations. For example:ncs/admin# config tncs/admin(config)# interface GigabitEthernet 0ncs/admin(config-GigabitEthernet)#To obtain a list of commands in this mode, enter a question mark (?):ncs/admin(config-GigabitEthernet)# ?Use the exit or end command to exit this prompt and return to the configuration prompt.The below table lists the commands in the interface GigabitEthernet 0 configuration submode. Otherconfiguration submodes exist including those specific to the kron, repository, and password policy commands. Command Reference Guide for Cisco Prime Infrastructure, Release 1.224 OL-27654-01Using the Command-Line InterfaceConfiguration SubmodesTable 9: Command Options in the Interface GigabitEthernet 0 Configuration Submode (continued) (continued)CommentEnter the command that you want to configure forthe interface. This example uses the interfaceGigabitEthernet command.Enter ? to display what you must enter next on thecommand line. This example shows the availableinterface GigabitEthernet configuration submodecommands.ncs/admin(config)# interface GigabitEthernet0ncs/admin(config-GigabitEthernet)# ?Configure ethernet interface:do EXEC commandend Exit from configure modeexit Exit from this submodeip Configure IP featuresipv6 Configure IPv6 featuresno Negate a command or set itsdefaultsshutdown Shutdown the interfacencs/admin(config-GigabitEthernet)#Enter the command that you want to configure forthe interface. This example uses the ip command.Enter ? to display what you must enter next on thecommand line. This example shows the available ipconfiguration submode commands.ncs/admin(config-GigabitEthernet)# ip ?address Configure IP addressncs/admin(config-GigabitEthernet)# ipEnter the command that you want to configure forthe interface. This example uses the ip addressscommand.Enter ? to display what you must enter next on thecommand line. In this example, you must enter anIPv4 address.A carriage return does not appear; therefore,you must enter additional arguments to complete thecommand.ncs/admin(config-GigabitEthernet)# ip address? IPv4 addressncs/admin(config-GigabitEthernet) ip addressEnter the keyword or argument that you want to use.This example uses the 172.16.0.1 IP address.Enter ? to display what you must enter next on thecommand line. In this example, you must enter anetwork mask.A carriage return does not display; therefore,you must enter additional arguments to complete thecommand.ncs/admin(config-GigabitEthernet)# ip address172.16.0.1 ? Network maskncs/admin(config-GigabitEthernet)# ip address172.16.0.1Enter the network mask. This example uses the255.255.255.224 IP address.Enter ? to display what you must enter next on thecommand line. In this example, you can press Enter.A carriage return displays; you can press Enterto complete the command.ncs/admin(config-GigabitEthernet)# ip address172.16.0.1 255.255.255.224 ? Carriage Returnncs/admin(config-GigabitEthernet)# ip address172.16.0.1 255.255.255.224Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 25Using the Command-Line InterfaceConfiguration SubmodesNavigating the CLI CommandsThis section describes howto navigate the commands and modes on the Cisco Prime Infrastructureand containsthe following topics: Getting Help Using the No and Default Forms of Commands Command Line Conventions Command Reference Guide for Cisco Prime Infrastructure, Release 1.226 OL-27654-01Using the Command-Line InterfaceNavigating the CLI CommandsGetting HelpUse the question mark (?) and the arrow keys to help you enter commands: For a list of available commands, enter a question mark (?):ncs/admin# ? To complete a command, enter a few known characters before ? (with no space):ncs/admin# s? To display keywords and arguments for a command, enter ? at the prompt or after entering part of acommand followed by a space:ncs/admin# show ?The Cisco NCS displays a list and brief description of available keywords and arguments.The symbol in command help stands for carriage return, which means to pressthe Return or the Enter key). The at the end of command help output indicatesthat you have the option to press Enter to complete the command and that the argumentsand keywords in the list preceding the symbol are optional. The symbol byitself indicates that no more arguments or keywords are available, and that you mustpress Enter to complete the command.Note To redisplay a command that you previously entered, press the Up Arrow key. Continue to press theUp Arrow key to see more commands.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 27Using the Command-Line InterfaceGetting HelpUsing the No and Default Forms of CommandsSome EXEC or configuration commands have a no form. In general, use the no form to disable a function.Use the command without the no keyword to re-enable a disabled function or to enable a function disabledby default; for example, an IP address enabled by default. To disable the IP address, use the no ip addresscommand; to re-enable the IP address, use the ip address command.Configuration commands can also have a default form, which returns the command settings to the defaultvalues. Most commands disable by default, so in such cases using the default form has the same result asusing the no form of the command. However, some commands are enabled by default and have variables setto certain default values. In these cases, the default form of the command enables the command and sets thevariables to their default values.See Appendix A, Cisco Prime Infrastructure Command Reference for a description of the complete syntaxof the configuration commands, and the no and default forms of a command. Command Reference Guide for Cisco Prime Infrastructure, Release 1.228 OL-27654-01Using the Command-Line InterfaceUsing the No and Default Forms of CommandsCommand Line ConventionsThis section contains some basic command-line convention and operation information that is essential to theuse of this guide. This section contains the following topics: Command Line Editing Key Conventions Command Line Completion Continuing Output at the --More-- PromptCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 29Using the Command-Line InterfaceCommand Line ConventionsCommand Line Editing Key ConventionsThe Cisco Prime Infrastructure provides a number of keyboard shortcuts that you can use to edit an enteredline.TabPress Tab to try to finish the current command.If you press the Tab key: At the beginning of a line, the system lists all the short-form options. When you enter a partial command, the system lists all the short form options beginning with thosecharacters. When only one possible option is available, the system fills in the option automatically.Ctrl-cPress Ctrl-c to abort the sequence. Pressing this key sequence breaks out of any executing command andreturns to the previous mode.Ctrl-zPress Ctrl-z to exit configuration mode and return to previous configuration mode.?Enter a question mark (?) at the prompt to list the available commands. Command Reference Guide for Cisco Prime Infrastructure, Release 1.230 OL-27654-01Using the Command-Line InterfaceCommand Line ConventionsCommand Line CompletionCommand-line completion makes the Cisco Prime Infrastructure CLI more user-friendly. It saves you extrakey strokes and helps out when you cannot remember the syntax of a command.For example, for the show running-config command:ncs/admin# show running-configYou can:ncs/admin# sh runThe Cisco Prime Infrastructure expands the command sh run to show running-config.Another shortcut is to press the Tab key after you type sh; the Cisco Prime Infrastructure CLI fills in the restof the command, in this case show.If the Cisco Prime Infrastructure CLI does not understand a command, it repeats the entire command line andplaces a caret symbol (^) under the point at which it is unable to parse the command.For example:ncs/admin# show unning-configuration^% Invalid input detected at ^marker.The caret symbol (^) points to the first letter in the command line that the Cisco Prime Infrastructure does notunderstand. Usually, this means that you need to provide additional arguments to complete the command oryou mispelled the command. In this case, you omitted the r in the unning command. To fix the error, retypethe command.In another form of command-line completion, you can start a command by entering the first few characters,then pressing the Tab key. As long as you can match one command, the Cisco Prime Infrastructure CLI willcomplete the command. For example, if you type sh and press Tab, the Cisco Prime Infrastructure completesthe sh with show. If NCS does not complete the command, you can enter a few more letters and press Tabagain. For more information, see Tab.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 31Using the Command-Line InterfaceCommand Line ConventionsContinuing Output at the --More-- PromptWhen working with the Cisco Prime Infrastructure CLI, output often extends beyond the visible screen length.For cases where output continues beyond the bottom of the screen, such as with the output of many ? or showcommands, the output pauses and a --More-- prompt appears at the bottom of the screen. To resume output,press Return to scroll down one line, or press the spacebar to display the next full screen of output.Tip If the output pauses on your screen but you do not see the --More-- prompt, try entering a smallervalue for the screen length by using the terminal length EXEC command. Command output will notpause if you set the length value to zero (0).TipWhere to Go NextNow that you are familiar with some of the Cisco Prime Infrastructure CLI basics, you can begin to configurethe Cisco Prime Infrastructure by using the CLI.Remember that: You can use the question mark (?) and arrow keys to help you enter commands. Each command mode restricts you to a set of commands. If you have difficulty entering a command,check the prompt and then enter the question mark (?) to see a list of available commands. To disable a feature, enter the keyword no before the command; for example, no ip address. You must save your configuration changes so that you preserve them during a system reload or poweroutage.Proceed to Appendix A, "Cisco Prime Infrastructure" Command Reference" for command listings, descriptions,syntax, usage guidelines, and sample output. Command Reference Guide for Cisco Prime Infrastructure, Release 1.232 OL-27654-01Using the Command-Line InterfaceWhere to Go NextCommand ReferenceThis appendix contains necessary information on disk space management for all types of Cisco PrimeInfrastructure deployments and an alphabetical listing of the commands specific to the Cisco PrimeInfrastructure. The commands comprise the following modes: EXECSystem-levelShow Configurationconfiguration submodeUse EXEC mode system-level config or configure command to access configuration mode.Each of the commands in this appendix is followed by a brief description of its use, command syntax, usageguidelines, and one or more examples. Throughout this appendix, the Cisco Prime Infrastructure server usesthe name ncs in place of the Cisco Prime Infrastructure servers hostname.If an error occurs in any command usage, use the debug command to determine the cause of the error. NoteThis section contains the following topics: Disk Space Management in Cisco Prime Infrastructure, page 33 EXEC Commands, page 37 show Commands, page 119 Configuration Commands, page 163Disk Space Management in Cisco Prime InfrastructureThis section provides information on disk space in the Cisco Prime Infrastructure appliances for all types ofdeployments. Each of the Cisco Prime Infrastructure appliances has different amount of disk space, andmanaging that disk space is important to enable you to use the Cisco Prime Infrastructure efficiently.Command Reference Guide for Cisco Prime Infrastructure, Release 1.2OL-27654-01 33Before proceeding to use the Cisco Prime Infrastructure CLI commands, familiarize yourself with disk spacemanagement in the Cisco Prime Infrastructure appliances. You can deploy the Cisco Prime Infrastructure onappliances with small, medium and large form factors and VMware. Table 10: Cisco Prime InfrastructureAppliances Configuration provides information on Cisco Prime Infrastructure appliances on all the formfactors and the available disk space that you need to manage the Cisco Prime Infrastructure.Table 10: Cisco Prime Infrastructure Appliances ConfigurationHard Disk Configuration Cisco Prime InfrastructureAppliancesAppliance Form Factor2 x 250GB SATA HDD. - Small2 x 300 GB SAS RAID HDD. - Medium4 x 300 GB SAS RAID HDD. - Large30GB NCS-DEMO-10 (to run aDemo/Evaluation)VMware60GB L-NCS-1.0-K9 (to run the PxPproduction image)200GB L-NCS-1.0-K9 (to run M&Tproduction image)Table 11: Disk Space on /var Partition lists the disk space that you may use on the /var partition that has atotal of 6 GB of disk space. You may use 308 MB of the 6 GB of disk space for the operating system and theCisco ADE OS 2.0 log files. You can then use the remaining 5.7 GB of disk space for a medium and largetype deployment.Table 11: Disk Space on /var PartitionVMware VMware VMware Mediumand LargeSmall Files Process- - - 258MB - System Linux OS- - - 50MB - /var/log/ade/ADE.log Cisco ADEOS 2.0All the files that you create in the Cisco Prime Infrastructure reside in the /opt partition. You must managethe disk space for the files that you create in the /opt partition so that the files increase in size within the limitsthat do not have an impact on other files and services in the system.Table 12: Disk Space on /opt Partition lists the disk space that you may use on the /opt partition that has atotal of 410 GB of disk space. You may use 161 GB of disk space and the remaining of 249 GB for a mediumand large type deployment. The remaining 249 GB of disk space can be better utilized for the database growthafter you consider the disk space required for backup, restore, and replication. Command Reference Guide for Cisco Prime Infrastructure, Release 1.234 OL-27654-01Command ReferenceDisk Space Management in Cisco Prime InfrastructureTable 12: Disk Space on /opt PartitionVMware VMware VMware MediumandLargeSmall Files Process7.5 GB Application product files (includesOracle, Tomcat, and TimesTen)CSCOcpm31 GB /opt/oracle/base/oradata/cpm10/cpm01.dbf PxPDatabase120 GB opt/oracle/base/oradata/cpm10/mnt01.dbf MnTDatabase100 GB opt/oracle/base/product/11.2.0/dbhome_1/dbs/datfttuser.dbfTimesTenUser CacheDatabase50 MB30 MB104 MB770 MB160 MB580 MB5 MB 9MBRedo Logs (redo01.log, redo02.logand redo03.log)Built-in databases:temp01.dbf example01.dbfsystem01.dbf undotbs01.dbfsysaux01.dbf users01.dbf control01.ctlOracleRDBMSSystem55 MB /opt/CSCOcpm/logs/monit.log Monit200 MB /opt/CSCOcpm/logs/cpm-psc.log*.* CPM PSCLog200 MB /opt/CSCOcpm/logs/cpm-psc.log*.* CPM PrRTLog200 MB /opt/CSCOcpm/profiler/logs/profiler.log* CPMProfilerLog20 MB /opt/CSCOcpm/logs/mnt-collector.out MnTCollectorLog100 MB /opt/CSCOcpm/logs/mnt-decap.out MnTDecapLogCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 35Command ReferenceDisk Space Management in Cisco Prime InfrastructureVMware VMware VMware MediumandLargeSmall Files Process100 MB /opt/CSCOcpm/provisioning CPMClientProvisioningagentbinaries100 MB /opt/CSCOcpm/appsrv/apache-tomcat-6.0.18/logs/* Tomcat/opt/CSCOcpm/logs/prrt.log PrRT AuditLoggerCPMDatabaseBackup andRestoreTasksCPMReplicationStreamsQueues andStagingAreasMnTHistoricalDataFor detailed information on logging into the Cisco Prime Infrastructure, refer to the Cisco Prime NetworkControl System Configuration Guide, Release 1.0.This appendix contains the following sections: EXEC Commands show Commands Configuration Commands Command Reference Guide for Cisco Prime Infrastructure, Release 1.236 OL-27654-01Command ReferenceDisk Space Management in Cisco Prime InfrastructureEXEC CommandsThis section lists each EXEC command and each command page includes a brief description of its use,command syntax, any command defaults, command modes, usage guidelines, and an example of the commandand any related commands. This section contains the following list of commands:Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 37Command ReferenceEXEC Commandsapplication installYou are not allowed to run the application install command fromthe CLI under normal operations becausethe Cisco Prime Infrastructure application is preinstalled with a Cisco IOS image on all supported appliancesand VMware.NoteTo install a specific application other than the Cisco Prime Infrastructure, use the application install commandin EXEC mode. To remove this function, use the application remove command.application install application-bundle remote-repository-nameSyntax DescriptionApplication bundle filename. Up to 255 alphanumeric characters. application-bundleRemote repository name. Up to 255 alphanumeric characters. remote-repository-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Installs the specified application bundle on the appliance. The application bundle file is pulled from thespecified repository.If you enter the application install or application remove command when another installation or removaloperation of an application is in progress, you will see the following warning message:An existing application install, remove, or upgrade is in progress. Try again shortly.Examplesncs/admin# application install ncs-appbundle-1.0.2.054.i386.tar.gz myrepositoryDo you want to save the current configuration ? (yes/no) [yes] ? yPlease enter yes or noDo you want to save the current configuration ? (yes/no) [yes] ? yesGenerating configuration...Saved the running configuration to startup successfullyInitiating Application installation...Extracting NCS database content...Starting NCS database processes...Restarting NCS database processes...Creating NCS M&T session directory...Performing NCS database priming...Application successfully installedncs/admin# application install ncs-appbundle-1.0.2.054.i386.tar.gz myrepositoryDo you want to save the current configuration ? (yes/no) [yes] ? noInitiating Application installation...Extracting NCS database content...Starting NCS database processes... Command Reference Guide for Cisco Prime Infrastructure, Release 1.238 OL-27654-01Command Referenceapplication installRestarting NCSdatabase processes...Creating NCS M&T session directory...Performing NCS database priming...Application successfully installedRelated CommandsDescription CommandRemoves or uninstalls an application. application removeStarts or enables an application. application startStops or disables an application. application stopUpgrades an application bundle. application upgradeShows application information for the installed application packages onthe system.show applicationCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 39Command Referenceapplication installapplication removeYou are not allowed to run the application remove command from the CLI to remove the Cisco PrimeInfrastructure application unless you are explicitly instructed to do so for an upgrade.NoteTo remove a specific application other than the Cisco Prime Infrastructure, use the application removecommand in EXEC mode. To remove this function, use the no form of this command.application remove application-nameno application remove application-nameSyntax DescriptionApplication name. Up to 255 alphanumeric characters. application-nameCommand Default No default behavior or values.Command Modes EXEC mode.Usage Guidelines Removes or uninstalls an application.Examplesncs/admin# application remove ncsContinue with application removal? [y/n] yApplication successfully uninstalledncs/admin#Related CommandsDescription CommandInstalls an application bundle. application installStarts or enables an application. application startStops or disables an application. application stopUpgrades an application bundle. application upgradeShows application information for the installed application packages onthe system.show application Command Reference Guide for Cisco Prime Infrastructure, Release 1.240 OL-27654-01Command Referenceapplication removeapplication reset-configThis command is not currently supported by Prime Infrastructure. NoteTo reset an application configuration to factory defaults, use the application reset-config command in EXECmode.application reset-config application-nameSyntax DescriptionName of the application to reset its configuration to factory defaults. Up to255 alphanumeric characters.application-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines You can use the application reset-config command to reset the Cisco Prime Infrastructure configuration tofactory defaults without reimaging the Cisco Prime Infrastructure appliance or VMware.Examplesncs/admin# application reset-config ncsInitialize your identity policy database to factory defaults? (y/n): yReinitializing local policy database to factory default state...Stopping NCS Monitoring & Troubleshooting Log Processor...Stopping NCS Monitoring & Troubleshooting Log Collector...Stopping NCS Monitoring & Troubleshooting Alert Process...Stopping NCS Application Server...Stopping NCS Monitoring & Troubleshooting Session Database...Stopping NCS Database processes...Extracting NCS database content...Starting NCS database processes...Restarting NCS database processes...Creating NCS M&T session directory...Performing NCS database priming...Application successfully reset configurationncs/admin# application reset-config ncsInitialize your identity policy database to factory defaults? (y/n): nExisting policy database will be retained.Application successfully reset configurationncs/admin#Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 41Command Referenceapplication reset-configapplication startTo enable a specific application, use the application start command in EXECmode. To remove this function,use the no form of this command.application start application-nameSyntax DescriptionName of the predefined application that you want to enable. Up to255 alphanumeric characters.application-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Enables an application.You cannot use this command to start the Cisco Prime Infrastructure application. If you use this command tostart the application, you can see that the Cisco Prime Infrastructure is already running.Examplesncs/admin# application start NCSNCS Database processes is already running, PID: 7585NCS M&T Session Database is already running, PID: 7851NCS Application Server process is already running, PID: 7935NCS M&T Log Collector is already running, PID: 7955NCS M&T Log Processor is already running, PID: 8005NCS M&T Alert Processor is already running, PID: 8046ncs/admin#Related CommandsDescription CommandInstalls an application bundle. application installRemoves or uninstalls an application. application removeStops or disables an application. application stopUpgrades an application bundle. application upgradeShows application information for the installed application packages onthe system.show application Command Reference Guide for Cisco Prime Infrastructure, Release 1.242 OL-27654-01Command Referenceapplication startapplication stopTo disable a specific application, use the application stop command in EXECmode. To remove this function,use the no form of this command.application stop application-nameSyntax DescriptionName of the predefined application that you want to disable. Up to 255alphanumeric characters.application-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Disables an application.Examplesncs/admin# application stop NCSStopping NCS Monitoring & Troubleshooting Log Processor...Stopping NCS Monitoring & Troubleshooting Log Collector...Stopping NCS Monitoring & Troubleshooting Alert Process...Stopping NCS Application Server...Stopping NCS Monitoring & Troubleshooting Session Database...Stopping NCS Database processes...ncs/admin#Related CommandsDescriptionInstalls an application bundle. application installRemoves or uninstalls an application. application removeStarts or enables an application. application startUpgrades an application bundle. application upgradeShows application information for the installed application packages onthe system.show applicationCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 43Command Referenceapplication stopapplication upgradeTo upgrade a specific application bundle, use the application upgrade command in EXEC mode. To removethis function, use the application remove command.application upgrade application-bundle remote-repository-nameSyntax DescriptionApplication name. Up to 255 alphanumeric characters.Enter the application name as NCS in uppercase.Noteapplication-bundleRemote repository name. Up to 255 alphanumeric characters. remote-repository-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Upgrades an application bundle, and preserves any application configuration data.If you enter the application upgrade command when another application upgrade operation is in progress,you will see the following warning message:An existing application install, remove, or upgrade is in progress. Try again shortly.Do not enter the backup or restore commands when the upgrade is in progress. This action might causethe database to be corrupted.CautionExamplesncs/admin# application upgrade NCS-appbundle-1.0.2.054.i386.tar.gz myremoterepositoryDo you want to save the current configuration ? (yes/no) [yes] ? yesGenerating configuration...Saved the running configuration to startup successfullyInitiating Application Upgrade...ncs/admin#ncs/admin# application upgrade NCS-appbundle-1.0.2.054.i386.tar.gz myremoterepositoryDo you want to save the current configuration ? (yes/no) [yes] ? noInitiating Application Upgrade...ncs/admin#Related CommandsDescription CommandInstalls an application bundle. application install Command Reference Guide for Cisco Prime Infrastructure, Release 1.244 OL-27654-01Command Referenceapplication upgradeDescription CommandRemoves or uninstalls an application. application removeStarts or enables an application. application startStops or disables an application. application stopShows application information for the installed application packages onthe system.show applicationCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 45Command Referenceapplication upgradebackupTo perform a backup (including the Cisco Prime Infrastructure and Cisco ADE OS data) and place the backupin a repository, use the backup command in EXEC mode. To perform a backup of only the Cisco PrimeInfrastructure application data without the Cisco ADE OS data, use the application command.backup backup-namerepository repository-nameapplicationapplication-nameSyntax DescriptionName of backup file. Up to 100 alphanumeric characters. backup-nameLocation where the files should be backed up to. Up to 80 alphanumeric characters. repository-nameApplication name. Up to 255 alphanumeric characters.Enter the application name as NCS in uppercase.Noteapplication-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Performs a backup of the Cisco Prime Infrastructure and Cisco ADE OS data and places the backup in arepository.To perform a backup of only the Cisco Prime Infrastructure application data without the Cisco ADE OS data,use the application command.Examplesncs/admin# backup mybackup repository myrepository% Creating backup with timestamped filename: mybackup-100805-1222.tar.gpgncs/admin#ncs/admin# backup mybackup repository myrepository application NCS% Creating backup with timestamped filename: mybackup-100805-1240.tar.gpgncs/admin#Related CommandsDescription CommandBacks up system logs. backup-logsDeletes a file from the Cisco Prime Infrastructure server. deleteLists a file from the Cisco Prime Infrastructure server. dirReboots the system. reload Command Reference Guide for Cisco Prime Infrastructure, Release 1.246 OL-27654-01Command ReferencebackupDescription CommandEnters the repository submode for configuration of backups. repositoryRestores from backup the file contents of a specific repository. restoreDisplays the backup history of the system. show backup historyDisplays the available backup files located on a specific repository. show repositoryCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 47Command Referencebackupbackup-logsTo back up system logs, use the backup-logs command in EXEC mode. To remove this function, use the noform of this command.backup-logs backup-name repositoryrepository-nameSyntax DescriptionName of one or more files to back up. Up to 100 alphanumeric characters. backup-nameLocation where files should be backed up to. Up to 80 alphanumeric characters. repository-nameCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Backs up system logs.Examplesncs/admin# backup-logs mybackup repository myrepository% Creating log backup with timestamped filename: mybackup-100805-1754.tar.gzncs/admin#Related CommandsDescription CommandPerforms a backup (Cisco Prime Infrastructure and Cisco ADE OS) andplaces the backup in a repository.backupRestores from backup the file contents of a specific repository. restoreEnters the repository submode for configuration of backups. repositoryShows the backup history of the system. show backup historyShows the available backup files located on a specific repository. show repository Command Reference Guide for Cisco Prime Infrastructure, Release 1.248 OL-27654-01Command Referencebackup-logsclockTo set the system clock, use the clock command in EXEC mode. To remove this function, use the no formof this command.clock set [month day hh:min:ss yyyy]Syntax DescriptionCurrent month of the year by name. Up to three alphabetic characters. For example,Jan for January.monthCurrent day (by date) of the month. Value = 0 to 31. Up to two numbers. dayCurrent time in hours (24-hour format), minutes, and seconds. hh:mm:ssCurrent year (no abbreviation). yyyyCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Sets the system clock. You must restart the Cisco Prime Infrastructure server after you reset the clock for thechange to take effect.Examplesncs/admin# clock set May 5 18:07:20 2010ncs/admin# show clockThu May 5 18:07:26 UTC 2010ncs/admin#Related CommandsDescription CommandDisplays the time and date set on the system software clock. show clockCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 49Command ReferenceclockconfigureTo enter configuration mode, use the configure command in EXEC mode. If the replace option is used withthis command, copies a remote configuration to the system which overwrites the existing configuration.configure terminalSyntax DescriptionExecutes configuration commands from the terminal. terminalCommand Default No default behavior or values.Command Modes EXECUsage Guidelines Use this command to enter configuration mode. Note that commands in this mode write to the runningconfiguration file as soon as you enter them (press Enter).To exit configuration mode and return to EXEC mode, enter end, exit, or Ctrl-z.To view the changes that you have made to the configuration, use the show running-config command inEXEC mode.Examplesncs/admin# configureEnter configuration commands, one per line. End with CNTL/Z.ncs/admin(config)#ncs/admin# configure terminalEnter configuration commands, one per line. End with CNTL/Z.ncs/admin(config)#Related CommandsDescription CommandDisplays the contents of the currently running configuration file or theconfiguration.show running-configDisplays the contents of the startup configuration file or the configuration. show startup-config Command Reference Guide for Cisco Prime Infrastructure, Release 1.250 OL-27654-01Command ReferenceconfigurecopyTo copy any file from a source to a destination, use the copy command in EXEC mode. The copy commandin the Cisco Prime Infrastructure copies a configuration (running or startup).Running ConfigurationThe Cisco Prime Infrastructure active configuration stores itself in the Cisco Prime Infrastructure RAM. Everyconfiguration command you enter resides in the running configuration. If you reboot your Cisco PrimeInfrastructure server, you lose the running configuration. If you make changes that you want to save, youmust copy the running configuration to a safe location, such as a network server, or save it as the Cisco PrimeInfrastructure server startup configuration.Startup ConfigurationYou cannot edit a startup configuration directly. All commands that you enter store themselves in the runningconfiguration, which you can copy into the startup configuration.In other words, when you boot a Cisco Prime Infrastructure server, the startup configuration becomes theinitial running configuration. As you modify the configuration, the two diverge: the startup configurationremains the same; the running configuration reflects the changes that you have made. If you want to makeyour changes permanent, you must save the running configuration to the startup configuration using the writememorycommand. The write memorycommand makes the current running configuration permanent.If you do not save the running configuration, you will lose all your configuration changes during the nextreboot of the Cisco Prime Infrastructure server. You can also save a copy of the running and startupconfigurations using the following commands, to recover in case of loss of configuration:copy startup-config [location]copy running-config[location]NoteThe copy command is supported only for the local disk and not for a repository. NoteSyntax DescriptionRepresents the current running configuration file. running-configRepresents the configuration file used during initialization (startup). startup-configSee Table 13: Protocol Prefix Keywords for protocol keyword options. protocolHostname of destination. hostnameLocation of disk:/. locationThe system log files. logsCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 51Command ReferencecopyCopies all Cisco Prime Infrastructure log files fromthe systemto another location.All logs are packaged as ncslogs.tar.gz and transferred to the specified directoryon the remote host.allAllows you to copy a single Cisco Prime Infrastructure log file and transfer it tothe specified directory on the remote host, with its original name.filenameName of the Cisco Prime Infrastructure log file, as displayed by the show logscommand (up to 255 characters).log_filenameCopies the Cisco Prime Infrastructure management debug logs and Tomcat logsfrom the system, bundles them as mgmtlogs.tar.gz, and transfers them to thespecified directory on the remote host.mgmtCopies the Cisco Prime Infrastructure runtime debug logs fromthe system, bundlesthem as runtimelogs.tar.gz, and transfers them to the specified directory on theremote host.runtimeCommand Default No default behavior or values.Command Modes EXECUsage Guidelines The fundamental function of the copy command allows you to copy a file (such as a system image orconfiguration file) from one location to another location. The source and destination for the file specified usesthe Cisco Prime Infrastructure file system, through which you can specify any supported local or remote filelocation. The file system being used (a local memory source or a remote system) dictates the syntax used inthe command.You can enter on the command line all the necessary source and destination information and the usernameand password to use; or, you can enter the copy command and have the server prompt you for any missinginformation. You can enter up to a maximum of 2048 characters of source and destination URL informationon the command line.Aliases reduce the amount of typing that you need to do. For example, type copy run start (the abbreviatedform of the copy running-config startup-config command).TipThe entire copying process might take several minutes and differs fromprotocol to protocol and fromnetworkto network.Use the filename relative to the directory for file transfers.Possible error is the standard FTP error message. Command Reference Guide for Cisco Prime Infrastructure, Release 1.252 OL-27654-01Command ReferencecopyTable 13: Protocol Prefix KeywordsSource of Destination KeywordSource or destination URL for FTP network server. The syntax for this alias:ftp:[[//location]/directory]/filenameftpSource or destination URL for an SFTP network server. The syntax for this alias:sftp:[[//location]/directory]/filenamesftpSource or destination URL for a TFTP network server. The syntax for this alias:tftp:[[//location]/directory]/filenametftpExamplesncs/admin# copy run startGenerating configuration...ncs/admin#ncs/admin# copy running-config startup-configGenerating configuration...ncs/admin#ncs/admin# copy start runncs/admin#ncs/admin# copy startup-config running-configncs/admin#ncs/admin# copy logs disk:/Collecting logs...ncs/admin#ncs/admin# copy disk:/mydesktop-100805-1910.tar.gz ftp://myftpserver/mydirUsername:Password:ncs/admin#Related CommandsDescription CommandStarts or stops a Cisco Prime Infrastructure instance. application installPerforms a backup (Cisco Prime Infrastructure and Cisco ADE OS) andplaces the backup in a repository.backupDeletes a file from the Cisco Prime Infrastructure server. deleteLists a file from the Cisco Prime Infrastructure server. dirReboots the system. reloadRestores from backup the file contents of a specific repository. restoreShows application status and version information. show applicationCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 53Command ReferencecopyDescription CommandDisplays information about the software version of the system. show version Command Reference Guide for Cisco Prime Infrastructure, Release 1.254 OL-27654-01Command ReferencecopydebugTo display errors or events for command situations, use the debug command in EXEC mode.debug{all | application | backup-restore | cdp | config | icmp | copy | locks | logging | snmp | system |transfer | user | utils}Syntax DescriptionEnables all debugging. allApplication files. allEnables all application debug output. Set level between 0 and 7, with0 being severe and 7 being all. installEnables application install debug output. Set level between 0 and7, with 0 being severe and 7 being all. operationEnables application operation debug output. Set level between0 and 7, with 0 being severe and 7 being all. uninstallEnables application uninstall debug output. Set level between0 and 7, with 0 being severe and 7 being all.applicationBacks up and restores files. allEnables all debug output for backup-restore. Set level between 0 and7, with 0 being severe and 7 being all. backupEnables backup debug output for backup-restore. Set level between0 and 7, with 0 being severe and 7 being all. backup-logsEnables backup-logs debug output for backup-restore. Setlevel between 0 and 7, with 0 being severe and 7 being all. historyEnables history debug output for backup-restore. Set level between0 and 7, with 0 being severe and 7 being all. restoreEnables restore debug output for backup-restore. Set level between0 and 7, with 0 being severe and 7 being all.backup-restoreCisco Discovery Protocol configuration files. allEnables all Cisco Discovery Protocol configuration debug output. Setlevel between 0 and 7, with 0 being severe and 7 being all. configEnables configuration debug output for Cisco Discovery Protocol.Set level between 0 and 7, with 0 being severe and 7 being all. infraEnables infrastructure debug output for Cisco Discovery Protocol.Set level between 0 and 7, with 0 being severe and 7 being all.cdpCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 55Command ReferencedebugConfiguration files. allEnables all configuration debug output. Set level between 0 and 7,with 0 being severe and 7 being all. backupEnables backup configuration debug output. Set level between 0and 7, with 0 being severe and 7 being all. clockEnables clock configuration debug output. Set level between 0 and7, with 0 being severe and 7 being all. infraEnables configuration infrastructure debug output. Set level between0 and 7, with 0 being severe and 7 being all. kronEnables command scheduler configuration debug output. Set levelbetween 0 and 7, with 0 being severe and 7 being all. networkEnables network configuration debug output. Set level between0 and 7, with 0 being severe and 7 being all. repositoryEnables repository configuration debug output. Set levelbetween 0 and 7, with 0 being severe and 7 being all. serviceEnables service configuration debug output. Set level between 0and 7, with 0 being severe and 7 being all.configInternet Control Message Protocol (ICMP) echo response configuration.allEnable all debug output for ICMP echo response configuration. Set levelbetween 0 and 7, with 0 being severe and 7 being all.icmpCopy commands. Set level between 0 and 7, with 0 being severe and 7 being all. copyResource locking. allEnables all resource locking debug output. Set level between 0 and 7,with 0 being severe and 7 being all. fileEnables file locking debug output. Set level between 0 and 7, with 0being severe and 7 being all.locksLogging configuration files.allEnables all logging configuration debug output. Set level between 0 and 7,with 0 being severe and 7 being all.loggingSNMP configuration files.allEnables all SNMP configuration debug output. Set level between 0 and 7,with 0 being severe and 7 being all.snmp Command Reference Guide for Cisco Prime Infrastructure, Release 1.256 OL-27654-01Command ReferencedebugSystem files. allEnables all system files debug output. Set level between 0 and 7, with0 being severe and 7 being all. idEnables system ID debug output. Set level between 0 and 7, with 0being severe and 7 being all. infoEnables system info debug output. Set level between 0 and 7, with0 being severe and 7 being all. initEnables system init debug output. Set level between 0 and 7, with 0being severe and 7 being all.systemFile transfer. Set level between 0 and 7, with 0 being severe and 7 being all. transferUser management. allEnables all user management debug output. Set level between 0 and7, with 0 being severe and 7 being all. password-policyEnables user management debug output forpassword-policy. Set level between 0 and 7, with 0 being severe and 7 beingall.userUtilities configuration files.allEnables all utilities configuration debug output. Set level between 0 and 7,with 0 being severe and 7 being all.utilsCommand Default No default behavior or values.Command Modes EXEC mode.Usage Guidelines Use the debug command to identify various failures within the Cisco Prime Infrastructure server; for example,setup failures or configuration failures.Examplesncs/admin# debug allncs/admin# mkdir disk:/1ncs/admin# 6 [15347]: utils: vsh_root_stubs.c[2742] [admin]: mkdir operation successncs/admin# rmdir disk:/16 [15351]: utils: vsh_root_stubs.c[2601] [admin]: Invoked Remove Directory disk:/1 command6 [15351]: utils: vsh_root_stubs.c[2663] [admin]: Remove Directory operation successncs/admin#ncs/admin# undebug allncs/admin#Command Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 57Command ReferencedebugRelated CommandsDescription CommandDisables the output (display of errors or events) of the debug commandfor various command situations.undebug Command Reference Guide for Cisco Prime Infrastructure, Release 1.258 OL-27654-01Command ReferencedebugdeleteTo delete a file fromthe Cisco Prime Infrastructure server, use the delete command in EXECmode. To removethis function, use the no form of this command.delete filename [disk:/path]Syntax DescriptionFilename. Up to 80 alphanumeric characters. filenameLocation. disk:/pathCommand Default No default behavior or values.Command Modes EXEC mode.Usage Guidelines If you attempt to delete the configuration file or image, the system prompts you to confirm the deletion. Also,if you attempt to delete the last valid system image, the system prompts you to confirm the deletion.Examplesncs/admin# delete disk:/hs_err_pid19962.logncs/admin#Related CommandsDescription CommandLists all the files on the Cisco Prime Infrastructure server. dirCommand Reference Guide for Cisco Prime Infrastructure, Release 1.2 OL-27654-01 59Command ReferencedeletedirTo list a file from the Cisco Prime Infrastructure server, use the dir command in EXEC mode. To removethis function, use the no form of this command.dir [word][recursive]Syntax DescriptionDirectory name. Up to 80 alphanumeric characters. Requires disk:/ preceding thedirectory name.wordLists a local directory or filename recursively. recursiveCommand Default No default behavior or values.Command Modes EXEC mode.Usage Guidelines None.Examplesncs/admin# dirDirectory of disk:/2034113 Aug 05 2010 19:58:39 ADElogs.tar.gz4096 Jun 10 2010 02:34:03 activemq-data/4096 Aug 04 2010 23:14:53 logs/16384 Jun 09 2010 02:59:34 lost+found/2996022 Aug 05 2010 19:11:16 mybackup-100805-1910.tar.gz4096 Aug 04 2010 23:15:20 target/4096 Aug 05 2010 12:25:55 temp/Usage for disk: filesystem8076189696 bytes total used6371618816 bytes free15234142208 bytes availablencs/admin#ncs/admin# dir disk:/logs0 Aug 05 2010 11:53:52 usermgmt.logUsage for disk: filesystem8076189696 bytes total used6371618816 bytes free15234142208 bytes availablencs/admin#ncs/admin# dir recursiveDirectory of disk:/2034113 Aug 05 2010 19:58:39 ADElogs.tar.gz2996022 Aug 05 2010 19:11:16 mybackup-100805-1910.tar.gz Command Reference Guide for Cisco Prime Infrastructure, Release 1.260 OL-27654-01Command Referencedir4096 Aug 04 2010 23:14:53 logs/4096 Aug 05 2010 12:25:55 temp/4096 Jun 10 2010 02:34:03 activemq-data/4096 Aug 04 2010 23:15:20 target/16384 Jun 09 2010 02:59:34 lost+found/Directory of disk:/logs0 Aug 05 2010 11:53:52 usermgmt.logDirectory of disk:/temp281 Aug 05 2010 19:12:45 RoleBundles.xml6631 Aug 05 2010 19:12:34 PipDetails.xml69 Aug 05 2010 19:12:45 GroupRoles.xml231 Aug 05 2010 19:12:34 ApplicationGroupTypes.xml544145 Aug 05 2010 19:12:35 ResourceTypes.xml45231 Aug 05 2010 19:12:45 UserTypes.xml715 Aug 05 2010 19:12:34 ApplicationGroups.xml261 Aug 05 2010 19:12:34 ApplicationTypes.xml1010 Aug 05 2010 19:12:34 Pdps.xml1043657 Aug 05 2010 19:12:44 Groups.xml281003 Aug 05 2010 19:12:38 Resources.xml69 Aug 05 2010 19:12:45 GroupUsers.xml2662 Aug 05 2010 19:12:44 RoleTypes.xml79 Aug 05 2010 19:12:34 UserStores.xml4032 Aug 05 2010 19:12:38 GroupTypes.xml1043 Aug 05 2010 19:12:34 Organization.xml58377 Aug 05 2010 19:12:46 UserRoles.xml300 Aug 05 2010 19:12:45 Contexts.xml958 Aug 05 2010 19:12:34 Applications.xml28010 Aug 05 2010 19:12:45 Roles.xml122761 Aug 05 2010 19:12:45 Users.xmlDirectory of disk:/activemq-data4096 Jun 10 2010 02:34:03 localhost/Directory of disk:/activemq-data/localhost0 Jun 10 2010 02:34:03 lock4096 Jun 10 2010 02:34:03 journal/4096 Jun 10 2010