Users Guide

Table Of Contents
Supported
releases
10.5.0 or later
logging server
Configures a remote syslog server.
Syntax
logging server {ipv4–address | ipv6–address} [tcp | udp | tls] [port-number]
[severity severity-level] [vrf {management | vrf-name]
Parameters
ipv4–address | ipv6–address — (Optional) Enter the IPv4 or IPv6 address of the logging server.
tcp | udp | tls port-number — (Optional) Send syslog messages using TCP, UDP, or TLS transport
to a specified port on a remote logging server, from 1 to 65535.
severity-level — (Optional) Set the logging threshold severity:
log-emerg — System is unusable.
log-alert — Immediate action is needed.
log-crit — Critical conditions
log-err — Error conditions
log-warning — Warning conditions
log-notice — Normal, but significant conditions (default)
log-info — Informational messages
log-debug — Debug messages
vrf {management | vrf-name} — (Optional) Configure the logging server for the management or a
specified VRF instance.
Defaults
System logging to a remote server is not configured. When configured, system messages are sent over UDP to
port 514 on a remote logging server by default. System messages of severity-level log-notice and lower are
sent.
Command Mode CONFIGURATION
Usage Information Use the logging server command to forward log messages to syslog servers for storage.
The tls option requires that a valid security profile is already configured with the logging security-
profile command. If you delete the logging security profile, system messages are sent using UDP (default) to a
remote syslog server.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.5.0.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of this command deletes the syslog server.
Example
OS10(config)# logging server 10.11.86.139 severity log-info
OS10(config)# logging server fda8:6c3:ce53:a890::2 tcp 1468
OS10(config)# logging server 10.11.86.139 vrf management severity log-debug
Supported
Releases
10.5.0 or later
show logging
Displays system logging messages by log file, process-names, or summary.
Syntax
show logging {log-file [process-name | line-numbers] | process-names}
Parameters
process-name — (Optional) Enter the process-name to use as a filter in syslog messages.
line-numbers — (Optional) Enter the number of lines to include in the logging messages, from 1 to 65535.
Default None
1334 Troubleshoot OS10