Set Specific Route Configuration
更新时间: 2026/08/06
在Gitcode上查看源码Set Specific Route Configuration
Change History
| Four-segment version of the iBMC software | Revision Date | Description | Revised By |
|---|---|---|---|
| 3.19.13.43 | 2026/07/15 | Added the first draft. | Li Zhenning wx1056695 |
Basic Information
Function Description
Obtains the configuration of a specific route.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1-3 | Manufacturer ID of the channel for querying the command support. |
| 4 | Subcommand, 97h |
| 5 | Interface, network port, 00h: Mgmt, 01h: GE1, 02h: GE2 |
| 6 | IP version: 00h - ipv4, 01h - ipv6 |
| 7 | ip 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-23 | Dest 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 |
| 24 | Mask/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-40 | Dest gateway: gateway address. The rule is the same as that of the IP address. |
| 41 | Action: operation. 00h: disabled; 01h: enabled. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacuterer |
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 0Response:
text
db 07 00