54
Fabric OS Command Reference
53-1001764-01
auditCfg
22
auditCfg
Modifies and displays the audit log filter configuration.
SYNOPSIS
auditcfg --class
audit_class
auditcfg --enable
|
--disable
auditcfg --severity
severity_level
auditcfg --show
DESCRIPTION
Use this command to configure the audit logging and to display the audit log configuration. This
command allows you to set filters by configuring certain classes, to add or remove any of the classes in
the filter list, to set severity levels for audit messages, and to enable or disable audit filters. Based on the
configuration, certain classes are logged to syslog for auditing. Syslog configuration is required for
logging audit messages. Use the
syslogdIpAdd
command to add the syslogd server IP address.
NOTES
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS
This command has the following operands:
--class
Configures filters for a specified audit class. To add or remove any of the classes
in the filter list, reissue the
--class
option.
audit_class
Specifies the filters to be configured. Valid values are: 1-ZONE, 2-SECURITY,
3-CONFIGURATION, 4-FIRMWARE, 5-FABRIC, 6-FW (Fabric Watch), and 7-LS
(Logical Switch). This operand is required.
--severity
Sets audit severity level. When severity is set, only log messages of type
severity_level
and higher are displayed.
severity_level
Valid values are INFO, WARNING, ERROR, and CRITICAL. By default, all
messages are logged. This operand is required.
--enable
Enables all filters.
--disable
Disables all filters.
--show
Displays the current configuration. This operand is optional.
EXAMPLES
To configure the audit log filter:
switch:admin>
auditcfg --class 2,3
Audit filter is configured.
To enable audit logging:
switch:admin>
auditcfg --enable
Audit filter is enabled.
Summary of Contents for Fabric OS v7.0.1
Page 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Page 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Page 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Page 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...