Message Control for SNMP servers

Source: Internet
Author: User
Tags snmp

This article describes how to control some SNMP servers. Some configuration problems are involved. And log management methods. Let's take a look at the content of the article. When sending restrictions on history tables such as SNMP servers, we can use the following operations to configure.

Restrict log sending to history tables and SNMP servers

After sending the System Log message Trap to the SNMP Network Management site, you can use the "snmp-server enable trap" global configuration command to change the level of message sending and store it in the switch history table, you can also change the number of messages stored in the History Table. The message is stored in the History Table because SNMP Trap does not guarantee that each message can reach its destination. By default, a warning-level message and a low-number level message are stored in history tables, and even System Log traps are not enabled.

In Privileged EXEC mode, the following steps change the default size of the level and history table.

Step 2: Enter the global configuration mode.

Switch # configure terminal

Step 2: change the level of system log messages stored in history files and sent to the SNMP server.

Switch (config) # logging history level

Step 2: specify the number of system log messages that can be stored in the History Table.

Switch (config) # logging history size number

Step 2: return the Privileged EXEC mode.

Switch (config-if) # end

Step 2: Verify the configuration.

Switch # show running-config
 
Step 2: Save the modified configuration.

Switch # copy running-config startup-config

When the history table is full, the earliest messages are deleted from the table, allowing new messages to be stored.

Return the System log message to the default level and use the "no logging history" global configuration command. Return the number of messages in the history Table to the default value. Use the "no logging history size" global configuration command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.