76 MPCMM0001 Chassis Management Module Software Technical Product Specification
The Command Line Interface (CLI)
8.3.4 Setting the Date and Time
On the active CMM, use the date command in the CLI to view the current date and time for the
CMM. To set the date and time on the CMM use the setdate command. The setdate command
should use the following syntax:
setdate “mm/dd/yyyy [timezone] hh:mm:ss”
The date is stored on the CMM in Coordinated Universal Time (UTC). The local timezone can be
included in the setdate string, and the CMM will determine the offset and automatically change the
date to UTC. An example that will set the date and time to “Thu Mar 11 20:12:00 UTC 2004” is:
setdate “3/11/2004 PST 12:12:00”
The date and time are synchronized to the standby CMM when changed and then every hour.
8.3.5 Telnet into the CMM
To telnet into the CMM, point your console or telnet application to the IP address of the eth0, eth1,
or eth1:1 interface on the CMM you wish to telnet to. If you wish to telnet to the active CMM, you
can point the telnet application to the eth1:1 IP address. The “pointing” is accomplished using the
Telnet open command. To get the IP address see Section 8.3.1, “Setting IP Address Properties” on
page 72.
8.3.6 Connect Through SSH (Secure Shell)
For a more secure connection, users can connect to the CMM using SSH, or Secure Shell. SSH is a
secure interface and protocol used for encrypted connections between a client and a server. Using
an SSH client, open the IP address of the eth0, eth1, or eth1:1 interface on the CMM you wish to
establish an SSH session with. SSH clients can be found freely available on the Internet.
8.3.7 FTP into the CMM
For security purposes, the CMM will prevent users from accessing the CMM through FTP. So
before FTP’ing into the CMM, ensure the “root” entry is removed from the /etc/ftpusers file using
a text editor like vi. If this entry is not removed, you will be unable to login via FTP.
Using an FTP client, FTP to the IP address of the CMM you wish to transfer files to or from and
use the CLI login and password.
8.3.8 Rebooting the CMM
To reboot the CMM, type the reboot command in the CLI on the CMM that is to be rebooted. If the
reboot command is issued on the active CMM in a redundant configuration, a failover to the
standby CMM will occur. If the reboot command is issued on a CMM in a single CMM
configuration, chassis management will be lost during the reboot process. Telnet and SSH sessions
will have to be reestablished with the CMM after it is rebooted.
Note: Do not use the “init 0” or “init 6” command to reboot the CMM as problems may result.