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

Event log, Reserve system event log SEL command, Get SEL command, Set LOG configuration command

Page 28 highlights

Table 3. Firewall parameters (continued) Parameter # Remove the IPv6 port number range rule 36 Parameter data ● [2:3]-Port number from the ports blocked or unblocked based on the state. Data 1-Protocol TCP and UDP ● 0 = TCP ● 1 = UDP ● 2 = both TCP and UDP ● Data 2:5-port number ● [2:3]-Port number from the ports blocked or unblocked based on the state. ● [4:5]-Port number till the ports are blocked or u nblocked based on the state. Event log To get the IPMI event log, use the ipmitool sel list command. To clear the event log, use the ipmitool sel clear command. For IPMI event log settings, see the IPMI Specification v2.0 chapter 31.4 Reserve SEL Command and 31.5 Get SEL Entry Command. Reserve system event log (SEL) command Use reserve SEL to set the present owner of the SEL. This reservation provides a limited amount of protection on repository access from the IPMB when you delete or incrementally read records. Use get SEL to read the SEL repository. ● Response data byte 1-Completion code ○ 81h-cannot execute the command, SEL erase in progress ● Response data byte 2-Reservation ID, LS byte 0000h reserved. ● Response data byte 3-Reservation ID, SM byte Get SEL command ● Request data byte 1:2-Reservation IS, LS byte first. Only required for a partial get. Otherwise use 0000h. ● Request data byte 3:4-SEL record ID, LS byte first. ○ 0000h=GET FIRST ENTRY ○ FFFFh=GET LAST ENTRY ● Request data byte 5-Offset into record ● Request data byte 6-Bytes to read. FFH means read entire record. ● Response data byte 1-Completion code. Returns an error completion code if the SEL is empty. ○ 81h=cannot execute the command, SEL erase in progress. ● Response data byte 2:3-Next SEL record ID. LS byte first (returns FFFFh if the record just returned is the last record). ○ NOTE: FFFFh is not allowed as the record ID of an actual record. For example, the record ID in Record Data for the last record cannot be FFFFh. ● Response data byte 4:N-Record data, 16 bytes for the entire record. Set LOG configuration command To set the system or audit log configuration, use the set LOG configuration command. 28 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

Table 3. Firewall parameters (continued)
Parameter
#
Parameter data
[2:3]—Port number from the ports
blocked or unblocked based on the
state.
Remove the IPv6 port number range rule
36
Data 1—Protocol TCP and UDP
0 = TCP
1 = UDP
2 = both TCP and UDP
Data 2:5—port number
[2:3]—Port number from the ports
blocked or unblocked based on the
state.
[4:5]—Port number till the ports are
blocked or u nblocked based on the
state.
Event log
To get the IPMI event log, use the
ipmitool sel list
command.
To clear the event log, use the
ipmitool sel clear
command.
For IPMI event log settings, see the
IPMI Specification v2.0
chapter 31.4
Reserve SEL Command
and 31.5
Get SEL Entry
Command
.
Reserve system event log (SEL) command
Use reserve SEL to set the present owner of the SEL. This reservation provides a limited amount of protection on repository
access from the IPMB when you delete or incrementally read records. Use get SEL to read the SEL repository.
Response data byte 1—Completion code
81h—cannot execute the command, SEL erase in progress
Response data byte 2—Reservation ID, LS byte 0000h reserved.
Response data byte 3—Reservation ID, SM byte
Get SEL command
Request data byte 1:2—Reservation IS, LS byte first. Only required for a partial get. Otherwise use 0000h.
Request data byte 3:4—SEL record ID, LS byte first.
0000h=GET FIRST ENTRY
FFFFh=GET LAST ENTRY
Request data byte 5—Offset into record
Request data byte 6—Bytes to read. FFH means read entire record.
Response data byte 1—Completion code. Returns an error completion code if the SEL is empty.
81h=cannot execute the command, SEL erase in progress.
Response data byte 2:3—Next SEL record ID. LS byte first (returns FFFFh if the record just returned is the last record).
NOTE:
FFFFh is not allowed as the record ID of an actual record. For example, the record ID in Record Data for the
last record cannot be FFFFh.
Response data byte 4:N—Record data, 16 bytes for the entire record.
Set LOG configuration command
To set the system or audit log configuration, use the
set LOG configuration
command.
28
Configuration methods