0 |
| A – Command Line Interface |
|
| |
|
| Set Log Command |
|
|
|
|
|
|
| level [filter] | |
| Specifies the severity level given by [filter] to use in monitoring and logging events | |
| for the specified components or ports. [filter] can be one of the following values: | |
| Critical | |
| Monitors critical events. The critical level describes events that are generally | |
| disruptive to the administration or operation of the fabric, but require no | |
| action. | |
| Warn | |
| Monitors warning and critical events. The warning level describes events | |
| that are generally not disruptive to the administration or operation of the | |
| fabric, but are more important than the informative level events. | |
| Info | |
| Monitors informative, warning, and critical events. The informative level | |
| describes routine events associated with a normal fabric. This is the default | |
| severity level. | |
| None | |
| Monitors none of the severity levels. | |
| port [port_list] | |
| Specifies one or more ports to monitor for events. Choose one of the following | |
| values: | |
| [port_list] | |
| Specifies port or ports to monitor. Use a <space> to delimit values in the list. | |
| Ports are numbered beginning with 0. | |
| All | |
| Specifies all ports. | |
| None | |
| Disables monitoring on all ports. | |
| restore | |
| Restores and saves the port, component, and level settings to the default values. | |
| save | |
| Saves the log settings for the component, severity level, port, and display level. | |
| These settings remain in effect after a switch reset. The log settings can be | |
| viewed using the Show Log Settings command. To export log entries to a file, use | |
| the Set Log Archive command. | |
| start | |
| Starts the logging of events based on the Port, Component, and Level keywords | |
| assigned to the current configuration. The logging continues until you enter the | |
| Set Log Stop command. | |
| stop | |
| Stops logging of events. |