beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 348

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 348 of 350

48.1.5 Defining the Message Severity Level
You can limit messages displayed to the selected device by specifying the severity level of the
message.
To define logging message severity level, follow these steps::

DUT#configure terminal

Enter global configuration mode.

DUT(config)#logging level file warning

Limit messages logged to file, by default, the file
receive warning messages and numerically lower
levels.

DUT(config)#logging level module debug

Limit messages logged to terminal line and logging
buffer, by default, the terminal line and logging
buffer receive debug messages and numerically
lower levels.

DUT(config)# logging server severity warning

Limit messages logged to syslog server, by default,
the syslog server receive warning messages and
numerically lower levels.

DUT(config)#end

Return to privileged EXEC mode.

DUT#show logging

Verify logging configuration

48.1.6 Configuring logging merge
In order to limit the logging rate, messages with same content in a fix period can be merged into
one message. To configure logging merge, follow these steps:

DUT#configure terminal

Enter global configuration mode.

DUT(config)#logging merge enable

Enable logging merge

DUT(config)#logging merge timeout 9

Specify the fix period of logging merge, same
messages in this period will be merged into only
one, and the default value is 10 seconds.

DUT(config)#logging merge fifo-size 100

Specify the logging merge buffer size, the default
value is 1024.

DUT(config)#end

Return to privileged EXEC mode.

DUT#show logging

Verify logging configuration

48.1.7 Configuring operate log
By default, user login or logout information, and all the CLI configurations, called operate log,
are not recorded. To enable this feature, follow these steps:

DUT#configure terminal

Enter global configuration mode.

DUT(config)#logging operate enable

Enable operate log