Get SNMP Configuration
更新时间: 2026/08/06
在Gitcode上查看源码

Get SNMP Configuration

Change History

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

Basic Information

Function Description

Obtain SNMP settings.

Privilege

UserMgmt

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, subcommand=75h
5SNMP parameter. For details, see SNMP Parameter.
6Block Selector (00h if parameter does not require a block number)
7Sub Block Selector (00h if parameter does not require a sub block number)

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.
5Message Len: N. The actually returned data may be less than or equal to Read length.
6:5+NMessage Info

SNMP parameters

ParameterParameter Data (hexadecimal)Block SelectorBlock Selector Data (hexadecimal)Sub Block SelectorSub Block Selector (hexadecimal)Data
SNMP1Community name1Read-only community name.1A character string of 1 to 32 bytes
-R/W community2A character string of 1 to 32 bytes
Long Password Enable2--1 byte
0: disable; 1: enable
Trap (reserved)2

Command Example

Query the SNMP read-only community name.

Request:

bash
Ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x75 0x01 0x01 0x01

Response:

text
db 07 00 14 72 6f 41 64 6d 69 6e 69 73 74 72 61 74 6f 72 40 39 30 30 30

Back to Index