Dell S5248F-ON EMC PowerSwitch S5200-ON Series BMC User Guide March 2021 - Page 9

Configurations

Page 9 highlights

To access BMC over a LAN, use the following ipmitool command: ipmitool [-c|-h|-v|-V] -I lanplus -H [-p ] [-U ] [-L ] [-a|-E|-P|-f ] [-o ] [-O ] [-C ] [-Y|[-K|- ] [-y ] [-e ] [-N ] [-R ] If needed, you can download ipmitool from the htps://sourceforge.net/ projects/ipmitool website. The commands to install ipmitool on Ubuntu or Fedora versions are as follows: 1. Install ipmitool on Ubuntu versions. # apt-get install ipmitool 2. Install ipmitool on Fedora versions. # yum install ipmitool Run standard IPMI commands from ipmitool. For the command format, see Intelligent Platform Management Interface Specification Second Generation v2.0.pdf. For more documentation, see https://linux.die.net/man/1/ipmitool. NOTE: Throughout this user guide, Intelligent Platform Management Interface Specification Second Generation v2.0.pdf is known as IPMI Specification v2.0. For more information about IPMI, see the IPMI resources that is hosted by Intel at https://www.intel.com/content/www/us/en/servers/ipmi/ipmi-technical-resources.html. Topics: • Configurations • Date and time • SNMP and email alerts • Add and delete users • Firewall • Event log • Default configuration restore Configurations LAN configurations For network settings, see the IPMI Specification v2.0 chapter 23.1 Set LAN Configuration Parameters Command and Table 23-4 LAN Configuration Parameters. In addition to setting IP addresses, use ipmitool to set the network mask, MAC address, default gateway IP and MAC addresses, and so forth. ipmitool commands: root@dellemc-diag-os:~# ipmitool lan set 1 usage: lan set LAN set command/parameter options: ipaddr Set channel IP address netmask Set channel IP netmask macaddr Set channel MAC address defgw ipaddr Set default gateway IP address defgw macaddr Set default gateway MAC address ipaddr Set backup gateway IP address bakgw Configuration methods 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41

To access BMC over a LAN, use the following
ipmitool
command:
ipmitool [-c|-h|-v|-V] -I lanplus -H <hostname> [-p <port>]
[-U <username>]
[-L <privlvl>]
[-a|-E|-P|-f <password>]
[-o <oemtype>]
[-O <sel oem>]
[-C <ciphersuite>]
[-Y|[-K|- <kg_key>]
[-y <hex_kg_key>]
[-e <esc_char>]
[-N <sec>]
[-R <count>]
<command>
If needed, you can download
ipmitool
from the
htps://sourceforge.net/ projects/ipmitool
website. The
commands to install
ipmitool
on Ubuntu or Fedora versions are as follows:
1.
Install
ipmitool
on Ubuntu versions.
# apt-get install ipmitool
2.
Install
ipmitool
on Fedora versions.
# yum install ipmitool
Run standard IPMI commands from
ipmitool
. For the command format, see
Intelligent Platform Management Interface
Specification Second Generation v2.0.pdf
. For more documentation, see
.
NOTE:
Throughout this user guide,
Intelligent Platform Management Interface Specification Second Generation v2.0.pdf
is known as
IPMI Specification v2.0
. For more information about IPMI, see the IPMI resources that is hosted by Intel at
.
Topics:
Configurations
Date and time
SNMP and email alerts
Add and delete users
Firewall
Event log
Default configuration restore
Configurations
LAN configurations
For network settings, see the
IPMI Specification v2.0
chapter 23.1
Set LAN Configuration Parameters Command
and Table 23-4
LAN Configuration Parameters
.
In addition to setting IP addresses, use
ipmitool
to set the network mask, MAC address, default gateway IP and MAC
addresses, and so forth.
ipmitool
commands:
root@dellemc-diag-os:~#
ipmitool lan set 1
usage: lan set
<channel> <command> <parameter>
LAN set command/parameter options:
ipaddr <x.x.x.x>
Set channel IP address
netmask <x.x.x.x>
Set channel IP netmask
macaddr <x:x:x:x:x:x>
Set channel MAC address
defgw ipaddr <x.x.x.x>
Set default gateway IP address
defgw macaddr <x:x:x:x:x:x> Set default gateway MAC address
bakgw
ipaddr <x.x.x.x>
Set backup gateway IP address
Configuration methods
9