代码仓
中
Set Specific Route Configuration
更新时间: 2026/08/06
在AtomGit上查看源码

Set Specific Route Configuration ​

Change History ​

Four-segment version of the iBMC softwareRevision DateDescriptionRevised By
3.19.13.432026/07/15Added the first draft.Li Zhenning wx1056695

Basic Information ​

Function Description ​

Obtains the configuration of a specific route.

Privilege ​

BasicSetting

Command Information ​

Request Information ​

ByteData Field
NetFn30h
CMD93h
1-3Manufacturer ID of the channel for querying the command support.
4Subcommand, 97h
5Interface, network port, 00h: Mgmt, 01h: GE1, 02h: GE2
6IP version: 00h - ipv4, 01h - ipv6
7ip route table index: indicates the index of a route configuration item. Each network port and each IP protocol have five route configuration items. The value ranges from 0 to 4.
8-23Dest address: indicates the destination IP address. If the IPv4 protocol is used, use the last four bytes in hexadecimal format. If the IPv6 protocol is used, use all the 16 bytes and enter the IPv6 address in hexadecimal format. The address must be the same as the mask or prefix. That is, all host bits are 0. MSB First
24Mask/Prefix: indicates the subnet mask/prefix length. If the IPv4 protocol is used, enter the prefix length value converted from the subnet mask based on the CIDR rule. For example, 255.255.254.0 corresponds to /23. If the IPv6 protocol is used, enter the prefix length.
25-40Dest gateway: gateway address. The rule is the same as that of the IP address.
41Action: operation. 00h: disabled; 01h: enabled.

Response Information ​

ByteData Field
1Completion Code
2:4Manufacuterer

Command Example ​

Query the command enabling status. ​

Request:

bash
ipmicmd -k "0f 00 30 93 db 07 00 97 01 01 00 fe 80 00 00 00 00 00 00 9e 7d a3 ff fe 28 6f fa 40 fe 80 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01" smi 0

Response:

text
db 07 00

Back to Index ​