EasyManua.ls Logo

Alcatel-Lucent OmniSwitch 6860 Series

Alcatel-Lucent OmniSwitch 6860 Series
1078 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using Switch Logging Switch Logging Commands Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 36-8
Specifying the Switch Logging Format
The swlog advanced command allows you to enable switch logging in RFC5424 format. By default, the
switch logs the messages in BSD syslog format (RFC3164) to files and remote syslog servers.
When switch logging RFC5424 format is enabled, the old RFC3164 syslog messages are reformatted to
comply with the RFC5424 before writing to files or sending to remote syslog servers.
The sample RFC 5424 format of swlog messages is as follows:
2016-10-11T13:21:00+09:30 6900 swlog - - - AAA Switch-Access debug1(6) In aaaSnap-
shot:3540, base: 20480, index: 20506
To enable switch logging in RFC5424 format, enter the following command:
-> swlog advanced enable
To disable switch logging in RFC5424 format, enter the following command.
-> swlog advanced disable
To view the status of the RFC5424 format, use the show swlog command.
Switch Logging Notifications
OmniSwitch generates swlog failure traps with a message indicating the reason of failure.
The following types of failure trigger the swlog notification:
Fail to store swlog message to /flash/swlog files
Fail to send swlog message to external syslog server
Fail to configure external syslog server
Swlog files get overwritten (old swlog messages will be lost)
Specifying the Switch Logging Record Storage Limit
The swlog size-trap-threshold command allows you to set the threshold limit for the storage space used
to store swlog records. When the swlog record storage reaches the threshold limit, it is displayed in the
swlog message. This allows to monitor the storage space and ensure the storage space is available.
For example, to set the swlog record storage limit to 70 (valid range 50 to 90), enter the following
command:
-> swlog size-trap-threshold 70
To monitor the swlog threshold, use the show swlog command. The threshold is displayed when the set
storage limit is reached.
To clear the swlog, use the swlog clear command.

Table of Contents

Related product manuals