A – Command Line Interface | |
Set Log Command |
Set Log Command
Specifies the type of entries to be entered in the event log. The log is a storage file contained on the switch. The log can hold a maximum of 200 entries. When the log becomes full, the entries are replaced, starting with the oldest entry, to produce a list of the last 200 events which occurred. Log entries are created for ports, components, and event severity levels, based on the settings defined for the active configuration.
Authority | Admin |
Syntax | set log |
| archive |
| clear |
| component [list] |
| level [level] |
| port [ports] |
| restore |
| save |
| start (default) |
| stop |
Keywords | archive |
| Archives the log entries to a file on the switch named logfile that can be |
| downloaded from the switch using FTP. (FTP to the switch, log in with |
| username/password of “images” for both, and type “get logfile”.) |
| clear |
| Clears all log entries. |
| component [list] |
| Specifies one or more components to monitor for events. Use spaces to delimit |
| values in the list. Choose one or more of the following values: |
| all |
| Monitors all components. To maintain optimal switch performance, do not |
| use this setting with the Level keyword set to Info. |
| blade |
| Monitors modular circuit boards in cabinets, racks, and |
| switches. |
| chassis |
| Monitors chassis hardware components such as fans and power supplies. |
| eport |
| Monitors all E_Ports. |
| mgmtserver |
| Monitors management server status. |
| nameserver |
| Monitors name server status. |