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>

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

type <lan>

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>

IPv4 address for 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>

User ID. The ipmi user id of the default 'admin' user on UfiSpace switches is 2.

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

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"
            }
          ]
        }
      }
    }
  }
}