- Table Of Content
- Introducing the Cisco Prime NAM 2404 Appliance
- Installing the Cisco Prime NAM 2404 Appliance
- Configuring the Cisco Prime NAM 2404 Appliance
- Installing and Configuring External Storage
- Maintaining the Cisco Prime NAM 2404 Appliance
- Upgrading NAM Software
- Troubleshooting
- Safety Guidelines
- Specifications for the 2404 appliance
- Site Log
- Helper Utility
Configuring the Cisco Prime NAM 2404 Appliance
This chapter describes how to configure the Cisco Prime NAM 2404 appliance to establish network connectivity, configure IP parameters, and how to perform other required administrative tasks using the NAM command line interface (CLI). This chapter also provides information about how to get started with the NAM graphical user interface (GUI) and how to perform various system management tasks.
This chapter contains the following sections:
- Logging In For the First Time
- Changing the Root Password
- Resetting the NAM Root Password to the Default Value
- Establishing Network Connectivity
- Checking Your Configuration
- Enabling the NAM Web Server
- Enabling the NAM Web Server
- Configuring a Monitored Device
- Opening and Closing a Telnet or SSH Session to the NAM
- Setting up the CIMC
- Shutting Down and Starting Up the Appliance
For more advanced NAM configuration information, use the NAM web server interface or see the Network Analysis Module Command Reference.
Logging In For the First Time
After you turn power on and boot the Cisco Prime NAM 2404 appliancefor the first time, the login prompt displays on the attached console. When shipped from the factory, the root user is preconfigured on the Cisco Prime NAM 2404 appliance. The default password for the root user is root.
Note You must change the user root password during the first login session.
The root user has access to the root (read/write) level of NAM and can enter NAM command-line interface (CLI) commands.
To log in to the Cisco Prime NAM 2404 appliance for the first time, open a console session or a serial session with the NAM appliance. This example opens a session with the Cisco Prime NAM 2404:
Note After your initial login, you can enable telnet and ssh connections to the NAM appliance.
Step 1 When the NAM login prompt appears, type root and press Enter.
Step 2 When the password prompt appears, type root and press Enter.
After you enter the ID and password, you will be prompted to change the root password.
nam
2404-209.localdomain login: root
Step 3 Enter the new password for the root user, then enter it a second time.
We recommend that you make a record of the password, and store this information in a secure location. You should change this password regularly in accordance with your site’s password security policies. See Changing the Root Password.
Changing the Root Password
This section describes how to change the root user password after the initial login session. To change the root password:
Step 1 Open a console session or serial session with the NAM appliance.
Step 2 When prompted for a username, enter root.
The Cisco Prime NAM 2404 appliance ships from the factory with default settings for user root with a password of root.
Step 3 When prompted, enter the password for user root.
After you log in as the root user, you have read and write access to the root level of the NAM appliance, and you can enter and perform CLI commands.
Step 4 Enter the following command to change the root user password.
Step 5 Enter the new password for user root and confirm it.
We recommend that you make a record of the password and store this information in a secure location. You should change this password regularly in accordance with your site’s password security policies.
Step 6 Type exit to end the session and log out.
Examples
Changing the NAM Root Password: Example
Verifying the NAM Root Password: Example
Resetting the NAM Root Password to the Default Value
For information about how to reset the NAM root password to the default value, see the Cisco Prime Network Analysis Module Software User Guide.
Establishing Network Connectivity
This section describes how to configure a Cisco Prime NAM 2404 appliance to configure IP parameters in IPv4 environment to establish network connectivity.
Log in to a Cisco Prime NAM 2404 appliance from the management console and enter the following CLI commands with the appropriate information for your site:
Step 1 Use the ip address command to configure the NAM appliance IP address. The syntax for this command is as follows:
ip address ip-address subnet-mask
root@localhost#
ip address 172.20.104.126 255.255.255.248
Step 2 Use the ip gateway command to configure the NAM appliance default gateway address. The syntax for this command is as follows:
root@localhost#
ip gateway 172.20.104.123
Step 3 You can use the exsession command to enable remote login to the NAM appliance using either Telnet or SSH. The syntax for this (optional) command is as follows:
To configure the NAM appliance to enable Telnet access:
To configure the NAM appliance to enable SSH access:
root@localhost#
exsession on ssh
Step 4 You can use the ip domain command to configure the NAM appliance system domain name. The syntax for this (optional) command is as follows:
root@localhost#
ip domain your_company.com
Step 5 You can use the ip host command to configure the NAM appliance system hostname.
The syntax for this command is as follows:
root@localhost#
ip host nam_machine
Step 6 You might (optionally) want to use the ip nameserver command to configure one or more name servers for the NAM appliance.
The syntax for this command is as follows:
ip nameserver ip-address [ip-address] [ip-address}
root@localhost#
ip nameserver 172.20.104.10
root@localhost#
ip nameserver 172.20.104.10 172.20.104.20 172.20.104.30
Checking Your Configuration
After you finish configuring the NAM appliance for network connectivity, it is a good idea to check your connectivity and verify the IP parameters you have just configured for the NAM appliance.
Step 1 Use the ping command to check connectivity between the NAM appliance and a network device.
The syntax for this command is as follows:
root@localhost#
ping nam_machine.your_company.com
root@localhost#
ping 172.20.104.10
The following is an example of the ping command showing successful connectivity:
Step 2 Use the show ip command to verify that you have configured the NAM appliance IP parameters the way you want them.
The syntax for this command is as follows:
The following is an example of the show ip command output that shows a configured NAM appliance:
Enabling the NAM Web Server
This section describes how to enable the NAM web server and browser-based access to the NAM graphical user interface (GUI).
Note You can enable the NAM to function as an HTTP server or an HTTPS secure server, but not as both simultaneously.
To enable the NAM web server and provide browser-based access, confirm that your web browser supports your NAM software release.
Note For a list of supported browsers, see the NAM software release notes.
Step 1 Open a Telnet or SSH session to the NAM appliance and at the password prompt, enter your password.
telnet {ip-address | hostname}
Step 2 Enter one of the following commands to enable either an HTTP server or an HTTPS secure server:
To enable the NAM HTTP web server:
To enable the NAM HTTPS secure web server:
The NAM requests a web administrator user name.
The NAM web server requires at least one properly-configured web administrator. If the NAM does not prompt you for a web username and password, then at least one web administrator was previously configured.
Step 3 Enter the username of the web administrator. Otherwise, press Enter to use the default web administrator username admin.
The NAM requests a password for the web administrator, then requests the password to be entered again to ensure accuracy.
Step 4 Enter the password for the web administrator and confirm it.
Note Because this document is available to the public by way of Cisco.com, it is a good idea to change this and all default passwords as soon as possible.
Step 5 To check the NAM web server functionality, launch an approved internet browser and enter the IP address or host and domain name in the browser address field.
Note For a list of supported browsers, see the NAM software release notes.
If the Cisco Prime NAM 2404 appliance web server is properly configured, you should access the NAM login window.
At this point, the only user able to log in to the NAM web server is the administrative user you configured when you enabled the web server.
Verifying System Status
To verify the status of an installation, upgrade, or downgrade or to troubleshoot problems, use commands from those listed in Table 3-1 , Common Diagnostic and Show Commands .
Note ● The tables in these sections show only common managed device and network module commands.
– To view a complete list of available commands, type ? at the prompt
(Example: user@
nam _host.domain#
?).
– To view a complete list of command keyword options, type ? at the end of the command
(Example: nam _host.domain#
ip ?).
- The tables group commands by the configuration mode in which they are available. If the same command is available in more than one mode, it might act differently in each mode.
Note Many show commands include the keyword option to display diagnostic output on your screen or to pipe it to a file or a URL.
Configuring a Monitored Device
After you connect an output interface of a monitored (or managed) device to the monitoring ports of the Cisco Prime NAM 2404 appliance, you must also configure the monitored device to send data to that interface. You do this in two steps:
- Configuring a Monitored Device Interface
- Span the port of the monitored device to use the Cisco Prime NAM 2404 appliance as a destination port
Configuring a Monitored Device Interface
At the monitored device, configure the connection to the Cisco Prime NAM 2404 appliance as a trunk port, but use the no negotiate option. Using the no negotiate option on the monitored device, precludes the switch or router from performing dynamic trunk protocol (DTP) with the appliance monitoring port.
The following example shows how to configure a switch port connected to the appliance monitoring port as Te 7/29.
From the monitored device command line, enter a CLI command like the following:
show run interface ethernet 4/37
Creating a SPAN Session
A SPAN session is required to SPAN the monitored device’s traffic to the port connected to the monitoring port of the appliance. You can create a SPAN session using the monitored device’s CLI or using the NAM appliance GUI.
For information about how to use the NAM GUI to set up the SPAN session, see the Cisco Prime Network Analysis Module Software User Guide.
Opening and Closing a Telnet or SSH Session to the NAM
This procedure opens and closes a Telnet or SSH session to the NAM. This procedure is not commonly performed, because you would typically use the NAM GUI to monitor and maintain the NAM. If, however, you cannot access the NAM GUI, you might want to use Telnet or SSH to troubleshoot from the NAM CLI.
If your Cisco Prime NAM 2404 appliance is not properly configured for Telnet or SSH access (see the following Prerequisites section), you can open a Telnet session to the managed device to which the Cisco Prime NAM 2404 appliance is connected, then open a NAM console session from the managed device.
- Configure the NAM system IP address. Optionally, set the NAM system hostname.
- Verify NAM network connectivity by performing one of the following ping tests:
– From a host beyond the gateway, ping the NAM system IP address.
– From the NAM CLI, ping the NAM system default gateway.
1. telnet { ip-address | hostname }
or
ssh { ip-address | hostname }
2. At the login prompt, enter root.
3. At the password prompt, enter your password.
or
If you have not changed the password from the factory-set default, enter root as the root password.
4. Perform the tasks that you need to perform in the NAM CLI. When you want to end the Telnet or SSH session to the NAM and return to the Cisco IOS CLI, complete Step 5 and Step 6.
|
|
|
---|---|---|
telnet { ip-address | hostname } host.domain# telnet 10.20.30.40 |
Logs in to a host that supports Telnet. Starts an encrypted session with a remote networking device. |
|
At the login prompt, enter root. |
||
At the password prompt, enter your password. If you have not changed the password from the factory-set default, enter root as the root password. |
||
Perform the tasks that you need to perform in the NAM CLI. When you want to end the Telnet or SSH session to the NAM and return to the Cisco IOS CLI, complete Step 5 and Step 6. |
||
|
||
|
Examples
Opening and Closing a Telnet Session to the NAM Using the NAM System IP Address
Opening and Closing an SSH Session to the NAM Using the NAM System Hostname
Setting up the CIMC
The Cisco Integrated Management Controller (CIMC) is a built-in feature of Cisco UCS servers that provides a web-based GUI or SSH-based CLI to access, configure, administer, and monitor the server remotely. The NAM 2404 appliance are based on the Cisco UCS server platform, and thus include the CIMC functionality.
While setting up the CIMC is not strictly necessary to use the NAM, certain administrative and troubleshooting tasks can only be performed via the CIMC. Therefore, it is highly recommended to configure the CIMC with an IP address so that it can be accessed if needed.
To configure an IP address for the CIMC, reboot the NAM appliance and press F8 when prompted to enter the “Cisco IMC Configuration Utility”. Set the “NIC mode” to “Shared LOM”, and configure the IP and VLAN parameters as appropriate. For more details on the CIMC configuration process, see the Cisco UCS C220 M3 Server Installation and Service Guide.
You can also setup a dedicated CIMC connection using the UCS management port labeled M.
Note The UCS management port labeled M is different from NAMmanagement port LAN1.
Setting up Serial Console Connection
There are two ways to connect to the NAM serial console:
- Serial over LAN (SoL)–Allows access to the NAM serial console through the web-based GUI or SSH-based CLI of CIMC. This access method is configured by default.
- Physical external serial console connector (RJ-45)–Allows access to the NAM serial console through a direct serial cable or terminal server. See section Setting up Serial Console Access through External RJ-45 Port for details.
NAM supports two serial console ports: com0 and com1. The NAM CLI can be accessed through either of these ports. However, only the com0 port provides full output and interactivity during the bootup process. The two serial console options (SoL or RJ-45 connector) cannot use com0 at the same time, so you should assign com0 to the option you would customarily use within your environment. By default, the NAM is configured with SoL on com0, so if SoL is your preferred method of access, then you need not do anything more. If you prefer to assign com0 to the RJ-45 serial port, then follow the steps in section Setting up Serial Console Access through External RJ-45 Port.
Setting up Serial Console Access through External RJ-45 Port
See Figure 5-2 for Serial connector (RJ-45) location.
To setup serial console access through the external RJ-45 port:
Step 2 Click the Server tab and then click Remote Presence.
Step 3 Click the Serial over LAN tab.
Step 4 If you do not want to use Serial over LAN, uncheck the Enabled check box. This will make the serial console accessible on com0 through the RJ-45 port. Alternatively, if you prefer to use the RJ-45 serial console primarily, but maintain Serial over LAN as a secondary method for access to the NAM CLI, then keep Serial over LAN enabled, but change Com Port to com1.
Step 5 Click the Save Changes button.
Console access through the RJ-45 console port will be enabled. Configure your terminal emulator or terminal server to use 9600 baud/bps, 8-N-1 when connecting to the console.
In some cases, it may be necessary to power cycle the NAM appliance before the serial console works. From the CIMC GUI, click the Server tab and click Summary, and then click Power Cycle Server.
Shutting Down and Starting Up the Appliance
To shut down a Cisco Prime NAM 2404 appliance, issue the NAM CLI shutdown command.
The Cisco Prime NAM 2404 appliance reboots after you press the Power button. You can also switch on the server through the CIMC web interface.