Dell S5212F-ON EMC PowerSwitch S5200-ON Series BMC User Guide March 2021 - Page 29

Default configuration restore, Audit log configuration, Restore default configuration command

Page 29 highlights

● Netfn-0x32 ● Command-0x68 Audit log configuration ● Request data byte 1-Cmd ○ [7:2] Reserved ○ [1:0] 01h-Audit log ● Request data byte 1-Status ○ [7:2] Reserved ○ [1:0] 01h-Disabled ○ 01h-Enable local ● Response data byte 1-00h-success ○ CCh=invalid data field ○ FFh=unspecified error ● Response data byte 1-Cmd ○ [7:2] Reserved ○ [1:0] 00h-system log ● Response data byte 2-Status ○ [7:2] Reserved ○ [1:0] 01h-Disabled ○ 01h-Enable local ● Response data byte 3-70 for REMOTE (68 bytes) or 3-7 for LOCAL (5 bytes)-ENABLED REMOTE ○ NOTE: These request data bytes are required only when you enable either the local or remote system log. 64bytes : Hostname (ASCII) Remote syslog server 4bytes : port number To set the remote server ip address to 10.0.124.22 and port to 770: ipmitool -I lanplus -H xx.xx.xx.xx -U xxx -P xxx raw 0x32 0x68 0x00 0x02 0x31 0x30 0x2e 0x30 0x2e 0x31 0x32 0x34 0x2e 0x32 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x03 0x00 0x00 ENABLED LOCAL 4bytes : Size (LSB first) size of each file to rotate (file size is from 3 to 65535 KB) 1bytes : Rotate Number of back-up files after logrotate (maximum 1 file) To set the file size to 100 bytes, use the IPMI command: ipmitool -I lanplus -H xx.xx.xx.xx -U xxx -P xxx raw 0x32 0x68 0x00 0x01 0x64 0x00 0x00 0x00 0x01 Default configuration restore Use configuration restore to start the configuration from scratch. For example, use configuration restore to remove the old configuration and start over if you reinstall the system or move the system to a new location. Restore default configuration command ● NetFn-0x32 Configuration methods 29

  • 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

Netfn—0x32
Command—0x68
Audit log configuration
Request data byte 1—Cmd
[7:2] Reserved
[1:0] 01h–Audit log
Request data byte 1—Status
[7:2] Reserved
[1:0] 01h–Disabled
01h–Enable local
Response data byte 1—00h-success
CCh=invalid data field
FFh=unspecified error
Response data byte 1—Cmd
[7:2] Reserved
[1:0] 00h–system log
Response data byte 2—Status
[7:2] Reserved
[1:0] 01h–Disabled
01h–Enable local
Response data byte 3-70 for REMOTE (68 bytes) or 3-7 for LOCAL (5 bytes)—ENABLED REMOTE
NOTE:
These request data bytes are required only when you enable either the local or remote system log.
64bytes : Hostname (ASCII)
Remote syslog server
4bytes : port number
To set the remote server ip address to 10.0.124.22 and port to 770:
ipmitool -I lanplus -H xx.xx.xx.xx -U xxx -P xxx raw 0x32 0x68 0x00
0x02 0x31 0x30 0x2e 0x30 0x2e 0x31 0x32 0x34 0x2e 0x32 0x32 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x02 0x03 0x00 0x00
ENABLED LOCAL
4bytes : Size (LSB first)
size of each file to rotate (file size is from 3 to 65535 KB)
1bytes : Rotate
Number of back-up files after logrotate (maximum 1 file)
To set the file size to 100 bytes, use the IPMI command:
ipmitool -I lanplus -H xx.xx.xx.xx -U xxx -P xxx raw 0x32 0x68 0x00
0x01 0x64 0x00 0x00 0x00 0x01
Default configuration restore
Use configuration restore to start the configuration from scratch. For example, use configuration restore to remove the old
configuration and start over if you reinstall the system or move the system to a new location.
Restore default configuration command
NetFn—0x32
Configuration methods
29