5 Common switch SNMP configuration commands

Source: Internet
Author: User
Tags snmp switches

The use of the

SNMP protocol in switches I'm sure you're not unfamiliar, so let's go over 5 basic switch SNMP configuration commands in detail. The completion of the switch SNMP configuration commands is a common problem, how to complete the switch SNMP configuration commands, it also has any related password and so on, all will be comprehensively solved in this article.

Switch SNMP configuration command (1): snmp-agent sys-info Contact

To set the administrator's identity and contacts, please replace the value you want to set, the same below. This value is initially the BeiJing of Current-configuration, which can be seen at the end of the currently executing configuration with the command display. The

Switch SNMP configuration command (2): snmp-agent sys-info Location

Sets the location information for the switch, which is not initially set.

Switch SNMP configuration command (3): snmp-agent Community Read Public

to set up an SNMP community that can only read its SNMP information when it is used to connect to the switch. You can change the public in the instruction to the string you want.

Switch SNMP configuration command (4): snmp-agent Community Write Private

to set up an SNMP community, when the community is used to connect the switch, Not only can the SNMP information be read, but the value can be written to the SNMP MiB object to complete the configuration of the equipment. You can change the private in the command to the string you want.

Switch SNMP configuration command (5): snmp-agent sys-info version All

sets the SNMP protocol supported by the switch, there are v1,v2c,v3 these 3 versions, if you are unsure, it is best to set to all, The 3 agreements will be supported at the same time. The initial s3050c-0025 on the V3 version is only supported, and if you do not set it correctly, some reading software such as mibbrower may not be able to read the information.

generally only need to set the first (3) and (5) instructions to read to the switch SNMP configuration command information. The settings on the old VRP system may be different, and the switches that I tested use the vrp3.10 version. I'm using a PHP-SNMP function to read the SNMP information of the switch.Of
 

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.