SNMP

Revision as of 00:56, 1 April 2016 by Nathan (talk | contribs) (SNMP)

SNMP

Simple Network Management Protocol (SNMP) is an Internet-standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior. Devices that typically support SNMP include routers, switches, servers, workstations, printers, modem racks and more. In this case it will be Dahua's Cameras, NVR's, and other network devices with the option to enable this protocall. SNMP allows the communication between the network management work station software (or enterprise switch with SNMP management) and the proxy of the managed device. Please install the software such as MG MibBrowser 8.0c, MG-Soft MIB suite, iReasoning MIB Browser, or just about any MIB browser that is in use today to establish the SNMP service before you use this function. You will need to reboot the device to activate the new setup. Additionally you can use other programs such as Solar Winds Real-Time Bandwidth Monitor to externally monitor the bandwidth on the active network.

There are 3 versions of SNMP:

  • SNMP Version 1:

SNMPv1 is the initial implementation of the SNMP protocol. SNMPv1 operates over protocols such as User Datagram Protocol (UDP), Internet Protocol (IP), OSI Connectionless Network Service (CLNS), AppleTalk Datagram-Delivery Protocol (DDP), and Novell Internet Packet Exchange (IPX). SNMPv1 is widely used and is the de facto network-management protocol in the Internet community.

  • SNMP Version 2:

SNMPv2 (RFC 1441RFC 1452), revises version 1 and includes improvements in the areas of performance, security, confidentiality, and manager-to-manager communications. It introduced GetBulkRequest, an alternative to iterative GetNextRequests for retrieving large amounts of management data in a single request. However, the new party-based security system in SNMPv2, viewed by many as overly complex, was not widely accepted.[8] This version of SNMP reached the Proposed Standard level of maturity, but was deemed obsoleted by later versions

  • SNMP Version 3:

SNMPv3 makes no changes to the protocol aside from the addition of cryptographic security, it looks much different due to new textual conventions, concepts, and terminology


Enabling SNMPv1-3 on Dahua Devices

To enable SNMP protocol on your NVR or IP Camera please log in via the web interface or the user interface (nvr only) with an administrator account.

On the web interface Select the setup tab, then click on network, and then SNMP


On the user interface (on the physical NVR) go to the main menu, under settings select network (at the bottom), then on the right hand side select SNMP.


Below you will find the SMNP settings for


Please refer to the following sheet for detailed information. Parameter Function SNMP Version  Check SNMP v1, device only process v1 info.  Check SNMP v2, device only process v2 info.  Check SNMP v3, can set username, password and encryption method. Server calibrate corresponding username, password and encryption method too access device and v1/v2 are unavailable. SNMP port The listening port of the proxy program of the device. It is a UDP port not a TCP port. The value ranges from 1 to 65535. The default value is 161 Community It is a string, as command between management and proxy, , defining a proxy, and a manager’s authentication. Read community Read-only access to all SNMP targets, default is public. Note: Only number, letter, _, and – supported. Write community Read/write access to all SNMP targets, default is private. Note: Only number, letter, _, and – supported. Trap address The destination address of the Trap information from the proxy program of the device. Trap SNMP trap is a proxy message sent to admin as important event notice or status change. Trap Address Address where to send Trap message. Trap Port Port which send Trap message, default is 162, range 1~65535


Check SNMP v3 version and SNMP port, read community, write community, Trap address, Trap port are same with SNMP v1 and SNMP v2 versions. Only when SNMP version is SNMP v3, user need to configure parameter in chart. Parameter Function SNMP Version SNMP v3 Read-only Username Default is public. Note: Name only can be number, letter and underline. Read/Write Username Default is private. Note: Name only can be number, letter and underline. Authentication You may select MD5 or SHA, default is MD5. Authentication Password Password not less than 8 characters. Encryption Default is CBC-DES.

Check SNMP v3 version and SNMP port, read community, write community, Trap address, Trap port are same with SNMP v1 and SNMP v2 versions. Only when SNMP version is SNMP v3, user need to configure parameter in chart. Parameter Function SNMP Version SNMP v3 Read-only Username Default is public. Note: Name only can be number, letter and underline. Read/Write Username Default is private. Note: Name only can be number, letter and underline. Authentication You may select MD5 or SHA, default is MD5. Authentication Password Password not less than 8 characters. Encryption Default is CBC-DES.




NVR

SNMP SNMP is an abbreviation of Simple Network Management Protocol. It provides the basic network management frame of the network management system. The SNMP widely used in many environments. It is used in many network device, software and system. You can set in the following interface.



Please enable the SNMP function. Use the corresponding software tool (MIB Builder and MG-SOFT MIB Browser. You still need two MIB file: BASE-SNMP-MIB, NVR-SNMP-MIB) to connect to the device. You can get the device corresponding configuration information after successfully connection. Please follow the steps listed below to configure.  In Figure 4-107, check the box to enable the SNMP function. Input the IP address of the PC than is running the software in the Trap address. You can use default setup for the rest items.  Compile the above mentioned two MIB file via the software MIB Builder.  Run MG-SOFT MIB Browser to load the file from the previous step to the software.  Input the device IP you want to manage in the MG-SOFT MIB Browser. Please set the corresponding version for your future reference.  Open the tree list on the MG-SOFT MIB Browser; you can get the device configuration. Here you can see the device has how many video channels, audio channels, application version and etc. Note Port conflict occurs when SNMP port and Trap port are the same.