Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Snmp of equipment Management in Local area Network

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

At present, SNMP (simple Network Management Protocol) is the most widely used network management protocol in the network. SNMP is an industry standard widely accepted and put into use, which is used to ensure that management information is transmitted between any two points in the network. It is convenient for network administrators to retrieve information, modify information, locate faults, complete fault diagnosis, carry out capacity planning and generate reports at any node on the network. SNMP uses a polling mechanism and provides only the most basic feature set, which is especially suitable for use in small, fast and low-cost environments. The implementation of SNMP is based on the connectionless transport layer protocol UDP, so it can realize barrier-free connection with many products.

The working mechanism of SNMP SNMP is divided into two parts: NMS and Agent: NMS (Network Management Station, network management station) is a workstation running client programs. At present, the commonly used network management platforms are QuidView, Sun NetManager and IBM NetView. Agent is server-side software that runs on network devices. NMS can send GetRequest, GetNextRequest and SetRequest messages to Agent. After receiving these request messages from NMS, Agent performs Read or Write operations according to the message type to generate Response messages and return the messages to NMS. Agent will also actively send Trap messages to NMS to report events to NMS when abnormal conditions or state changes occur in the device (such as device restart). Port: agent 161,162NMS. Let's illustrate it through a case. Background: in the enterprise network, we want to check the health status of each device at all times. Requirements analysis: general network management is through telnet, however, it is very inconvenient. We can monitor the health of each device through snmp. Experimental topology diagram:

Configuration: SW dis cu # sysname sw # vlan 1 # interface Vlan-interface1 ip address 192.168.4.100 255.255.255.0 # ip route-static 0.0.0.0 0.0.0 192.168.4.254 preference 60 # snmp-agent snmp-agent local-engineid 800007DB00E0FC1DDB806877 snmp-agent community read public snmp-agent community write private snmp-agent sys-info location jifang-3 snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 192.168.2.100 Params securityname public snmp-agent trap enable standard # return R2 [r2] dis cu interface Ethernet0 ip address 192.168.4.254 255.255.255.0! Interface Ethernet1 ip address 192.168.3.2 255.255.255.252! Ip route-static 192.168.2.0 255.255.255.0 192.168.3.1 preference 60! Snmp-agent snmp-agent local-engineid 800007DB0300E0FC295EB4 snmp-agent community read public snmp-agent community write private snmp-agent sys-info location jingfang-2 snmp-agent sys-info version all snmp-agent target-host trap address 192.168.2.100 securityname public snmp-agent trap enable standard authentication coldstart linkdown linkup warmstart! Return [r2] R1 [r1] dis cu sysname r1 interface Ethernet0 ip address 192.168.2.254 255.255.255.0! Interface Ethernet1 ip address 192.168.3.1 255.255.255.252! Ip route-static 192.168.4.0 255.255.255.0 192.168.3.2 preference 60! Snmp-agent snmp-agent local-engineid 800007DB0300E0FC0733BF snmp-agent community read public snmp-agent community write private snmp-agent sys-info location jifanf-1 snmp-agent sys-info version all snmp-agent target-host trap address 192.168.2.100 securityname public snmp-agent trap enable standard authentication coldstart linkdown linkup warmstart! Return [R1] on the NMS side, we use what'sup software to monitor. The snmp service is enabled on the server side. Test: unplug the ftp server network cable

Soon it will turn yellow. We use the tool ping that it brings.

Found that the ftp is different, five minutes later, its icon will turn red, indicating that the ftp can no longer be connected.

Power off the switch, 5 minutes later

Ten minutes later.

After finding the reason, turn on the switch

It will turn into a normal color.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report