connect

Syntax

connect (blade | interconnect) <enclosure-name | enclosure-uuid> 
<bay-number> [<console-index>] [force]

Description

The connect command helps you connect to a serial console.

Usage

connect (blade | interconnect) <enclosure-name | enclosure-uuid> 
<bay-number> [<console-index>] [force]
                                                              
  blade            Open a text console session to a blade    
  interconnect     Open a text console session to an interconnect
  <enclosure-name> Specify the name of the enclosure
  <enclosure-uuid> Specify the UUID of the enclosure
  <bay-number>     Specify the bay-number
  <console-index>  Specify the console index which can be found using the 
                   "show" command
  force            Force the connection                                       
* Arguments listed in parenthesis () and separated by the pipe symbol | are 
  mutually exclusive choices.
* Arguments listed in square brackets [] are optional arguments and can be
  omitted.
* Fields listed in angle brackets <> should be replaced with the value
  indicated.
  • Enter the console-view command before the connect command can be used.

  • To connect to a serial console, provide a unique identifier for the serial console chosen. This identifier includes the following information:

    • The type of the device (whether it is an interconnect or a blade)

    • The enclosure containing the device

    • The bay number of the device

    • The index of the console (when there is more than one)

  • The console index indicates which serial console to connect to if a device has more than one serial console. This information is available in the output of the show command. If a device has only one serial console, the console index does not need to be specified. If it is not specified when a device has multiple serial consoles available, an error is displayed.

  • If the connection can be made, the serial console interface replaces the existing CLI in the same terminal window. At that point, all input and output are handled by the connected serial console. When you terminate the serial console connection, the CLI resumes and you are presented with the CLI prompt, ready to take additional commands. If the connection cannot be made, you are presented with an error message as to why the connection failed and are returned to the CLI prompt.

  • Control key sequences

    Sequence Keys Description

    Ctrl+_ .

    With the Control key held down, press the underscore key followed by a period.

    Terminates the serial console connection between the CLI and the frame link module.

    ~ .

    Press the tilde key followed by a period.

    Terminates the CLI session. This sequence is the default SSH escape sequence (can be user configured) that drops the user connection to the CLI, as well as closes the connection to the frame link module, if currently open.

  • There are no modem control signals on the interconnect-server side of the serial connection. When the serial console connection from HPE OneView to frame link module is terminated, there is no indication to the interconnect or server.

  • If a connection cannot be made due to too many existing connections, you can specify the force option. The force option attempts to disconnect an existing connection to the same device and thereby enables the requested connection to be successful.

Example response

This example response illustrates how a connection is made to a blade and an interconnect through a serial console:
console-view> connect blade MXQ73406DF 3
Connecting to blade...       
To return to the CLI, enter <Ctrl>_. (Control + Shift + Underscore followed
by a period (.) which must be at the beginning of a line)

console-view> connect interconnect MXQ73406DF 1
Connecting to interconnect...           
To return to the CLI, enter <Ctrl>_. (Control + Shift + Underscore followed
by a period (.) which must be at the beginning of a line)