Dell Z9264F-ON EMC PowerSwitch BMC User Guide March 2021 - Page 13

Add and delete users, Alert policy setup

Page 13 highlights

The following output using the ipmitool lan alert print command shows that the configuration was successful: root@dellemc-diag-os:~# ipmitool lan alert print 1 1 Alert Destination : 1 Alert Acknowledge : Unacknowledged Destination Type : PET Trap Retry Interval : 0 Number of Retries : 0 Alert Gateway : Default Alert IP Address : 10.11.227.105 Alert MAC Address : 00:00:00:00:00:00 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: 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

The following output using the
ipmitool lan alert print
command shows that the configuration was successful:
root@dellemc-diag-os:~#
ipmitool lan alert print 1 1
Alert Destination
: 1
Alert Acknowledge
: Unacknowledged
Destination Type
: PET Trap
Retry Interval
: 0
Number of Retries
: 0
Alert Gateway
: Default
Alert IP Address
: 10.11.227.105
Alert MAC Address
: 00:00:00:00:00:00
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:
Configuration methods
13