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

Get 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

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID
4Sub Command: subcommand, 98h
5Interface: network port, 00h: Mgmt, 01h: GE1, 02h: GE2
6IP Version: IP protocol 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.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID
5Interface, network port, 00h: Mgmt, 01h: GE1, 02h: GE2
6IP version: 00h - ipv4, 01h - ipv6
7Sequence number of a route configuration item.
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.
41Status: enabled status. 00h: disabled; 01h: enabled.

Command Example

Obtain the route configuration of GE1's IPv6 address with index 0.

Request:

bash
ipmicmd -k "0f 00 30 93 db 07 00 98 01 01 00" smi 00

Response:

text
db 07 00 0x01 0x01 0x00 0xfe 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x9e 0x7d 0xa3 0xff 0xfe 0x28 0x6f 0xfa 0x40 0xfe 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x01

Back to Index