No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

X6800 Server Node iBMC (V300 or Later) User Guide 07

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting Logs Types for Reporting (syslog -d logtype)

Setting Logs Types for Reporting (syslog -d logtype)

Function

The syslog -d logtype command is used to set the types of logs to be reported as syslog packets.

Format

ipmcset -t syslog -d logtype -v <destination> <type>

Parameters

Parameter Description Value
destination Specifies the number of a syslog reporting channel. 1 to 4
type Specifies the types of logs to be reported.
  • none: No logs will be reported.
  • all: All logs will be reported.
  • operationlogs: Operations logs will be reported.
  • securitylogs: Security logs will be reported.
  • eventlogs: Event logs will be reported.

Usage Guidelines

None

Example

# Set the log types for channel 4 to operation and event logs.

iBMC:/-> ipmcset -t syslog -d logtype -v 4 operationlogs eventlogs
Set syslog log type successfully.

# Query the types of logs reported through channel 4.

iBMC:/-> ipmcget -t syslog -d iteminfo

Item Num        | state      | port       | dest address         | log type
1               | disabled   | 65535      | host                 | operationlogs securitylogs eventlogs
2               | disabled   | 0          |                      | operationlogs securitylogs eventlogs
3               | disabled   | 0          |                      | operationlogs securitylogs eventlogs
4               | disabled   | 0          |                      | operationlogs eventlogs
Translation
Download
Updated: 2019-02-28

Document ID: EDOC1100019360

Views: 76950

Downloads: 384

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next