Cisco WS-C3560E-24PD-E Command Reference - Page 240
logging file
View all Cisco WS-C3560E-24PD-E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 240 highlights
logging file Chapter 2 Catalyst 3560 Switch Cisco IOS Commands logging file Use the logging file global configuration command to set logging file parameters. Use the no form of this command to return to the default setting. logging file filesystem:filename [max-file-size | nomax [min-file-size]] [severity-level-number | type] no logging file filesystem:filename [severity-level-number | type] Syntax Description filesystem:filename max-file-size nomax min-file-size severity-level-number type Alias for a flash file system. Contains the path and name of the file that contains the log messages. The syntax for the local flash file system: flash: (Optional) Specify the maximum logging file size. The range is 4096 to 2147483647. (Optional) Specify the maximum file size of 2147483647. (Optional) Specify the minimum logging file size. The range is 1024 to 2147483647. (Optional) Specify the logging severity level. The range is 0 to 7. See the type option for the meaning of each level. (Optional) Specify the logging type. These keywords are valid: • emergencies-System is unusable (severity 0). • alerts-Immediate action needed (severity 1). • critical-Critical conditions (severity 2). • errors-Error conditions (severity 3). • warnings-Warning conditions (severity 4). • notifications-Normal but significant messages (severity 5). • informational-Information messages (severity 6). • debugging-Debugging messages (severity 7). Defaults The minimum file size is 2048 bytes; the maximum file size is 4096 bytes. The default severity level is 7 (debugging messages and numerically lower levels). Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. 2-208 Catalyst 3560 Switch Command Reference 78-16405-05