Setting the Syslog Server Port Number (syslog -d port)
Function
The syslog -d port command is used to set the syslog server port number.
Format
ipmcset -t syslog -d port -v <destination> <portvalue>
Parameters
Parameter |
Description |
Value |
---|---|---|
destination |
Specifies the number of a syslog reporting channel. |
1 to 4 |
portvalue |
Specifies the syslog server port number. |
1 to 65535 |
Usage Guidelines
None
Example
# Set the syslog server port number to 65535 for channel 1.
iBMC:/-> ipmcset -t syslog -d port -v 1 65535
Set syslog dest1 port successfully.
# Query the syslog server port numbers.
iBMC:/-> ipmcget -t syslog -d iteminfo
Item Num | state | port | dest address | log type
1 | disabled | 65535 | host | operationlogs securitylogs eventlogs
2 | disabled | 0 | | operationlogs securitylogs eventlogs
3 | disabled | 0 | | operationlogs securitylogs eventlogs
4 | disabled | 0 | | operationlogs securitylogs eventlogs