Sending Event Messages to Log Targets
You can specify seven types of targets to receive log messages:
- Console display
- Current session (Telnet or console display)
- Memory buffer (can contain 200 to 20,000 messages)
- NVRAM (messages remain after reboot)
- Primary node (for SummitStack)
- Backup node (for SummitStack)
- Syslog server, supports IPv6 address family as of
ExtremeXOS 21.1
The first six targets exist by default; but before enabling any syslog
host, you must add the host's information to the switch using the configure syslog command. Extreme Management Center
or Ridgeline can be a syslog target.
By default, the memory buffer and NVRAM targets are already enabled and
receive messages.
-
To start sending messages to the targets, use the
following command:
enable log target [console | memory-buffer | nvram | primary-node|backup-node| session | syslog [all | ipaddress
udp-port {udp_port} | ipPort | ipaddress
tls_port {tls_port}] {vr
vr_name} {local0...local7}]]
After you enable this feature, the target receives the messages for
which it is configured. See Target Configuration for information on viewing the current configuration
of a target. The memory buffer can contain only the configured number of messages, so
the oldest message is lost when a new message arrives, when the buffer is full.
-
To stop sending messages to the target, use the following
command:
disable log target [console | memory-buffer | nvram |primary-node | backup-node | session | syslog [all | ipaddress
udp-port {udp_port} | ipPort | ipaddress
tls_port {tls_port}] {vr
vr_name} {local0
...
local7}]]
Refer to your UNIX documentation for more information about the syslog host
facility.