instead of using a separate syslog server I want to configure our switches to send the syslog messages to our network management system via snmp traps:
logging history informational
snmp-server enable traps syslog
How can I garantuee that every syslog message is sent via snmp trap?
Is there any need to increase the logging history size from one to any higher number of messages to prevent messages from being dropped? Or is every message in the history table picked up by the snmp process fast enough?
The snmp-server enable traps syslog command is used in conjunction with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications. To send SNMP notifications, you must configure at least one snmp-server host command
To specify the severity level at which notifications should be generated, use the logging history global configuration command.
The following example enables the router to send system logging messages at severity levels 0 (emergencies) through 2 (critical) to the host at the address myhost.cisco.com using the community string defined as public:
Router(config)# snmp-server enable traps syslog
Router(config)# logging history 2
Router(config)# snmp-server host myhost.cisco.com traps version 2c public
what I was asking for is the recommended configuration of the logging history size which you can configure with the command
"logging history size".
Cisco Documentation about this command is:
logging history size
To change the number of syslog messages stored in the router's history table, use the logging history size command in global configuration mode. To return the number of messages to the default value, use the no form of this command.
Number from 1 to 500 that indicates the maximum number of messages stored in the history table. The default is one message.
When the history table is full (that is, it contains the maximum number of message entries specified with the logging history size command), the oldest message entry is deleted from the table to allow the new message entry to be stored.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...