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 Introduction to the OpenFlow protocol

Cisco ccie exam Introduction to the OpenFlow protocol OpenFlow, a network communication protocol, belongs to the data link layer and can control the forwarding plane of the network switch or router, thereby changing the network path of the network packet. OpenFlow protocol background: Forwarding and control separation is one of the essential features of SDN networks.In the SDN network architecture, the control plane is separated from the forwarding plane, the management and state of the network are logically grouped together, and the underlying network infrastructure is independent from the application, thereby enabling the network to achieve unprecedented programmable, controllable, and automated capabilities.Cisco ccie exam. This makes it easy for users to build highly scalable elastic networks based on business needs. To implement the transfer separation architecture of the SDN network, a communication interface standard needs to be established between the SDN controller and the dat...

CISCO CCIE EXAM 5G and WIFI6, still can't tell? (1)

cisco ccie exam 5G and WIFI6, still can't tell? (1) Ⅰ. the opening: On October 3, 2018, the Wi-Fi Alliance officially incorporated WiFi based on the 802.11ax standard into the regular army and became the sixth generation WiFi technology. The WiFi specification was renamed, the standard 802.11n was renamed to WiFi 4, the standard 802.11ac was renamed to WiFi 5, and the new standard 802.11ax was renamed to WiFi 6. (Of course, the previous generation of 802.11b/a/g can be chased as WiFi 1/2/3) Not only changed the naming convention of WiFi, but also in the network connection of WiFi devices. Also all use the new UI icon. The icon will display the level of the WiFi network you are currently connected to through the most intuitive numbers. Wi-Fi is well known to us. Wi-fi has evolved from 802.11b in 1999 and has gone through five generations. The Wi-Fi Alliance announced the simplification of the name of the new Wi-fi to Wi-fi6 when it introduced the new generation of 802.11ax stan...