Overview of the Cisco NCS Command-Line Interface

Similar documents
Cisco Prime Network Control System CLI Command Reference Guide

Command Reference Guide for Cisco Prime Infrastructure 3.2

Cisco ISE Command-Line Interface

Using the Cisco NCS Command-Line Interface

Cisco WAAS Software Command Summary

CCNA 1 Chapter 2 v5.0 Exam Answers %

Configuring the Cisco NAM 2220 Appliance

CCNA 1 Chapter 2 v5.0 Exam Answers 2013

Cisco Identity Services Engine CLI Reference Guide, Release 2.3

GSS Administration and Troubleshooting

Lab 7 Configuring Basic Router Settings with IOS CLI

WLM1200-RMTS User s Guide

Available Commands CHAPTER

Command-Line Interface Command Summary

Command-Line Interface Command Summary

User and System Administration

Configuring TACACS+ About TACACS+

Configuring Security with Passwords, Privileges, and Logins

Configuring the Management Interface and Security

CLI COMMAND SUMMARY BY MODE

MiPDF.COM. 3. Which procedure is used to access a Cisco 2960 switch when performing an initial configuration in a secure environment?

INDEX. Cisco Unity Express CLI Administrator Guide for Cisco CallManage, Release Cisco Unity Express Release 1.1

C H A P T E R Commands Cisco SFS Product Family Command Reference OL

Lab AAA Authorization and Accounting

User and System Administration

Cisco ISE CLI Commands in Configuration Mode

ExtraHop Command-line Reference

Chapter 10 - Configure ASA Basic Settings and Firewall using ASDM

IOS and Configuration Basics

Payload Types At Different OSI Layers: Layer 2 - Frame Layer 3 - Packet Layer 4 - Datagram

Getting Started. Getting Started with Your Platform Model. Factory Default Configurations CHAPTER

Configuring Security Features on an External AAA Server

Troubleshooting the Security Appliance

Numerics INDEX. 2.4-GHz WMIC, contrasted with 4.9-GHz WMIC g 3-6, x authentication 4-13

Troubleshooting. Testing Your Configuration CHAPTER

Chapter 10 Configure AnyConnect Remote Access SSL VPN Using ASDM

Laboration 2 Troubleshooting Switching and First-Hop Redundancy

Chapter 10 Configure Clientless Remote Access SSL VPNs Using ASDM

Lab Using the CLI to Gather Network Device Information Topology

1. Which OSI layers offers reliable, connection-oriented data communication services?

Chapter 10 Configure Clientless Remote Access SSL VPNs Using ASDM

Managing GSS Devices from the GUI

Viewing System Status, page 404. Backing Up and Restoring a Configuration, page 416. Managing Certificates for Authentication, page 418

Cisco ISE CLI Commands in Configuration Mode

Cisco ISE CLI Commands in EXEC Mode

Deploy the ExtraHop Discover Appliance 1100

Configuring Cisco Prime NAM

Platform Administration

Using the Command-Line Interface

Savvius Insight Initial Configuration

CHAPTER 2 ACTIVITY

Configure Dynamic Host Configuration Protocol (DHCP) Image Upgrade Settings on a Switch through the Command Line Interface (CLI)

Configuring Management Access

Configuring LDAP. Finding Feature Information

This document is a tutorial related to the Router Emulator which is available at:

Cisco Prime Network Services Controller 3.0 CLI Configuration Guide

Configuring TACACS+ Finding Feature Information. Prerequisites for TACACS+

Administration of Cisco WLC

Using Cisco IOS Software

NAM CLI Commands: show patches - web user

NAM CLI Commands: show password strong-policy - web user

System Management Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9400 Switches)

Configuring System Message Logging

Configuring TACACS+ Information About TACACS+ Send document comments to CHAPTER

Symbols INDEX. / (slash) 2-63? (question mark) 2-184

Troubleshooting. Troubleshooting Guidelines. System Reports

Cisco ISE CLI Commands in Configuration Mode

Managing GSS User Accounts Through a TACACS+ Server

Configuring Host Router and Cisco Analog Video Gateway Module Interfaces

Managing GSS User Accounts Through a TACACS+ Server

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

Wireless Access Points (Part 2)

Configure the Cisco DNA Center Appliance

Cisco Branch Routers Series Network Analysis Module (NME-NAM-120S) Installation and Configuration Note, 4.2

Installing or Upgrading ANM Virtual Appliance

Cisco Prime Network Analysis Module (Cisco Prime NAM) for Nexus 1110 Installation and Configuration Guide

Using the Cisco NX-OS Setup Utility

Symbols INDEX > 12-14

OSI Model with Protocols. Layer Name PDU Address Protocols Device

Platform Settings for Classic Devices

Configuring the Hostname, Domain Name, Passwords, and Other Basic Settings

System Configuration. The following topics explain how to configure system configuration settings on Firepower Management Centers and managed devices:

Skills Assessment Student Training Exam

Configuring NTP. Information About NTP. This chapter contains the following sections:

Maintaining the System Software

Cisco Configuration. Network Monitoring and Management

CCNA Semester 2 labs. Labs for chapters 2 10

Contents. Table of Contents

How to Configure a Cisco Router Behind a Non-Cisco Cable Modem

Role Configuration Mode Commands

Dr. Tom Hicks. Computer Science Department Trinity University

WhatsConfigured v3.1 User Guide

Lab Configuring and Verifying Extended ACLs Topology

Command Summary. User Exec Mode Commands APPENDIXD

Using the Command-Line Interface

Using Cisco Unified SIP Proxy Software

Configuring NTP. Information About NTP. This chapter contains the following sections:

VSB Backup and Recovery

ISE TACACS+ Configuration Guide for Cisco ASA. Secure Access How-to User Series

Cisco ISE CLI Commands in EXEC Mode

Transcription:

CHAPTER 1 Overview of the Cisco NCS -Line Interface This chapter provides an overview of how to access the Cisco Prime Network Control System (NCS) command-line interface (CLI), the different command modes, and the commands that are available in each mode. You can configure and monitor the Cisco NCS through the web interface. You can also use the CLI to perform the configuration and monitoring tasks described in this guide. The chapter contains the following sections: Accessing the Cisco NCS Environment, page 1-1 User Accounts and Modes in the Cisco NCS CLI, page 1-1 Modes in the Cisco NCS CLI, page 1-4 CLI Audit, page 1-9 Accessing the Cisco NCS Environment You can access the Cisco NCS CLI through a secure shell (SSH) client or the console port using one of the following machines: Windows PC running Windows XP/Vista Apple Computer running Mac OS X 10.4 or later PC running Linux For detailed information on accessing the CLI, see Chapter 2, Using the Cisco NCS -Line Interface. User Accounts and Modes in the Cisco NCS CLI Two different types of accounts are available on the Cisco NCS CLI: Admin (administrator) Operator (user) 1-1

User Accounts and Modes in the Cisco NCS CLI Chapter 1 Overview of the Cisco NCS -Line Interface When you power on the Cisco NCS appliance for the first time, you are prompted to run the setup utility to configure the appliances. During this setup process, an administrator user account, also known as an Admin account, is created. After you enter the initial configuration information, the appliance automatically reboots and prompts you to enter the username and the password that you specified for the Admin account. You must use this Admin account to log in to the Cisco NCS CLI for the first time. An Admin can create and manage Operator (user) accounts (which have limited privileges and access to the Cisco NCS server). An Admin account also provides the functionality that is needed to use the Cisco NCS CLI. To create more users (with admin and operator privileges) with SSH access to the Cisco NCS CLI, you must enter the username command in configuration mode (see Modes in the Cisco NCS CLI, page 1-4). Table 1-1 lists the command privileges for each type of user account: Admin and Operator (user). Table 1-1 Privileges User Account Operator Admin (User) application commands * backup * backup-logs * cdp run * clock * configure terminal * copy commands * debug * delete * dir * exit * * forceout * halt * mkdir * ncs * nslookup * * patch * patch install * patch remove * ping * * ping6 * * reload * repository * restore commands * 1-2

Chapter 1 Overview of the Cisco NCS -Line Interface User Accounts and Modes in the Cisco NCS CLI Table 1-1 Privileges (continued) User Account Operator Admin (User) rmdir * root * root_enable * show application * show backup * show cdp * * show clock * * show cpu * * show disks * * 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 * * tech * telnet * * 1-3

Modes in the Cisco NCS CLI Chapter 1 Overview of the Cisco NCS -Line Interface Table 1-1 Privileges (continued) terminal * * traceroute * * undebug * write * User Account Admin Operator (User) Logging in to the Cisco NCS 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 of operator (user) mode prompt; a pound sign (#) appears at the end of admin mode prompt, regardless of the submode. Modes in the Cisco NCS CLI The Cisco NCS supports the following command modes: EXEC Use the commands in this mode to perform system-level configuration. See EXEC s, page 1-4. In addition, refer to the commands in the EXEC mode that generate operational logs as listed in Table 1-6. Configuration Use the commands in this mode to perform configuration tasks in the Cisco NCS. See Configuration s, page 1-7. In addition, refer to the commands in configuration mode that generate operational logs as listed in Table 1-5. EXEC s EXEC or System-Level s EXEC commands primarily include system-level commands such as show and reload (for example, application installation, application start and stop, copy files and installations, restore backups, and display information). Table 1-2 describes the EXEC commands Table 1-3 describes the show commands in EXEC mode For detailed information on EXEC commands, see Understanding Modes, page 2-5. Table 1-2 describes EXEC mode commands. Table 1-2 Summary of EXEC s application install application remove Installs a specific application bundle. Removes a specific application. 1-4

Chapter 1 Overview of the Cisco NCS -Line Interface Modes in the Cisco NCS CLI Table 1-2 Summary of EXEC s (continued) application start application stop application upgrade backup backup-logs clock configure copy debug delete dir exit forceout halt help mkdir ncs nslookup patch ping ping6 reload restore rmdir root root_enable show ssh tech telnet terminal length terminal session-timeout terminal session-welcome Starts or enables a specific application. Stops or disables a specific application. Upgrades a specific application bundle. Performs a backup and places the backup in a repository. Performs a backup of all the logs on the Cisco NCS to a remote location. Sets the system clock on the Cisco NCS server. Enters configuration mode. Copies any file from a source to a destination. Displays any errors or events for various command situations; for example, backup and restore, configuration, copy, resource locking, file transfer, and user management. Deletes a file in the Cisco NCS server. Lists the files in the Cisco NCS server. Disconnects the encrypted session with a remote system. Exits from the current command mode to the previous command mode. Forces the logout of all the sessions of a specific Cisco NCS server system user. Disables or shuts down the Cisco NCS server. Describes the help utility and how to use it in the Cisco NCS server. Creates a new directory. NCS related commands to start, stop and backup server. Queries the IPv4 address or hostname of a remote system. Installs System or Application patch. Determines the IPv4 network connectivity to a remote system. Determines the IPv6 network connectivity to a remote system. Reboots the Cisco NCS server. Restores a previous backup. Removes an existing directory. Executes the root shell. Activates the root command. Provides information about the Cisco NCS server. Starts an encrypted session with a remote system. Provides Cisco Technical Assistance Center (TAC) commands. Establishes a Telnet connection to a remote system. Sets terminal line parameters. Sets the inactivity timeout for all terminal sessions. Sets the welcome message on the system for all terminal sessions. 1-5

Modes in the Cisco NCS CLI Chapter 1 Overview of the Cisco NCS -Line Interface Table 1-2 Summary of EXEC s (continued) terminal terminal-type traceroute undebug write Specifies the type of terminal connected to the current line of the current session. Traces the route of a remote IP address. Disables the output (display of errors or events) of the debug command for various command situations; for example, backup and restore, configuration, copy, resource locking, file transfer, and user management. Erases the startup configuration that forces to run the setup utility and prompt the network configuration, copies the running configuration to the startup configuration, and displays the running configuration on the console. show s The show commands are used to display the Cisco NCS settings and are among the most useful commands. See Table 1-3 for a summary of the show commands. The commands in Table 1-3 require the show command to be followed by a keyword; for example, show application status. Some show commands require an argument or variable after the keyword to function; for example, show application version. Table 1-3 Summary of show s application backup cdp clock cpu disks icmp-status interface inventory logging logins memory ntp ports Displays information about the installed application; for example, status information or version information. Displays information about the backup. Displays information about the enabled Cisco Discovery Protocol interfaces. Displays the day, date, time, time zone, and year of the system clock. Displays CPU information. Displays file-system information of the disks. Displays the Internet Control Message Protocol (ICMP) echo response configuration information. Displays statistics for all the interfaces configured on the Cisco NCS. Displays information about the hardware inventory, including the Cisco NCS appliance model and serial number. Displays the Cisco NCS server logging information. Displays the login history of the Cisco NCS server. Displays memory usage by all running processes. Displays the status of the Network Time Protocol (NTP) servers. Displays all the processes listening on the active ports. 1-6

Chapter 1 Overview of the Cisco NCS -Line Interface Modes in the Cisco NCS CLI Table 1-3 Summary of show s (continued) process repository restore running-config startup-config tech-support terminal timezone timezones udi uptime users version Displays information about the active processes of the Cisco NCS server. Displays the file contents of a specific repository. Displays the restore history in the Cisco NCS. Displays the contents of the configuration file that currently runs in the Cisco NCS. Displays the contents of the startup configuration in the Cisco NCS. Displays system and configuration information that you can provide to the TAC when you report a problem. Displays information about the terminal configuration parameter settings for the current terminal line. Displays the current time zone in the Cisco NCS. Displays all the time zones available for use in the Cisco NCS. Displays information about the unique device identifier (UDI) of the Cisco NCS. Displays how long the system you are logged in to has been up and running. Displays information about the system users. Displays information about the currently loaded software version, along with hardware and device information. Configuration s Configuration commands include interface and repository. To access configuration mode, run the configure command in EXEC mode. Some of the configuration commands require that you enter the configuration submode to complete the configuration. Table 1-4 describes the configuration commands. Table 1-4 Summary of Configuration s backup-staging-url cdp holdtime cdp run cdp timer clock timezone Specifies a Network File System (NFS) temporary space or staging area for the remote directory for backup and restore operations. Specifies the amount of time the receiving device should hold a Cisco Discovery Protocol packet from the Cisco NCS server before discarding it. Enables Cisco Discovery Protocol. Specifies how often the Cisco NCS server sends Cisco Discovery Protocol updates. Sets the time zone for display purposes. 1-7

Modes in the Cisco NCS CLI Chapter 1 Overview of the Cisco NCS -Line Interface Table 1-4 Summary of Configuration s (continued) do end exit hostname icmp echo interface ipv6 address autoconfig ipv6 address dhcp ip address ip default-gateway ip domain-name ip name-server kron occurrence kron policy-list logging logging loglevel no ntp password-policy repository service snmp-server community snmp-server contact snmp-server host snmp-server location username Executes an EXEC-level command from configuration mode or any configuration submode. Note To initiate, the do command precedes the EXEC command. Returns to EXEC mode. Exits configuration mode. Sets the hostname of the system. Configures the ICMP echo requests. Configures an interface type and enters interface configuration mode. Enables IPv6 stateless autoconfiguration in interface configuration mode. Enables IPv6 address DHCP in interface configuration mode. Sets the IP address and netmask for the Ethernet interface. Note This is an interface configuration command. Defines or sets a default gateway with an IP address. Defines a default domain name that a Cisco NCS server uses to complete hostnames. Sets the Domain Name System (DNS) servers for use during a DNS query. Schedule one or more Scheduler commands to run at a specific date and time or a recurring level. Specifies a name for a Scheduler policy. Enables the system to forward logs to a remote system. Configures the log level for the logging command. Disables or removes the function associated with the command. Synchronizes the software clock through the NTP server for the system. Enables and configures the password policy. Enters repository submode. Specifies the type of service to manage. Sets up the community access string to permit access to the Simple Network Management Protocol (SNMP). Configures the SNMP contact the Management Information Base (MIB) value on the system. Sends SNMP traps to a remote system. Configures the SNMP location MIB value on the system. Adds a user to the system with a password and a privilege level. For detailed information on configuration mode and submode commands, see Understanding Modes, page 2-5. 1-8

Chapter 1 Overview of the Cisco NCS -Line Interface CLI Audit CLI Audit You must have administrator access to execute the Cisco NCS configuration commands. Whenever an administrator logs in to configuration mode and executes a command that causes configurational changes in the Cisco NCS server, the information related to those changes is logged in the Cisco NCS operational logs. Table 1-5 describes configuration mode commands that generate operational logs. Table 1-5 clock ip name-server hostname ip address ntp server Configuration Mode s for the Operation Log Sets the system clock on the Cisco NCS server. Sets the DNS servers for use during a DNS query. Sets the hostname of the system. Sets the IP address and netmask for the Ethernet interface. Allows synchronization of the software clock by the NTP server for the system. In addition to configuration mode commands, some commands in EXEC mode generate operational logs. Table 1-6 describes EXEC mode commands that generate operational logs. Table 1-6 backup restore backup-logs EXEC Mode s for the Operation Log Performs a backup (NCS and ADE OS) and places the backup in a repository. Restores from backup the file contents of a specific repository. Backs up system logs. 1-9

CLI Audit Chapter 1 Overview of the Cisco NCS -Line Interface 1-10