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"

 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==SNMP==
 
==SNMP==
  
SNMP allows the communication between the network management work station software and the
+
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.
proxy of the managed device. Please install the software such as MG MibBrowser 8.0c software or
 
establish the SNMP service before you use this function. You need to reboot the device to activate the
 
new setup.
 
  
 +
[[file:SNMP006.jpg|500x500px]]
  
Please refer to the following sheet for detailed information.
+
There are 3 versions of SNMP:
Parameter Function
+
 
SNMP Version Check SNMP v1, device only process v1 info.
+
*SNMP Version 1:
Check SNMP v2, device only process v2 info.
+
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.
Check SNMP v3, can set username, password and
+
 
encryption method. Server calibrate corresponding
+
*SNMP Version 2:
username, password and encryption method too access
+
SNMPv2 (RFC 1441–RFC 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
device and v1/v2 are unavailable.
+
 
SNMP port The listening port of the proxy program of the device. It is a
+
*SNMP Version 3:
UDP port not a TCP port. The value ranges from 1 to 65535.
+
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
The default value is 161
+
 
Community It is a string, as command between management and proxy, ,
+
 
defining a proxy, and a manager’s authentication.
+
===Enabling SNMPv1-3 on Dahua Devices===
Read community Read-only access to all SNMP targets, default is public.
+
 
Note: Only number, letter, _, and – supported.
+
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.
Write community Read/write access to all SNMP targets, default is private.
+
 
Note: Only number, letter, _, and – supported.
+
[[file:SNMP007.jpg|500x500px]]
Trap address The destination address of the Trap information from the
+
 
 +
 
 +
2. On the web interface Select the setup tab, then click on network, and then SNMP
 +
 
 +
[[file:SNMP008.jpg|500x500px]]
 +
 
 +
 
 +
3. On this page you will define the SNMP version 1, 2, or 3 settings.
 +
 
 +
[[file:SNMP002.jpg|500x500px]]
 +
[[file:SNMP003.jpg|500x500px]]
 +
 +
 
 +
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.
 +
 
 +
[[file:SNMP005.jpg|500x500px]]
 +
 
 +
-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.
 
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
 
  
 +
-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.
  
Check SNMP v3 version and SNMP port, read community, write community, Trap address,
+
-Trap Port: Port which send Trap message, default is 162, range 1~65535
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,
+
-You may select MD5 or SHA, the default is MD5
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.
 
  
 +
-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.
  
  
-----------------------------------------------------------------
+
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.
  
NVR
+
[[file:SNMP004.jpg|500x500px]]
  
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.
 
  
 +
==== Resources ====
 +
-Solar Winds SNMP Monitoring & Management
 +
-MG-SOFT MIB Browser, MIB Builder
 +
-iReasoning MIB Browser
  
  
  
Please enable the SNMP function. Use the corresponding software tool (MIB Builder and MG-SOFT MIB
+
[[Category:Troubleshoot]]
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.
 

Latest revision as of 04:53, 15 August 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

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


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


Resources

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