IPMI Configuration

Configuration Syntax and Commands

The following sections describe the IPMI configuration syntax and commands.

IPMI Interface Configuration

This configuration allows you to communicate with the BMC on the platform hardware.

Syntax:

set system platform-management ipmi interface <interface-id> <attribute> <value>

Attribute Description

interface <interface-id>

Specifies the IPMI channel ID. For the UfiSpace and EdgeCore switches, the LAN interface ID is 1.

type <lan>

Specifies the type of network.

mode <dhcp|static>

Manually set the static IPv4 address or configure DHCP to receive dynamic IPv4 address.

address-family ipv4 prefix4 <prefix4>

IPv4 prefix

address-family ipv4 gateway-address <gateway-address>

Specifies the IPv4 address for the gateway.

Example: IPMI Interface Configuration

{
  "ietf-restconf:data": {
    "rtbrick-config:system": {
      "platform-management": {
        "ipmi": {
          "interface": [
            {
              "id": 1,
              "type": "lan",
              "mode": "static",
              "address-family": {
                "ipv4": {
                  "prefix4": "198.51.100.110/24",
                  "gateway-address": "198.51.100.111"
                }
              }
            }
          ]
        }
      }
    }
  }
}

IPMI User Configuration

This configuration allows you to change the password of one of the 10 users, including the admin user.

Syntax:

set system platform-management ipmi user <user-id> <options>

Attribute Description `

user <user-id>`

Specifies the user ID. The default admin user on UfiSpace switches is 2. The default root user on Edgecore switches is 1.

password-plain-text <password-plain-text>

Specifies the plain text password.

password-encrypted-text <password-encrypted-text>

Encrypted password

Example: IPMI User Configuration

{
  "ietf-restconf:data": {
    "rtbrick-config:system": {
      "platform-management": {
        "ipmi": {
          "user": [
            {
              "id": 2,
              "password-encrypted-text": "$21e4946e31b406de98b3077aef03ed5a7"
            }
          ]
        }
      }
    }
  }
}