unconfigure log target format

unconfigure log target [console | memory-buffer | nvram | session | syslog [all | ipaddress {udp-port {udp_port}} | ipPort | ipaddress tls-port {tls_port} ] {vr vr_name} {local0...local7}] format

Description

Resets the log target format to its default values.

Syntax Description

console Specifies the console display format.
memory-buffer Specifies the switch memory buffer format.
nvram Specifies the switch NVRAM format.
session Specifies the current session (including console display) format.
syslog Specifies a syslog target format.
all Specifies all remote syslog servers.
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 31.5 Feature License Requirements document.
local0 ... local7 Specifies the local syslog facility.
format Specifies that the format for the target will be reset to the default value.

Default

When a target format is unconfigured, it is reset to the default values.

The following defaults apply to console display, memory buffer, NVRAM, and session targets:
  • timestamp—hundredths
  • date—mm-dd-yyyy
  • severity—on
  • event-name—condition
  • host-name—off
  • sequence-number—off
  • process-name—off
  • process-id—off
  • source-line—off
The following defaults apply to syslog targets (per RFC 3164):
  • timestamp—seconds
  • date—mmm-dd
  • severity—on
  • event-name—none
  • host-name—off
  • sequence-number—off
  • process-name—off
  • process-id—off
  • source-line—off

Usage Guidelines

Use this command to reset the target format to the default format.

Example

The following command sets the log format for the target session (the current session) to the default:

unconfigure log target session format

History

This command was first available in ExtremeXOS 10.1.

The udp-port parameter was added in ExtremeXOS 21.1.

Transport Layer Security (TLS) option added in ExtremeXOS 22.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5420, and 5520 series switches.