# phpman > man > ipmicmd(1)


*Source: tldr-pages*

---

[openipmicmd(1)](https://www.chedong.com/phpMan.php/man/openipmicmd/1/markdown)                        An IPMI Command Interface                       [openipmicmd(1)](https://www.chedong.com/phpMan.php/man/openipmicmd/1/markdown)



## NAME
       openipmicmd - An IPMI Command Interface


## SYNOPSIS
       **openipmicmd** [**-k** _entry-to-execute_] **<connection** **parms>**


## DESCRIPTION
       The  **openipmicmd** program allows a user to execute direct IPMI commands.  It can work with di‐
       rect interface with the OpenIPMI driver or with IPMI LAN interfaces.


## OPTIONS
### -k
              Execute a single command an exit.


       **<connection**_parms>_
              The parameters for the connection depend on the connection type.  These  are  all  de‐
              scribed in openipmi_conparms (7)


## COMMANDS
       Once  up,  you  can execute commands in the user interface.  Note that commands and responses
       are asynchronous, you issue a command and the interface returns immediately.   When  the  re‐
       sponse  comes  back, it will be dumped on your console.  That's a little strange looking, but
       IPMI is ansychronous underneath.  Note that the **-k** option is synchronous, it  will  wait  for
       the response or a timeout before returning.


       **0f** _lun_ _netfn_ _cmd_ [_data1_ [_data2_ ...]]
              Send a command to the BMC you are connected to.


       _channel_ [**ipmb**] _IPMB-addr_ _lun_ _netfn_ [**seq**] _cmd_ [_data1_ [_data2_ ...]]
              Send  a  command to a device on the IPMB bus.  The "**ipmb**" string is optional.  The **seq**
              must be provided if the netfn is a response (an odd number).  It must be the same  se‐
              quence  number that came in on the command in the "Command Sequence = seq" part of the
              command.


       _channel_ **00** _IPMB-addr_ _lun_ _netfn_ _cmd_ [_data1_ [_data2_ ...]]
              Send a broadcast command to a device on the IPMB bus.


       _channel_ **lan** _handle_ _remote-swid_ _local-swid_ _lun_ _netfn_ _cmd_ [_data1_ [_data_ ...]]
              Send a command to a device over a LAN channel.  Note that this not the same as  a  LAN
              connection.   This  sends  a  message  through  a local BMC to a remote system that is
              hooked up with a LAN connection.


       **test**___**lat** _count_ _command_
              Executes the given _commands_ (one of the previous commands) _count_ times and  gives  the
              average time per command to execute.  Note that "_count_" is hexadecimal.


       **help**   Display some help.


       **regcmd** _netfn_ _cmd_
              Register to receive the given command.  If the driver receives an external command, it
              will print it out.  This only works with system interface  connections,  it  will  not
              work on LAN connections.


       **unregcmd** _netfn_ _cmd_
              Remove a command registration.


## SEE ALSO
       **ipmi**___**[ui**(1)](https://www.chedong.com/phpMan.php/man/ui/1/markdown), [**ipmilan**(8)](https://www.chedong.com/phpMan.php/man/ipmilan/8/markdown), **openipmi**___**[conparms**(7)](https://www.chedong.com/phpMan.php/man/conparms/7/markdown)


## KNOWN PROBLEMS
       The asychronous nature of the program can be annoying.


## AUTHOR
       Corey Minyard <<cminyard@mvista.com>>



OpenIPMI                                      05/13/03                                [openipmicmd(1)](https://www.chedong.com/phpMan.php/man/openipmicmd/1/markdown)
