Skip to main content

portctrl commands

Use the portctrl command to display and configure CIM, IPMI, or all interfaces and discovery protocols.

portctrl command syntax

OneCli.exe misc portctrl <command> [options] [connection options]

Option

  • --help: Display the help information for commands.

Connection option

  • --bmc <arg>/--bmc-username <arg> --bmc-password <arg>: Specify the BMC connection information.

Table 1. portctrl commands
OptionDescription
allDisplay and configure all interfaces and discovery protocols. For more information, refer to all command.
cimDisplay and configure CIM over HTTPS. For more information. refer to cim command.
ipmikcsDisplay and configure IPMI over KCS. For more information. refer to ipmikcs command.
ipmilanDisplay and configure IPMI over LAN. For more information. refer to ipmilan command.

Example of the portctrl command

OneCli.exe misc portctrl cim off --bmc-username USERID --bmc-password PASSW0RD