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

Alert policy setup, Add and delete users

Page 16 highlights

Alert policy setup To setup the alert policy, you must use the ipmitool raw command. To view the current policy table, use the ipmitool pef policy list command. root@dellemc-diag-os:~# ipmitool pef policy list 1 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 2 | 2 | enabled | Match-always | 1 | 802.3 LAN | PET | AMI | 0 | 0 | 10.11.227.105 | 00:00:00:00:00:00 3 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 4 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 5 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 6 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 7 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 8 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 9 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 10 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 . . . 57 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 58 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 59 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 60 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 There are 60 entries available for a policy table. The following example shows setting a policy entry. For a detailed description of the table entries, see the IPMI Specification v2.0 Alert policy table entry. root@dellemc-diag-os:~# ipmitool raw 0x4 0x12 0x9 0x2 0x28 0x11 0x00 root@dellemc-diag-os:~# ipmitool pef policy list 1 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 2 | 2 | enabled | Match-always | 1 | 802.3 LAN | PET | AMI | 0 | 0 | 10.11.227.105 | 00:00:00:00:00:00 3 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 4 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 5 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 6 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 7 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 8 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 9 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 10 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 . . . 57 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 58 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 59 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 60 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0 Add and delete users The following describes adding and deleting users: There are 10 entries for a user list. 1 Add a new user by modifying one of the empty entries in the user list using the following: $ ./ipmitool -H xx.xx.xxx.xx -I lanplus -U admin -P admin user set name 3 $ ./ipmitool -H xx.xx.xxx.xx -I lanplus -U admin -P admin user set password 3 Password for user 3: 16 Configuration methods

  • 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

Alert policy setup
To setup the alert policy, you must use the
ipmitool raw
command.
To view the current policy table, use the
ipmitool pef policy list
command.
root@dellemc-diag-os:~#
ipmitool pef policy list
1 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
2 | 2 | enabled | Match-always | 1 | 802.3 LAN | PET | AMI | 0 | 0 | 10.11.227.105 | 00:00:00:00:00:00
3 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
4 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
5 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
6 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
7 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
8 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
9 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
10 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
.
.
.
57 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
58 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
59 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
60 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
There are 60 entries available for a policy table. The following example shows setting a policy entry. For a detailed description of the table
entries, see the
IPMI
Specification
v2.0
Alert policy table entry
.
root@dellemc-diag-os:~#
ipmitool raw 0x4 0x12 0x9 0x2 0x28 0x11 0x00
root@dellemc-diag-os:~#
ipmitool pef policy list
1 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
2 | 2 | enabled | Match-always | 1 | 802.3 LAN | PET | AMI | 0 | 0 | 10.11.227.105 | 00:00:00:00:00:00
3 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
4 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
5 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
6 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
7 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
8 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
9 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
10 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
.
.
.
57 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
58 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
59 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
60 | 0 | disabled | Match-always | 0 | IPMB (I2C) | 0
Add and delete users
The following describes adding and deleting users:
There are 10 entries for a user list.
1
Add a new user by modifying one of the empty entries in the user list using the following:
$ ./ipmitool -H xx.xx.xxx.xx -I lanplus -U admin -P admin user set name 3
<name>
$ ./ipmitool -H xx.xx.xxx.xx -I lanplus -U admin -P admin user set password 3
Password for user 3:
16
Configuration
methods