cc/td/doc/product/rtrmgmt/carm/rel_1_0
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Setup
Configuration
Enabling Traps
Setting Up a Workstation as a TFTP Server
Starting a User Session
Stopping a User Session
Checking the Status of the EM

Setup


EM setup information is presented in the following sections:

Configuration

To enable the EM to communicate with the routers, certain configuration tasks must be performed on the router. Until these configuration tasks are completed, the EM cannot contact the routers and no management can begin.

Before you can start using the EM to manage the supported Cisco  routers, you must meet the following requirements:

To meet these requirements, perform the following tasks from a console window, as appropriate.


Step 1   If there is no current privileged command password, enter commands as follows:

Router> enable
Router# configure terminal
Router (config)# enable password Enable Password

Step 2   If the router does not have a configured management Ethernet port, enter commands as follows:

Router> enable
Password: Enable Password
Router# configure terminal
Router (config)# interface Ethernet 0
Router (config-if)# ip address Address Netmask
Router (config-if)# exit
Router (config)# exit
Router#

The Sun machine running the EM should now be able to ping the router.

Step 3   If the router is not SNMP-manageable, enter commands as follows:

Router> enable
Password: Enable Password
Router# configure terminal
Router (config)# snmp-server community Community String Read Onlyro
Router (config)# snmp-server community Community String Read Writerw
Router (config)# exit

Step 4   If the router does not currently accept Telnet sessions, enter commands as follows:

Router> enable
Password: <Enable Password>
Router# configure terminal
Router (config)# line vty 0 4
Router (config-line)# password <Telnet Password>
Router (config-line)# login
Router (config-line)# exit
Router (config)# exit
Router#

The preceding configuration assumes you have not configured usernames in the Cisco IOS software.



Enabling Traps

EM traps should be enabled so that the router sends traps to the EM server at the appropriate IP address.

To enable traps, proceed as follows:


Step 1   Telnet to the router and enter your login password.

Step 2   Enter the following:

enable

Step 3   Enter the enable password.

Step 4   Enter the following:

configure terminal
snmp-server enable traps
snmp-server host IP Address of EM server version 2c Community String of router
exit

To obtain help when using Cisco IOS commands, enter the command in question followed by a question mark.



Setting Up a Workstation as a TFTP Server

Configuring a TFTP server enables the Configuration Backup/Restore to operate. Setting up a workstation as a TFTP server is described in the following sections:

Using Another Machine as a TFTP Server

Configuring the EM server as a TFTP server is optional. You can alternatively choose to use a different machine as the TFTP server, or not use the backup/restore functionality at all. If you choose to use another workstation as a TFTP server, make sure that backup files are empty. You also need the appropriate permissions set to allow read and write access. Backup files have the filename C2636MGRaa.bb.cc.dd, where aa.bb.cc.dd is the IP address of the router. A backup file is created for the active Cisco router.

When the manager is set up as the TFTP server, the EM ensure that the backup files exist and have the correct permissions.

Setting Up TFTP

TFTP enables you to transfer files to and from remote systems. The EM Configuration Backup/Restore window allows you to back up and restore the EM configuration. TFTP transfers the configuration files from a device to your system through the network.

Verify the following:

Enabling the TFTP Daemon

The TFTP daemon must be enabled in order for the EM to upload or download a configuration file. If you are using standard Sun software, verify that the TFTP daemon (tftpd) is enabled as follows:


Step 1   Log in as a root user.

Step 2   Edit the /etc/inetd.conf file using a text editor (such as vi).

Step 3   Look in the /etc/inetd.conf file for the line that invokes tftpd. When the line is commented out (starts with a pound sign # as in the following example), use a text editor to delete the pound sign.

#tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot

Step 4   Save the changes in the edited file and exit.

Step 5   Reboot the system.

Step 6   Verify that the TFTP daemon is enabled by entering:

netstat -a | grep tftp

Output similar to the following appears:

*.tftp Idle

If there is no output, tftpd is not enabled. For additional information on TFTP, refer to the UNIX main pages on tftp and tftpd.



Creating the tftpboot Directory

The tftpboot directory stores configuration files from the EM managed routers. To create the tftpboot directory, do the following:


Step 1   If the tftpboot directory does not exist, enter commands as follows to create the directory:

mkdir /tftpboot

Step 2   Modify the permissions by entering the following:

chmod 777 /tftpboot

All users accessing the tftpboot directory will have read, write, and execute permissions.



Starting a User Session

Starting the Cisco EMF manager system automatically starts the EM. To start the Cisco EMF manager system, follow these steps. If Cisco EMF is already started, proceed to step 4.


Step 1   Ensure that Cisco EMF is running. See Starting a User Session, for additional information.

Step 2   Log in as a root user.

Step 3   Start the Cisco EMF manager system by entering the following:

CEMF_ROOT/bin/cemf start

(Replace CEMF_ROOT with the name of the directory where Cisco EMF is installed.)

The Cisco EMF and EM processes start.

Any type of user (not only root users) can start a Cisco EMF user session.

Step 4   To start a Cisco EMF/EM user session, enter commands as follows:

CEMF_ROOT/bin/cemf session

(Replace CEMF_ROOT with the name of the directory where Cisco EMF is installed.)

Step 5   Enter a username and a password. (The default username is admin, and the default password is admin.)



Stopping a User Session

To stop only the Cisco EMF/EM user session, do the following:


Step 1   Close any open Cisco EMF/EM windows.

When you close the Launchpad window, your user session is terminated.

Step 2   Confirm your decision to quit the Cisco EMF manager system by clicking OK.

The Cisco EMF/EM user session ends.



Checking the Status of the EM

To check the status of Cisco EMF/EM, enter commands as follows:

CEMF_ROOT/bin/cemf query

(Replace CEMF_ROOT with the name of the directory where Cisco EMF is installed.)

A message appears indicating that the Cisco EMF manager system is running. A list of running processes is also displayed. If Cisco EMF is not active, a message appears indicating that the Cisco EMF manager system is not running.

When you run a Cisco EMF query, verify that the ciscoERCon process is running. If the ciscoERCon process is not running, the EM may be installed incorrectly and may need to be reinstalled.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Feb 12 08:56:51 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.