Notice: Firmware Links Under Maintenance We are currently undergoing maintenance on all firmware links. If any links are inaccessible, please email or contact Tech Support for the firmware. We appreciate your patience during the maintenance, thank you for your understanding.

Difference between revisions of "SNMP"

(SNMP)
Line 1: Line 1:
 
==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.
+
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 IP Cameras, NVR's, and other network devices with the option to enable this protocol. 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.
 +
 
 +
[[file:SNMP006.jpg|500x500px]]
  
 
There are 3 versions of SNMP:
 
There are 3 versions of SNMP:
Line 17: Line 19:
 
===Enabling SNMPv1-3 on Dahua Devices===
 
===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.
+
1. 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
+
[[file:SNMP007.jpg|500x500px]]
  
  
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.
+
2. On the web interface Select the setup tab, then click on network, and then SNMP
  
 +
[[file:SNMP008.jpg|500x500px]]
  
  
Below you will find the SMNP settings for 
+
3. On this page you will define the SNMP version 1, 2, or 3 settings.
  
 +
[[file:SNMP002.jpg|500x500px]]
 +
[[file:SNMP003.jpg|500x500px]]
 +
  
Please refer to the following sheet for detailed information.
+
4. Check SNMP v1, device only process v1 info, Check SNMP v2, device only process v2 info, Check SNMP v3, can set username, password and
Parameter Function
+
encryption method.
SNMP Version  Check SNMP v1, device only process v1 info.
+
 
Check SNMP v2, device only process v2 info.
+
[[file:SNMP005.jpg|500x500px]]
Check SNMP v3, can set username, password and
+
 
encryption method. Server calibrate corresponding
+
 
username, password and encryption method too access
+
5.At this point use these settings to calibrate your IPC or NVR with the SNMP server. For this demo I will use Solar Winds to capture information about the device.
device and v1/v2 are unavailable.
+
 
SNMP port The listening port of the proxy program of the device. It is a
+
[[file:SNMP004.jpg|500x500px]]
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, ,
+
==== Additional information: ====
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
 
  
 +
-SNMP port: the listening port of the proxy program of the device. It's the UDP port not a TCP port and the value ranges from 1 to 65535, the default value is 161.
  
Check SNMP v3 version and SNMP port, read community, write community, Trap address,
+
-Community: a string command between management and proxy, define a proxy, and a manager’s authentication.
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,
+
-Read community: Read-only access to all SNMP targets, default is public.
Trap port are same with SNMP v1 and SNMP v2 versions. Only when SNMP version is
+
(Note: Only number, letter, _, and – supported.)
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.
 
  
 +
-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: The trap proxy message sent to an admin as the important event notice or status changes.
  
-----------------------------------------------------------------
+
-Trap Address: Address where to send Trap message.
  
NVR
+
-Trap Port: Port which send Trap message, default is 162, range 1~65535
  
SNMP
+
-You may select MD5 or SHA, the default is MD5
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.
 
  
 +
-Authentication Password: Password not less than 8 characters. The encryption default is CBC-DES.
  
 +
-Port conflict occurs when SNMP port and Trap port are the same.
  
  
Please enable the SNMP function. Use the corresponding software tool (MIB Builder and MG-SOFT MIB
+
==== Resources ====
Browser. You still need two MIB file: BASE-SNMP-MIB, NVR-SNMP-MIB) to connect to the device. You
+
Solar Winds SNMP Monitoring & Management
can get the device corresponding configuration information after successfully connection.
+
MG-SOFT MIB Browser, MIB Builder
Please follow the steps listed below to configure.
+
iReasoning MIB Browser
 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.
 

Revision as of 22:24, 3 May 2016

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 IP Cameras, NVR's, and other network devices with the option to enable this protocol. 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.

SNMP006.jpg

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

1. 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.

SNMP007.jpg


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

SNMP008.jpg


3. On this page you will define the SNMP version 1, 2, or 3 settings.

SNMP002.jpg SNMP003.jpg


4. 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.

SNMP005.jpg


5.At this point use these settings to calibrate your IPC or NVR with the SNMP server. For this demo I will use Solar Winds to capture information about the device.

SNMP004.jpg


Additional information:

-SNMP port: the listening port of the proxy program of the device. It's the UDP port not a TCP port and the value ranges from 1 to 65535, the default value is 161.

-Community: a string command between management and proxy, define 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: The trap proxy message sent to an admin as the important event notice or status changes.

-Trap Address: Address where to send Trap message.

-Trap Port: Port which send Trap message, default is 162, range 1~65535

-You may select MD5 or SHA, the default is MD5

-Authentication Password: Password not less than 8 characters. The encryption default is CBC-DES.

-Port conflict occurs when SNMP port and Trap port are the same.


Resources

Solar Winds SNMP Monitoring & Management MG-SOFT MIB Browser, MIB Builder iReasoning MIB Browser