
clear logging
Deletes all the existing logging history for the specified platforms.
Syntax: clear logging {all | server {all | server-id} | module {all | bay/slot } | bay {all | bay/controller}}
server {all | server-id}
Specifies the server for which to delete logging files.
module {all | bay/slot}
Specifies the bay and module slot for which to delete logging files. Currently 1 bay and 1-39 slots are supported
bay {all | bay/controller}
Specifies the bay and bay controller for which to delete logging files. Currently 1 bay and 2 bay controllers are supported.
Description: This command deletes all the existing logging history for the specified platform or platforms. The logging system stores up to 199 (logging-max-history) files for each platform in the system. A platform is a specific module such as a routing module, route server module, or bay controller module.
Use the keyword all to remove all logging files for a specified platform.
Multiple platform names can be listed in one clear logging command line.
Factory Default: None.
Command Mode: Privileged
Example 1: The following example clears all logging files for all bay controllers:
router#clear logging bay all
router#
Example 2: The following command clears all logging files for bay controller 1 in bay 1.
router#clear logging bay 1/1
router#
Example 3: The following example clears all logging files on the system:
router#clear logging all
router#
Example 4: The following command also clears all logging files for all platforms on the Avici router system:
router#clear logging module all server all bay all
router#
Example 5: The following example clears the logging files for modules 14 and 17 in bay 1.
router#clear logging module 1/14 module 1/17
router#
Related Commands: logging-max-history
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Logging.fm
HTML File Name: Logging2.html
Last Updated: 02/25/05 at 14:31:54