Saving Syslog Messages - Lenovo RackSwitch G8264 Application Manual

For lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

Saving Syslog Messages

© Copyright Lenovo 2016
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
RS G8264(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:
RS G8264(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:
RS G8052(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:
RS G8264(config)# copy log {swn <switch number>] stfp | {tftp [address 
<address>] [filename <file>]
where:
<switch number>
address
file
The configured switch number. If no number is 
supplied, the command applies to the master 
switch.
show last 2000 syslog messages
show syslog information in reverse priority order
show 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
317
Chapter 18: Stacking

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents