Getting Started Guide for Cisco UCS E-Series Servers, Release 2.x
Cisco IOS Software Command Reference—ISR G2
Downloads: This chapterpdf (PDF - 1.33MB) The complete bookPDF (PDF - 5.75MB) | The complete bookePub (ePub - 2.02MB) | Feedback

Cisco IOS Software Command Reference—ISR G2

This chapter provides the new Cisco IOS commands that were introduced for the E-Series Servers installed in the ISR G2.


Note


The Cisco IOS commands are sometimes updated after original publication; therefore, for updated content, review the Cisco IOS Interface and Hardware Component Command Reference at http:/​/​www.cisco.com/​en/​US/​docs/​ios-xml/​ios/​interface/​command/​ir-cr-book.html.


This chapter includes the following sections:

imc ip address default-gateway

To configure a static IP address for CIMC and the IP address of the default gateway router that CIMC must use, use the imc ip address default-gateway command from interface configuration mode .

imc ip address i ip_address subnet_mask default-gateway gateway_address

no imc ip address i p_address subnet_mask default-gateway gateway_address

Syntax Description

ip_address

IP address of CIMC.

subnet_mask

Subnet mask to append to the IP address; must be in the same subnet as the host router.

gateway_address

IP address of the default gateway router.

Command Modes


Interface configuration mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

Use this command from interface configuration mode:

Router(config)# interface ucse slot/port

If you do not enable DHCP, you must specify a static IP address and subnet mask.

The following example shows how to configure a static IP address for CIMC:

Router(config)# interface ucse 2/0
Router(config-if)# imc ip address 10.0.0.2 255.0.0.0 default-gateway 10.0.0.1

imc ip address dhcp

To configure a dynamic IP address for CIMC, use the imc ip address dhcp command from interface configuration mode .

imc ip address dhcp

no imc ip address

Syntax Description

This command has no arguments.

Command Modes


Interface configuration mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

Use this command from interface configuration mode:

Router(config)# interface ucse slot/port

The following example shows how to configure the DHCP ip address for CIMC:

Router(config)# interface ucse 2/0
Router(config-if)# imc ip address dhcp

imc vlan

To enter VLAN configuration mode for the specified VLAN number, use the imc vlan command from interface configuration mode .

imc vlan vlan_number

no imc vlan

Syntax Description

vlan_number

IP address of the remote manager.

Command Modes


Interface configuration mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

Use this command from interface configuration mode:

Router(config)# interface ucse slot/port

The following example shows how to enter the VLAN configuration mode in CIMC for a specified VLAN:

Router(config)# interface ucse 2/0
Router(config-if)# interface vlan 40

ucse cmos-reset

To reset the BIOS CMOS of the Cisco E-Series Server, use the ucse cmos-reset command in EXEC mode.

ucse slot cmos-reset

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

This command sets the BIOS (Basic Input Output System) back to the factory defaults. User changes made in the BIOS will be lost.

The following example shows how to reset the BIOS CMOS:

Router# ucse 2 cmos-reset

ucse password-reset

To reset the BIOS, CIMC, or RAID password, use the ucse password-reset command in EXEC mode.

ucse slot password-reset { BIOS | BMC | RAID }

Syntax Description

slot

Router slot number in which the server module is installed.

BIOS

Resets the BIOS password.

BMC

Resets the CIMC password.

RAID

Resets the RAID password.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was first introduced in the Cisco UCS E-Series Servers.

Usage Guidelines

After this command has been entered, the system requests that a new password be set when accessing the BIOS or BMC.

The following example shows how to reset the BIOS password:

Router# ucse 2 password-reset BIOS

Reset command sent

ucse session

To start or close a Cisco E-Series Server host or CIMC session, use the ucse session command in EXEC mode.

ucse slot session { imc [clear] | host [clear] }

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

imc

Starts a session with CIMC.

imc clear

Clears the existing CIMC session.

host

Starts a session with the host Cisco E-Series Server.

host clear

Clears the host Cisco E-Series Server session.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

The imc clear and host clear commands close the active session of the CIMC or the host. As a result, the system closes the sessions of any other users currently logged in.

Only one active session is allowed in the CIMC or host at any time. If you receive a “connection refused” message when sessioning in, close the current active session by entering the imc clear or host clear commands.

The following example shows how to clear the CIMC session:

Router# ucse 2 session imc clear

ucse shutdown

To shut down the Cisco E-Series Server system gracefully, use the ucse shutdown command in EXEC mode.

ucse slot shutdown

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

Use this command when removing or replacing a hot-swappable module during online insertion and removal (OIR).

The following example shows how to gracefully shut down the server:

Router# ucse 2 shutdown

ucse statistics

To display or clear the reset and reload information of the Cisco E-Series Server, use the ucse statistics command in EXEC mode.

ucse slot statistics clear

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

clear

Clears the Cisco E-Series Server’s reset and reload information.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

None.

The following example shows how to display the server statistics:

Router# ucse 2 statistics

Module Reset Statistics:
  CLI reset count = 0
  CLI reload count = 0
  Registration request timeout reset count = 0
  Error recovery timeout reset count = 0
  Module registration count = 1

ucse status

To display configuration information related to the hardware and software on the Cisco E-Series Server, use the ucse status command in EXEC mode.

ucse slot status [detailed]

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

detailed

Displays detail information about the Cisco E-Series Server such as the status of the service module and settings of the reset and heartbeat-reset flags.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

None.

The following example shows how to display server status:

Router# ucse 2 status

Service Module is Cisco ucse 2/0
Service Module supports session via TTY line 131
Service Module is in Steady state
Service Module reset on error is disabled
Service Module heartbeat-reset is enabled

ucse stop

To power down the Cisco E-Series Server immediately, use the ucse stop command in EXEC mode.

ucse slot stop

Syntax Description

slot

Router slot number in which the Cisco E-Series Server is installed.

Command Modes


Privileged EXEC mode.

Command History

Release

Modification

15.2(4)M

This command was introduced.

Usage Guidelines

None.

The following example shows how to power down the server:


Router# ucse 2 stop

Send server stop command