Skip to main content

ports command

Use this command to display and configure IMM2 ports.

Running the ports command with no options displays information for all IMM2 ports. The following table shows the arguments for the options.

Table 1. ports command.

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

OptionDescriptionValues
-openDisplay open ports 
-resetReset ports to default settings 
-httppHTTP port numberDefault port number: 80
-httpspHTTPS port numberDefault port number: 443
-telnetpTelnet legacy CLI port numberDefault port number: 23
-sshpSSH legacy CLI port numberDefault port number: 22
-snmpapSNMP agent port numberDefault port number: 161
-snmptpSNMP traps port numberDefault port number: 162
-rppRemote presence port numberDefault port number: 3900
-cimhpCIM over HTTP port numberDefault port number: 5988
-cimhspCIM over HTTPS port numberDefault port number: 5989
Syntax:
ports [<em className="ph i">options</em>]
option:
-open
-reset
-httpp <em className="ph i">port_number</em>
-httpsp <em className="ph i">port_number</em>
-telnetp <em className="ph i">port_number</em>
-sshp <em className="ph i">port_number</em>
-snmpap <em className="ph i">port_number</em>
-snmptp <em className="ph i">port_number</em>
-rpp <em className="ph i">port_number</em>
-cimhp <em className="ph i">port_number</em>
-cimhsp <em className="ph i">port_number</em>
Example:
system> ports
-httpp 80
-httpsp 443
-rpp 3900
-snmpap 161
-snmptp 162
-sshp 22
-telnetp 23
-cimhp 5988
-cimhsp 5989
system>