2-144
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
logging file
Usage Guidelines
The log file is stored in ASCII text format in an internal buffer on the switch. You can access logged
system messages by using the switch command-line interface (CLI) or by saving them to a properly
configured syslog server. If the switch fails, the log is lost unless you had previously saved it to flash
memory by using the
logging file flash:
filename
global configuration command.
After saving the log to flash memory by using the
logging file
flash:
filename
global configuration
command, you can use the
more flash:
filename
privileged EXEC command to display its contents.
The command rejects the minimum file size if it is greater than the maximum file size minus 1024; the
minimum file size then becomes the maximum file size minus 1024.
Specifying a
level
causes messages at that level and numerically lower levels to be displayed.
You can verify the configuration by entering the
show running-config
privileged EXEC command.
Examples
This example shows how to save informational log messages to a file in flash memory:
Switch(config)#
logging file flash:logfile informational
Related Commands
Command
Description
show running-config
Displays the operating configuration.
Содержание ME 3600X
Страница 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Страница 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...