Skip to main content

ports command

Use this command to display and configure IMM ports.

Running the ports command with no options displays information for all IMM 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
-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 [options]
option:
-open
-reset
-httpp port_number
-httpsp port_number
-sshp port_number
-snmpap port_number
-snmptp port_number
-rpp port_number
-cimhp port_number
-cimhsp port_number
Example:
system> ports
-httpp 80
-httpsp 443
-rpp 3900
-snmpap 161
-snmptp 162
-sshp 22
-cimhp 5988
-cimhsp 5989
system>