logmgr fetch

Fetches logs from remote units if there is sufficient memory to store them locally.
Syntax
logmgr fetch module sub-module severity unit-id
Command Default

Fetching of logs is not enabled by default.

Parameters
module
Specifies a module or list of modules (separated by commas) from which logs are collected. Enter "all" to include all modules.
sub-module
Specifies a sub-module or list of sub-modules (separated by commas) from which logs are collected. Tou must enter "all" if multiple modules are specified. If only a single module is specified, then specify a single sub-module or list of sub-modules (separated by commas) belonging to the module.
severity
Specifies the severity level or list of severity levels (separated by commas) by which logs are collected. Enter "all" to include all severity levels.
unit-id
Specifies the unit or list of units (separated by commas) from which logs are collected. Enter "all" to fetch the logs from all units.
Modes

Privileged EXEC mode

Usage Guidelines

Use the logmgr fetch command in conjunction with the show log debug command to view the logs.

Examples

The following example fetches the logs from remote unit 2.

device# logmgr fetch all all all 2                           
Batch Fetch Starting...units 2 in progress
        Bytes Module/Submodule/Category (high=emerg,alert,crit,err low=warning,notice,info,debug)
UNIT 2
       321560 infra/log_clf/high
       331560 infra/log_clf/low
       313560 infra/logmgr/high
       323560 infra/logmgr/low
       289560 infra/qos/high 
       299560 infra/qos/low
       329631 infra/stacking/high
       339633 infra/stacking/low
       289560 l2/l2_sub/high
       299560 l2/l2_sub/low
       289560 l3/l3_sub/high
       299560 l3/l3_sub/low
       337560 mcast/mcast_sub/high
       347560 mcast/mcast_sub/low
       281560 nms/lldp/high
       291560 nms/lldp/low
       305560 nms/nms_sub/high
       315560 nms/nms_sub/low
       345560 platform/chassis/high
       355560 platform/chassis/low
       385560 security/security_sub/high
       395560 security/security_sub/low
       353570 system/system_sub/high
       363560 system/system_sub/low
Fetch is complete

History
Release version Command history
08.0.95 This command was introduced.