Configures the remote Syslog server host address, and filters messages to be sent to the remote Syslog target.
ipaddress | Specifies the remote Syslog server 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 (default is 6514). |
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 32.6.1 Feature License
Requirements
document.
|
local0 ... local7 | Specifies the local Syslog facility. |
If a virtual router is not specified, VR-Mgmt is used. If UDP port is not specified, 514 is used. If TLS port is not specified, 6514 is used.
The switch log overwrites existing log messages in a wrap-around memory buffer, which may cause you to lose valuable information once the buffer becomes full. The remote Syslog server does not overwrite log information, and can store messages in non-volatile files (disks, for example).
The enable syslog command must be issued in order for messages to be sent to the remote Syslog server(s). Syslog is disabled by default. A total of four Syslog servers can be configured at one time.
When a Syslog server is added, it is associated with the filter DefaultFilter. Use the configure log target filter command to associate a different filter.
The Syslog facility level is defined as local0 – local7. The facility level is used to group Syslog data.
configure syslog add 10.0.0.1 local1The following example adds the remote Syslog server with an IP address of 2001:11::123:
configure syslog add 2001:11::123 local1
This command was first available in ExtremeXOS 10.1.
The ipPort parameter was first available in ExtremeXOS 11.0.
The udp-port parameter and support for the EMS to send log messages to Syslog servers having IPv6 address was added in ExtremeXOS 21.1.
Transport Layer Security (TLS) option added in ExtremeXOS 22.1.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.