show log configuration

show log configuration

Description

Displays the log configuration for switch log settings, and for certain targets.

Syntax Description

This command has no arguments or variables.

Default

N/A.

Usage Guidelines

This command displays the log configuration for all targets. The state of the target, enabled or disabled is displayed. For the enabled targets, the associated filter, severity, match expression, and format is displayed. The debug mode state of the switch is also displayed.

Example

The following command displays the configuration of all the log targets and all existing filters:

show log configuration

The following is sample output from this command:

Debug-Mode: Enabled
Log Target      : memory-buffer
Enabled ?   : yes
Filter Name : DefaultFilter
Match regex : Any
Severity    : Debug-Data (through Critical)
Format      : MM/DD/YYYY HH:MM:SS.hh <Severity:Component.SubComponent.Condit
ion>
Buffer size : 1000 messages
Log Target      : nvram
Enabled ?   : yes
Filter Name : DefaultFilter
Match regex : Any
Severity    : Warning (through Critical)
Format      : MM/DD/YYYY HH:MM:SS.hh <Severity:Component.SubComponent.Condit
ion>
Log Target      : console
Enabled ?   : no
Filter Name : DefaultFilter
Match regex : Any
Severity    : Info (through Critical)
Format      : MM/DD/YYYY HH:MM:SS.hh <Severity:Component.SubComponent.Condition>
Log Filter Name: DefaultFilter
I/                                             Severity
E  Comp.   Sub-comp.   Condition               CEWNISVD
-  ------- ----------- ----------------------- --------
I  All                                         --------
Log Filter Name: myFilter
I/                                             Severity
E  Comp.   Sub-comp.   Condition               CEWNISVD
-  ------- ----------- ----------------------- --------
I  STP                                         --------
Include/Exclude: I - Include,  E - Exclude
Component Unreg: * - Component/Subcomponent is not currently registered
Severity Values: C - Critical,  E - Error,  W - Warning,  N - Notice,  I - Info
Debug Severity : S - Debug-Summary,  V - Debug-Verbose,  D - Debug-Data
+ - Debug Severities, but log debug-mode not enabled
If Match parameters present:
Parameter Flags: S - Source,  D - Destination, (as applicable)
I - Ingress,  E - Egress,  B - BGP
Parameter Types: Port - Physical Port list,  Slot - Physical Slot #
MAC  - MAC address,  IP - IP Address/netmask,  Mask - Netmask
VID  - Virtual LAN ID (tag),  VLAN - Virtual LAN name
L4   - Layer-4 Port #,  Num  - Number,  Str  - String
Nbr  - Neighbor, Rtr  - Routerid, EAPS - EAPS Domain
Proc - Process Name
Strict Match   : Y - every match parameter entered must be present in the event
N - match parameters need not be present in the event

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.