代码仓
中
Get Ethernet Mode
更新时间: 2026/08/06
在AtomGit上查看源码

Get Ethernet Mode ​

Change History ​

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

Basic Information ​

Function Description ​

Obtains the Ethernet mode.

Privilege ​

Command Information ​

Request Information ​

ByteData Field
NetFn30h
CMD90h
1Sub command: subcommand = 16h
2Network interface ID
1=base1
2=base2
3=fabric1
4=fabric2
5=update
all others reserved

Response Information ​

ByteData Field
1Completion Code
2Rate
0=default (The BMC selects a value based on the site requirements.)
1=1 GE
2=10GE
3Working Mode
0: normal pass-through
1=loop loopback

Command Example ​

Obtain the Ethernet mode. ​

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index ​