Skip to main content

Ccie lab exam SNMP protocol basic configuration

Ccie lab exam SNMP protocol basic configuration

With the increasing scale of the network, the number of devices in the existing networks is increasing.When these devices fail, the device cannot report faults and the network administrator cannot locate and rectify the faults in time. As a result, the network maintenance efficiency is reduced and the maintenance workload is greatly increased.In order to solve this problem, the device manufacturer has already provided network management functions in some devices, so that the network management can remotely check the status of the device, and the device can also issue a warning to the network management workstation when a specific type of event occurs.

The Simple Network Management Protocol (SNMP) consists of a set of network-managed standards, including an application layer protocol, a database schema, and a set of resource objects.The protocol can support the network management system to monitor whether the devices connected to the network have any management concerns. Ccie lab exam.It belongs to the application layer protocol in the TCP/IP Layer 5 protocol and is used for network management protocols.SNMP is mainly used for management of network devices. There are three roles of Network Management Station (NMS), Agent Process (Agent) and managed device when using SNMP protocol.

NMS: sends various query messages to the managed device and accepts warnings sent by the managed device;

Agent: is an agent process on the managed device, used to maintain the information data of the managed device and correspondingly request from the NMS.

Managed equipment: accepts the management of the network management, generates and actively reports the police.


Two PCs are used to simulate the NMS, and one router is used to simulate the Agent. Simply complete an experiment.

The basic configuration is shown in the figure.

PC1:10.1.1.1 255.255.255.0
PC2:10.1.1.2 255.255.255.0
R1:10.1.1.254 255.255.255.0

Start the Agent service: Configure on the router:

[huawei]snmp-agent

View SNMP information: display snmp-agent sys-info


The SNMP versions that are displayed by default are V1, V2, and V3.
Configure the SNMP version:
[Huawei]snmp-agent sys-info version v3

View:


The running version is displayed as V3.
Configuration management permissions:
If there is more than one common user in the network, different access rights can be configured for different users. According to the topology diagram, we only allow PC2 to manage the device.ccie lab exam
Configure an ACL to allow PC2 to manage devices, while PC1 does not.
[Huawei]acl 2000
[Huawei-acl-basic-2000]rule 5 permit source 10.1.1.2 0.0.0.255
[Huawei-acl-basic-2000]rule 10 deny source 10.1.1.1 0.0.0.255

Configure the user group as group, the user name as user, and bind ACL2000.
[Huawei]snmp-agent usm-user v3 user group acl 2000
View SNMPv3 user information:



Configure to output trap information to the SNMP agent:
Configure the agent to send traps. The NMS for receiving messages is named PC2, the destination address is 10.1.1.2, and the UDP port is specified to receive this message. Ccie lab exam .The name of the sending parameter information list of the Trap message is trappc2.
[Huawei]snmp-agent target-host trap-hostname pc2 address 10.1.1.2 udp-port 9991 trap-paramsname trappc2
Enable the device's alarm switch:
[Huawei]snmp-agent trap enable 
Info: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y


Configure the length of the alarm message as 200,
[Huawei]snmp-agent trap queue-size 200
    Set the message message save time 240s:
[Huawei]snmp-agent trap life 240
Configuration administrator contact information: 11111, address Xi'an
[Huawei]snmp-agent sys-info contact call admin 11111
[Huawei]snmp-agent sys-info location xian china

View related information:


View information about the SNMP agent output network management:

The configuration is complete



Publisher:IE LAB
publish Website: http://ielab.network 
WhatsApp: +8617782638871
Skype:live:ielab.anna


Comments

Popular posts from this blog

Cisco ccie exam Linux overview and history

      Cisco ccie exam Linux overview and history Simply put, the Linux operating system is a clone of the UNIX operating system, which was born on October 5, 1991 (the first time it was officially announced). It's the same as Microsoft's Windows, apple's MAC OS and android on mobile phones. Cisco ccie exam.Compared to ordinary people, Linux system may be relatively unfamiliar, and most of them are probably familiar with Windows system. Since the graphical interface of Windows is simpler and easier to use, Windows occupies more markets, and Linux systems are mainly command-line operations, which are more demanding for professionalism.Cisco ccie exam Linux systems are stable, secure, and have strong concurrency, so they are widely used in the server field. The professional servers are almost all Linux systems. Linux is open source, free, everyone can see the source code of Linux, you can use Linux for free. And the Linux kernel is short and lean, and some can only be a ...

Cisco ccie exam You must know about SD-WAN... (1)

Cisco ccie exam You must know about SD-WAN... (1) 1. What is SD-WAN? "SD-WAN is a service formed by applying SDN technology to a wide area network scenario. Cisco ccie exam.This service is used to connect a wide range of enterprise networks, including enterprise branches and data centers."Although in many consulting reports or vendor solutions, SD-WAN is often limited to the networking scenarios where enterprise branch offices are interconnected.However, based on the definition of SD-WAN, the application scenarios of SD-WAN can be summarized into three categories: enterprise interconnection, data center interconnection and cloud interconnection scenarios. The enterprise interconnection SD-EN (SDN based Enterprise Network) focuses on the WAN connection on the user side, providing an efficient SDN-based solution for the connection between the enterprise headquarters and branch offices across the WAN.SD-DCI (SDN based Data Center Interconnection) refers to an SDN-based solutio...

ccie lab dumps Considerations for system migration to cloud servers

ccie lab dumps   Considerations for system migration to cloud servers Enterprises often encounter many problems when they migrate their existing systems to cloud servers.For example: data loss, website crashes, database errors, etc.  ccie lab dumps ,\.These problems can lead to loss of time and resources, resulting in damage to the company's interests.As more and more companies move their servers to the cloud, these issues are becoming more and more obvious. ccie lab dumps .How should we reduce the chances of these problems and provide the least interference to the ente...