Configuring Syslog On A Unix Or Linux System - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring Syslog Servers
Step 3
Step 4
Step 5
The following examples show how to configure a syslog server:
switch# configure terminal
switch(config)# logging server 172.28.254.254 5
use-vrf default facility local3
switch# configure terminal
switch(config)# logging server 172.28.254.254 5 use-vrf management facility local3

Configuring syslog on a UNIX or Linux System

You can configure a syslog server on a UNIX or Linux system by adding the following line to the
/etc/syslog.conf file:
facility.level <five tab characters> action
The following table describes the syslog fields that you can configure.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
104
Command or Action
no logging server host
Example:
switch(config)# no logging
server 172.28.254.254 5
show logging server
Example:
switch# show logging server
copy running-config
startup-config
Example:
switch(config)# copy
running-config startup-config
Purpose
specific VRF is configured, the show-running command
output will list the VRF for each server.
The current Cisco Fabric Services (CFS)
Note
distribution does not support VRF. If CFS
distribution is enabled, the logging server
configured with the default VRF is distributed as
the management VRF.
• The facility argument names the syslog facility type. The
default outgoing facility is local7.
The facilities are listed in the command reference for the
Cisco Nexus Series software that you are using.
Debugging is a CLI facility but the debug syslogs are
Note
not sent to the server.
(Optional)
Removes the logging server for the specified host.
(Optional)
Displays the syslog server configuration.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Configuring System Message Logging
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents