Dell PowerSwitch S5212F-ON S5200-ON Series BMC User Guide March 2019 - Page 13

DNS configuration, Date and time, SNMP and email alerts, Event filters, configuration, filters

Page 13 highlights

Dell EMC recommends executing the LAN settings command from a system-side machine rather than from a remote machine. To set a dynamic host configuration protocol (DHCP) IP address, use the following command: # ipmitool lan set 1 ipsrc dhcp To set a static IP address: # ipmitool lan set 1 ipsrc static # ipmitool lan set 1 ipaddr You can also add the BMC IP address from the BIOS. For more information, see the BIOS manual at www.dell.com/support. DNS configuration Use these commands to set and get domain name server (DNS)-related settings, for example hostname, domain setting, and DNS server settings. BMC supports only three DNS server IP addresses. These IP addresses can be either IPv4 or IPv6. To set DNS configuration details, use the DNS configuration command. The DNS configuration is buffered and applies only after you set a DNS Restart-parameter #7. Date and time BIOS sets the date and time during boot up. Use the iseltime tool that is part of the ipmiutil package. Use the ipmiutil command only on the local processor. For more information about the ipmiutil command, see ipmiutil package. Install the ipmiutil package and use the iseltime command. To override the date and time used in the system event log (SEL) log, use the following command: root@dellemc-diag-os:~# ipmitool sel time get 08/01/2018 15:10:46 root@dellemc-diag-os:~# ipmitool sel time set usage: sel time set "mm/dd/yyyy hh:mm:ss" root@dellemc-diag-os:~# For ipmiutil/iseltime, download and install the binaries and documentation from https://ipmiutil.sourceforge.net. Also, various Linux distributions have binary packages prebuilt and available for download. For Fedora, to download the utilities, use https://fedora.pkgs.org/26/fedora-x86_64/ipmiutil-3.0.1-2.fc26.x86_64.rpm.html. SNMP and email alerts Event filters To set the platform event filters, use the raw command format. To configure an entry in the filter table: root@dellemc-diag-os:~# ipmitool raw 0x04 0x12 0x6 0x2 0xc0 0x1 0x2 0x2 0xff 0xff 0xff 0xff 0xff 0x01 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 Byte 3 (0x60) - event filter table cmd Byte 4(0x2) - filter number Byte 5(0xc0) - filter config(enable) Byte 6(0x1) - action(alert) Byte 7(0x2) - policy number Byte 8(0x2) - event severity(information) Byte 9(0xff) - slave address Configuration methods 13

  • 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
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47

Dell EMC recommends executing the LAN settings command from a system-side machine rather than from a remote machine. To set a
dynamic host
configuration
protocol (DHCP) IP address, use the following command:
# ipmitool lan set 1 ipsrc dhcp
To set a static IP address:
# ipmitool lan set 1 ipsrc static
# ipmitool lan set 1 ipaddr <x.x.x.x>
You can also add the BMC IP address from the BIOS. For more information, see the BIOS manual at
www.dell.com/support
.
DNS
configuration
Use these commands to set and get domain name server (DNS)-related settings, for example hostname, domain setting, and DNS server
settings. BMC supports only three DNS server IP addresses. These IP addresses can be either IPv4 or IPv6.
To set DNS
configuration
details, use the DNS
configuration
command. The DNS
configuration
is
buffered
and applies only after you set a
DNS Restart—
parameter #7
.
Date and time
BIOS sets the date and time during boot up. Use the
iseltime
tool that is part of the
ipmiutil
package. Use the
ipmiutil
command only on the local processor. For more information about the
ipmiutil
command, see
ipmiutil package
.
Install the
ipmiutil
package and use the
iseltime
command.
To override the date and time used in the system event log (SEL) log, use the following command:
root@dellemc-diag-os:~# ipmitool sel time get
08/01/2018 15:10:46
root@dellemc-diag-os:~# ipmitool sel time set
usage: sel time set "mm/dd/yyyy hh:mm:ss"
root@dellemc-diag-os:~#
For
ipmiutil/iseltime
, download and install the binaries and documentation from
. Also, various Linux
distributions have binary packages prebuilt and available for download.
For Fedora, to download the utilities, use
.
SNMP and email alerts
Event
filters
To set the platform event
filters,
use the
raw
command format. To
configure
an entry in the
filter
table:
root@dellemc-diag-os:~# ipmitool raw 0x04 0x12 0x6 0x2 0xc0 0x1 0x2 0x2
0xff
0xff
0xff
0xff
0xff
0x01 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0
Byte 3 (0x60) – event filter table cmd
Byte 4(0x2) – filter number
Byte 5(0xc0) – filter config(enable)
Byte 6(0x1) – action(alert)
Byte 7(0x2) – policy number
Byte 8(0x2)
- event severity(information)
Byte 9(0xff) – slave address
Configuration
methods
13