unconfigure log target format

unconfigure log target [console | memory-buffer | nvram | session | syslog [all | ipaddress {udp-port udp_port} | ipPort {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.
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 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-slot—on (modular switches only)
  • 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-slot—on (modular switches only)
  • 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.

Platform Availability

This command is available on all platforms.