function::ipmib_tcp_local_port - Linux
Overview
ipmib_tcp_local_port
is used to query and change the local TCP port that the daemon is bound to. The daemon must be running as setuid root to change the local TCP port.
Syntax
ipmib_tcp_local_port [<TCP port number as integer>]
Options/Flags
<TCP port number as integer>
: The local TCP port number that the daemon should listen on. If not specified, the current local TCP port number will be displayed.
Examples
- Display the current local TCP port:
ipmib_tcp_local_port
- Change the local TCP port to 5678:
ipmib_tcp_local_port 5678
Common Issues
- Permission denied: Ensure that the daemon is running as setuid root.
- Port already in use: Choose a different local TCP port that is not already in use by another process.
Integration
ipmib_tcp_local_port
can be used with other commands to manage IPMI over TCP connections. For example, it can be used in conjunction with ipmib_getlan
to display the current LAN settings, including the local TCP port.
Related Commands
ipmib_getlan
– Display the current LAN settings, including the local TCP port.ipmib_setlan
– Configure the LAN settings, including the local TCP port.