Set Syslog Server Info
更新时间: 2026/08/06
在Gitcode上查看源码

Set Syslog Server Info

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to set syslog server information, including syslog server attributes and configurations.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command=70h
50x00, reserved
60x00-0x03 indicates the syslog server ID, and 0xff indicates the unified configuration function of the syslog server.
7Indicates the setting option. 01-04h is the syslog server attribute, and 05-09h is the syslog unified configuration attribute. The setting option and the corresponding attribute to be set are described as follows:
01h-IP Address: The maximum length of the domain name is 230 bytes.
02h-Port: server port. The value consists of four bytes and is in little-endian format.
03h-LogType: indicates the log type. If this option is selected, the following attributes will be set: Bit 0 indicates whether the operation log function is enabled. Bit 1 indicates whether the security log function is enabled. Bit 2 indicates whether the event log function is enabled. Bit 3 indicates whether the intrusion detection log function is enabled. Bit 4 indicates whether the system serial port log function is enabled. Bit 5 indicates whether the BMC serial port log function is enabled. Bit 6 indicates whether the fault diagnosis log function is enabled. Bit 7 indicates whether the board chip log function is enabled (0 indicates that the function is disabled, and 1 indicates that the function is enabled).
04h-ServerEnable: specifies the enabling status of the syslog server. 0: disabled; 1: enabled.
05h-ServiceEnabled: syslog service enabling status. 0: disabled; 1: enabled.
06h-TransmissionProtocol: transmission protocol. 1: UDP; 2: TCP; 3: TLS.
07h-AlarmSeverity: alarm severity. 0: None. 1: Normal. 2: Minor. 3: Major. 4: Critical.
08h-MessageFormat: message format. 0: custom; 1: RFC3164
09h-ServerIdentity: host ID. 0: BoardSN (board serial number); 1: ProductAssetTag (product asset tag); 2: HostName (host name)
Note: ServerIdentity can be set only when MessageFormat is set to Custom. When MessageFormat is set to RFC3164, ServerIdentity cannot be set and is fixed to HostName.
8Indicates the length (in bytes) of the attribute value to be set.
9:NPropertyValue: attribute value to be set

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5Success Code 0x00

Command Example

Query whether syslog server channel 0 is enabled.

Request:

bash
ipmicmd -k "0f 00 db 07 00 70 00 ff 06 01 03 " smi 0

Response:

text
0f db 07 00 00

Back to Index