Cisco Prime Network Analysis Module 5.1 Command Reference
Command-Line Interface
Downloads: This chapterpdf (PDF - 83.0KB) The complete bookPDF (PDF - 2.31MB) | Feedback

Command-Line Interface

Table Of Contents

Command-Line Interface

Logging in to the NAM

Changing the Default Password

Getting Help

Command Mode

Subcommand Mode

Creation and Edit Modes

NAM Supported Platforms


Command-Line Interface


This chapter provides information for understanding and using the Network Analysis Module (NAM) software by using the command-line interface (CLI). This chapter includes the following sections:

Logging in to the NAM

Getting Help

Command Mode

Subcommand Mode

Creation and Edit Modes

NAM Supported Platforms

For an overview of the Catalyst 6500 series Cisco IOS configuration, see the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide. For Catalyst 6500 series switch Cisco IOS commands, see the Catalyst 6500 Series Switch Cisco IOS Command Reference.

For an overview of the Catalyst 6500 series operating system software configuration, see the Catalyst 6500 Series Switch Configuration Guide. For Catalyst 6500 series switch operating system software commands, see the Catalyst 6500 Series Switch Command Reference.

Logging in to the NAM

There are two levels of access on the Network Analysis Module, each with different privileges:

Guest—Read-only access (default password is guest)

Root—Full read-write access (default password is root)


Note The root account uses the # prompt; the guest account uses the > prompt.


To log into the NAM, perform these steps:


Step 1 Log into the Catalyst 6500 series switch using the Telnet connection or the console port connection.

Step 2 Establish a console session with the NAM at the CLI prompt, using the session command:

Cisco IOS Software:

switch> session slot 4 processor 1
The default escape character is Ctrl-^, then x.
You can also type 'exit' at the remote prompt to end the session
Trying 209.165.200.225 ... Open

Cisco Network Analysis Module (WS-SVC-NAM-2)

login: 

Catalyst Operating System Software:

switch> session 3
Trying NAM-3...
Connected to NAM-3.
Escape character is '^]'.

Cisco Network Analysis Module (WS-SVC-NAM-1)

login:

Step 3 Log into the NAM by typing root to log in as the root user or guest to log in as a guest user at the login prompt.

login: root

Step 4 At the password prompt, enter the password for the account. The default password for the root account is "root," and the default password for the guest account is "guest."

Password: 

After a successful login, the command-line prompt appears as follows:

Cisco Network Analysis Module (WS-SVC-NAM-2-250S) Console, 5.1 
Copyright (c) 1999-2011 by Cisco Systems, Inc.

nam.domain.com#



Note After you log in for the first time, you will be asked to change the default password.


Changing the Default Password

To change the password, follow these steps while you are logged in to the root account on the NAM:


Step 1 Enter this command as follows:

root@localhost# password username

To change the root password, make a Telnet connection to the NAM and then use the password root command.

To change the guest password, make a Telnet connection to the NAM and then use the password guest command.

Step 2 Enter the new password as follows:

Changing password for user root
New UNIX password:

Step 3 Enter the new password again as follows:

Retype new UNIX password:
passwd: all authentication tokens updated successfully


This example shows how to set the password for the root account:

root@localhost# password root
Changing password for user root
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully

Getting Help

When you have successfully logged in, enter a ? and press Return or enter the help command for a 
list of commands used to configure the NAM. For example:

Cisco Network Analysis Module (WS-SVC-NAM-2-250S) Console, 5.1
Copyright (c) 1999-2011 by Cisco Systems, Inc.

nam.domain.com# help
?                         - display help
application               - configure an application [group]
audit-trail               - enable logging into Web GUI and CLI accesses
autocreate-data-source    - enable data source autocreation feature
cdp                       - set cdp settings
clear                     - clear access log / system alerts
clock                     - set system clock

Command Mode

The Network Analysis Module provides a configurable command mode accessible when you log into the NAM as "root." Certain commands enter into a subcommand mode. In all command and subcommand modes, the asterisk (*) specifies that the subcommand is mandatory.

Subcommand Mode

Some commands enter into a subcommand mode, which provides additional configuration commands that you can use in that mode. For example:

root@nam.domain.com# time
Entering into subcommand mode for this command.
Type 'exit' to apply changes and come out of this mode.
Type 'cancel' to discard changes and come out of this mode.
root@nam.domain.com(sub-time)#

When you have entered the subcommand mode, type a ? or enter the help command for a list of commands available in that subcommand mode. For example:

root@nam.domain.com(sub-time)# ?
?                         - display help
cancel                    - discard changes and exit from subcommand mode
exit                      - exit from subcommand mode
help                      - display help
sync                      - synchronize NAM system time with switch, ntp, or local clock
zone                      - configure time zone at the NAM
root@nam.domain.com(sub-time)# 

Note For the commands that enter into a subcommand mode, the actual configuration is completed only when you enter the exit command.


Creation and Edit Modes

Some commands run in a creation mode and an edit mode, which alternate depending on whether you are creating or changing (editing) a configuration.

NAM Supported Platforms

For login details to the NAM supported platforms in this release, see the following:

Catalyst 6500 Series Switch and Cisco 7600 Series Router Network Analysis Module Installation and Configuration Note http://www.cisco.com/en/US/products/sw/cscowork/ps5401/prod_installation_guides_list.html

Cisco Branch Router Series (NME-NAM) Installation and Configuration Note http://www.cisco.com/en/US/products/sw/cscowork/ps5401/prod_installation_guides_list.html

Cisco WAAS VB NAM Installation and Configuration Note http://www.cisco.com/en/US/products/ps10506/prod_installation_guides_list.html

Cisco NAM Appliances Installation and Configuration Note (2204) http://www.cisco.com/en/US/products/ps10113/prod_installation_guides_list.html

Cisco NAM Appliances Installation and Configuration Note (2220) http://www.cisco.com/en/US/products/ps10113/prod_installation_guides_list.html

Cisco Nexus 1000V NAM Virtual Service Blade Installation and Configuration Guide http://www.cisco.com/en/US/partner/products/ps10846/prod_installation_guides_list.html

Cisco SRE NAM Installation and Configuration Note http://www.cisco.com/en/US/products/ps10113/prod_installation_guides_list.html