Skip to main content

portcfg command

Use this command to configure the IMM2 for the serial redirection feature.

The IMM2 must be configured to match the server internal serial port settings. To change the serial port configuration, type the options, followed by the values. To change the serial port configuration, you must have at least Adapter Networking and Security Configuration authority.

Note
The server external serial port can only be used by the IMM2 for IPMI functionality. The CLI is not supported through the serial port. The serred and cliauth options that were present in the Remote Supervisor Adapter II CLI are not supported.

Running the portcfg command with no options displays serial port configuration. The following table shows the arguments for the options.

Note
The number of data bits (8) is set in the hardware and cannot be changed.
Table 1. portcfg command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-bBaud rate9600, 19200, 38400, 57600, 115200
-pParitynone, odd, even
-sStop bits1, 2
-climodeCLI mode0, 1, 2

Where:

  • 0 = none: The CLI is disabled
  • 1 = cliems: The CLI is enabled with EMS-compatible keystroke sequences
  • 2 = cliuser: The CLI is enabled with user-defined keystroke sequences
Syntax:
portcfg [<em className="ph i">options</em>]
options:
-b <em className="ph i">baud_rate</em>
-p <em className="ph i">parity</em>
-s <em className="ph i">stopbits</em>
-climode <em className="ph i">mode</em>
Example:
system> portcfg
-b: 57600
-climode: 2 (CLI with user defined keystroke sequence)
-p: even
-s: 1
system> portcfg -b 38400
ok
system>