Displays the log configuration for the specified target.
| console | Show the log configuration for the console display. |
| memory-buffer | Show the log configuration for volatile memory. |
| nvram | Show the log configuration for NVRAM. |
| primary-node | Specifies the primary node in a stack. |
| backup-node | Specifies the backup-node in a stack. |
| session | Show the log configuration for the current session (including console display). |
| syslog | Show the configuration for the specified syslog target. |
| ipaddress | Specifies the syslog IP address. |
| ipPort | Specifies the UDP port number for the syslog target. |
| tls_port | Specifies remote Syslog server Transport Layer Security (TLS) for connection type. |
| tls_port | TLS port number. |
| vr_name | Specifies the virtual router
that can reach the server IP address. Note: User-created VRs are supported only on the platforms listed for
this feature in the ExtremeXOS v33.2.1 Licensing Guide
document..
|
| local0 ... local7 | Specifies the local syslog facility. |
If no options are specified, the command displays the configuration for the current session and console display.
If a virtual router is not specified, VR-Mgmt is used.
This command displays the log configuration for the specified target. The associated filter, severity, match expression, and format is displayed.
The following command displays the log configuration:
show log configuration target
The following is sample output from this command:
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.Condit ion> Log Target : primary-msm Enabled : yes Filter Name : DefaultFilter Match regex : Any Severity : Warning (through Critical) Log Target : backup-msm Enabled : yes Filter Name : DefaultFilter Match regex : Any Severity : Warning (through Critical)
# sh log configuration
Debug-Mode: Disabled
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.Condition>
Buffer size : 1000 messages
Percent Full : 60%
Full Alert : None
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.Condition>
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>
# sh log configuration
Debug-Mode: Disabled
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.Condition>
Buffer size : 1000 messages
Percent Full : 60%
Full Alert : 90%
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.Condition>
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>
# show log configuration
Debug-Mode: Disabled
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.Condition>
Buffer size : 1000 messages
Percent Full : 100% (wrapping)
Full Alert : 90%
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.Condition>
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>
Showing Syslog as log target:
# show log configuration target syslog
Log Target : syslog; 10.68.6.3:6555 (vr VR-Mgmt), local0
Enabled : yes
Filter Name : DefaultFilter
Match regex : Any
Severity : Debug-Data (through Critical)
Format : PRI Mmm DD HH:MM:SS HOSTNAME TAG:
Port Type : TLS
Recnct Cnt : 2
Recnct Msg : CA Certificate not found. Use 'Download ssl certificate trusted-ca' command to download a CA certificate.
Log Target : syslog; 10.68.6.3:6555 (vr VR-Mgmt), local1
Enabled : no
Filter Name : DefaultFilter
Match regex : Any
Severity : Debug-Data (through Critical)
Format : PRI Mmm DD HH:MM:SS HOSTNAME TAG:
Port Type : TLS
Recnct Cnt : 0
Recnct Msg : No Error
Log Target : syslog; 10.68.6.3:6519 (vr VR-Mgmt), local0
Enabled : yes
Filter Name : DefaultFilter
Match regex : Any
Severity : Debug-Data (through Critical)
Format : PRI Mmm DD HH:MM:SS HOSTNAME TAG:
Port Type : UDP
This command was first available in ExtremeXOS 10.1.
The ipPort parameter was first available in ExtremeXOS 11.0.
The local0 ... local7 keywords were made optional in ExtremeXOS 11.4.
The udp-port parameter was added in ExtremeXOS 21.1.
Transport Layer Security (TLS) option added in ExtremeXOS 22.1.
Connection port type (TLS or UDP) and connection messages added in ExtremeXOS 22.1
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, and X695 series switches.