hit counter script

Configuring Module And Facility Messages Logged - 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

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 1
switch# configure terminal
Step 2
switch(config)# logging logfile
logfile-name severity-level [size bytes]
switch(config)# no logging logfile
[logfile-name severity-level [size
bytes]]
Step 3
switch(config)# show logging info
Step 4
switch(config)# copy running-config
startup-config
The following example shows how to configure a switch to log system messages to a file:
switch# configure terminal
switch(config)# logging logfile my_log size 6
switch(config)# no logging logfile
switch(config)# show logging info
switch(config)# copy running-config startup-config

Configuring Module and Facility Messages Logged

To configure the severity level and time-stamp units of messages logged by modules and facilities,
perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# logging module
[severity-level]
switch(config)# no logging module
[severity-level]
Step 3
switch(config)# show logging module
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
25-4
Chapter 25
Configuring System Message Logging
Purpose
Enters configuration mode.
Configures the name of the log file used to store
system messages and the minimum severity level to
log. You can optionally specify a maximum file size.
The default severity level is 5 and the file size is
10485760. Severity levels are listed in
The file size is from 4096 to 10485760 bytes.
Disables logging to the log file.
(Optional) Displays the logging configuration.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Enters configuration mode.
Enables module log messages that have the specified
severity level or higher. Severity levels, which range
from 0 to 7, are listed in
Table
level is not specified, the default of 5 is used.
Disables module log messages.
(Optional) Displays the module logging
configuration.
Table
25-1.
25-1. If the severity
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents