hit counter script

Configuring Syslog Servers - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 25
Configuring System Message Logging
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 4
switch(config)# logging level facility
severity-level
switch(config)# no logging level
[facility severity-level]
Step 5
switch(config)# show logging level
[facility]
Step 6
switch(config)# logging timestamp
{microseconds | milliseconds | seconds}
switch(config)# no logging timestamp
{microseconds | milliseconds | seconds}
Step 7
switch(config)# show logging timestamp
Step 8
switch(config)# copy running-config
startup-config
The following example shows how to configure the severity level and time-stamp units of messages:
switch# configure terminal
switch(config)# logging module 3
switch(config)# show logging module
switch(config)# logging level aaa 2
switch(config)# logging timestamp milliseconds
switch(config)# show logging timestamp
switch(config)# copy running-config startup-config

Configuring syslog Servers

You can configure up to three syslog servers that reference remote systems where you want to log system
messages.
For information about distributing the syslog configuration on the fabric, see the
Server Configuration Distribution" section on page
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
OL-16597-01
Purpose
Enables logging messages from the specified facility
that have the specified severity level or higher.
Severity levels, which range from 0 to 7, are listed in
Table
25-1. To apply the same severity level to all
facilities, use the all facility. For defaults, see the
show logging level command.
Resets the logging severity level for the specified
facility to its default level. If you do not specify a
facility and severity level, the switch resets all
facilities to their default levels.
(Optional) Displays the logging level configuration
and the system default level by facility. If you do not
specify a facility, the switch displays levels for all
facilities.
Sets the logging time-stamp units. By default, the
units are seconds.
Resets the logging time-stamp units to the default of
seconds.
(Optional) Displays the logging time-stamp units
configured.
(Optional) Copies the running configuration to the
startup configuration.
25-7.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring System Message Logging
"Configuring syslog
25-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents