Saving Syslog Messages - Lenovo Flex System Fabric CN4093 Application Manual

How to configure and use the enterprise nos 8.4 software on the 10 gb converged scalable switch
Hide thumbs Also See for Flex System Fabric CN4093:
Table of Contents

Advertisement

Saving Syslog Messages

254
CN4093 Application Guide for N/OS 8.4
By default, syslog messages on each member of a stack are saved to flash memory 
on that stack member. You may want to preserve stacking‐related errors. To 
accomplish this, in console mode, use the following command:  
CN 4093(config)# [no] logging log stacking
The master switch can display the syslog messages originated on any stack 
member as long as the specified stack element is currently an active member of the 
stack using the command:  
CN 4093(config)# show logging [swn <configured‐switch‐number>] [messages|
|reverse|severity <0‐7>]
where:  
<configured‐switch‐number>
messages
reverse
severity <0‐7>
For example, to retrieve the last 2000 syslog messages of severity 4 or greater from 
switch 3, enter:
CN 4093(config)# show logging swn 3 severity 4
To retrieve the contents of the log files stored on flash on a specified switch in the 
stack and copy that information to an external host using the specified protocol 
(SFTP or TFTP). In case the feature of saving log to flash is disabled, this command 
must be rejected.
To copy syslog content to an external host using SFTP or TFTP, use the command:  
CN 4093(config)# copy log [swn <switch number>] {stfp|tftp [address <address>]
[filename <filename>]}
where:  
<switch number>
address
filename
The configured switch number. If no number is 
supplied, the command applies to the master 
switch.
shows last 2000 syslog messages.
shows syslog information in reverse priority 
order.
shows messages of a specific severity level.
The configured switch number. If no number is 
supplied, the command applies to the master 
switch.
The IP address of the TFTP host.
The filename on the TFTP host.

Advertisement

Table of Contents
loading

Table of Contents