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 MSM/MM (for modular systems) or node (for SummitStack)
- Backup MSM/MM (for modular systems) or node (for SummitStack)
- Syslog host
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 Networks NetSight 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-msm |primary-node| backup-msm | backup-node| session | syslog [all | ipaddress | ipPort] {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-msm | primary-node | backup-msm | backup-node | session | syslog [all | ipaddress | ipPort] {vr vr_name} [local0 ... local7]]]
Refer to your UNIX documentation for more information about the syslog host
facility.