Using the CMP


This chapter explains how to use the Connectivity Management Processor (CMP) to monitor the supervisor module control processor (CP) on the active Supervisor 1 module and to reboot the CP or Cisco NX-OS switch. It also explains how you can reboot the CMP from the CP or the CMP.

This chapter includes the following sections:

Monitoring the CP

Rebooting the CP

Rebooting the Entire Cisco NX-OS Device from the CMP

Rebooting the CMP from the CP

Rebooting the CMP from the CMP

Rebooting the System

Monitoring the CP

You can monitor the CP from the CMP.

To monitor the supervisor module CP, use the following optional commands:

Command
Purpose

monitor cp

Example:

switch-cmp# monitor cp

This command will disconnect the front-panel console 
on this supervisor module -
 proceed(y/n)? y
Connected
Escape character is '~,'
switch#

Monitors all output on the local supervisor module CP console port.

attach cp

Example:

switch-cmp# attach cp

This command will disconnect the front-panel console 
on this supervisor module -
 proceed(y/n)? y
Connected
Escape character is '~,'
switch#

Takes control of the local supervisor module CP console port.

~,

Example:

switch# ~,

switch-cmp#

Exits from the CP console and returns to CMP.

ping ip-address

Example:

switch-cmp# ping 192.0.2.15

Pings a remote IP address and displays the results.

show cp state

Example:

switch-cmp# show cp state

Displays status information about the supervisor module CP.

show version

Example:

switch-cmp# show version

Displays the BIOS and software image versions of the CMP.

traceroute ip-address

Example:

switch-cmp# traceroute 192.0.2.15

Tests the connection to a remote IP address and displays the results of each hop along the route.


Rebooting the CP

You can reboot the CP from the CMP.

To reboot the supervisor module CP from the CMP, use the following command:

Command
Purpose

reload cp

Example:

switch-cmp# reload cp

Reboots the supervisor module.



Note If you reboot a supervisor module from the Cisco NX-OS command-line interface (CLI) on the CP, the CMP also reboots. Use the reload soft command to reboot only the supervisor module CP and not the CMP.


Rebooting the Entire Cisco NX-OS Device from the CMP

To reboot the entire Cisco NX-OS device from the CMP, use the following command:

Command
Purpose

reload system

Example:

switch-cmp# reload system

Reboots the Cisco NX-OS device.


Rebooting the CMP from the CP

You can reboot the CMP from the CP.

To reboot the CMP from Cisco NX-OS on the supervisor module CP, use the following command:

Command
Purpose

reload cmp module slot

Example:

switch# reload cmp module 5

Reboots the CMP.


Rebooting the CMP from the CMP

You can reboot the CMP from the CP.

To reboot the CMP from the CMP, use the following command:

Command
Purpose

reload cmp

Example:

switch-cmp# reload cmp

Reloads the CMP.


Rebooting the System

You can reboot the system from the CMP on the active supervisor module while keeping the CMP session active by using the reload soft command. In addition, this command allows you to reset the active CP, power cycle the standby CP, and power cycle the modules.


Note To reload the complete system, including the CMPs, use the reload system command from the CMP.


To reboot the system, use the following command:

Command
Purpose

reload soft

Example:

switch-cmp# reload soft

Reloads the operating system for the system hardware on the CPs and standby CMP.

.