Specifying Show Commands For System Information Logging - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 22
Administering the Switch
This example shows how to enable system information logging and verify that it is enabled:
Console> (enable) set system info-log enable
Successfully enabled system information logging.
Console> (enable) show system info-log
System Logging
--------------
Enabled
Index
-----
Console> (enable)

Specifying show Commands for System Information Logging

You can specify up to 15 show commands whose output is periodically logged in a file on a specified
server. You must use a delimiting character on either side of the show command. You can enter only one
show command at a time.
You can specify the order in which the show command is executed by entering the position argument;
the valid values are from 1–15. The position argument is the number of the show command in the system
information logging index.
To specify the show commands whose output is logged in a file, perform this task in privileged mode:
Task
Step 1
Specify the show commands whose output is
logged.
Step 2
Verify that system information logging is enabled. show system info-log
This example shows how to specify a show command and verify that it is included in the system
information logging:
Console> (enable) set system info-log command $show version$
System command was successfully added to the list.
Console> (enable) set system info-log command $show module$
System command was successfully added to the list.
Console> (enable) set system info-log command $show environment$
System command was successfully added to the list.
Console> (enable) set system info-log command $show config$
System command was successfully added to the list.
Console> (enable) show system info-log
System Logging
--------------
Enabled
Index
-----
Console> (enable)
OL-8978-04
Host
---------------
-
System Command
----------------------------------------------------------
Host
---------------
-
System Command
----------------------------------------------------------
1
show version
2
show module
3
show environment
4
show config
File
-----------------------------------
tftp:sysinfo
Command
set system info-log command
{command_string} [position]
File
-----------------------------------
tftp:sysinfo
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Logging System Information to a TFTP or rcp Server
Interval
--------
1440
Interval
--------
1440
22-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents