Snmp protocol versions, Mib overview – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 94

Advertising
background image

7-2

z

Trap operation: The agent sends traps to the NMS through this operation.

z

Inform operation: The NMS sends traps to other NMSs through this operation.

SNMP Protocol Versions

Currently, SNMP agents on the WX series support SNMPv3 and are compatible with SNMPv1 and

SNMPv2c.

z

SNMPv1 uses community name for authentication, which defines the relationship between an

SNMP NMS and an SNMP agent. SNMP packets with community names that did not pass the

authentication on the device will simply be discarded. A community name performs a similar role as

a key word and can be used to regulate access from NMS to agent.

z

SNMPv2c uses community name for authentication. Compatible with SNMPv1, it extends the

functions of SNMPv1. SNMPv2c provides more operation modes such as GetBulk and

InformRequest; it supports more data types such as Counter64; and it provides various error codes,

thus being able to distinguish errors in more detail.

z

SNMPv3 offers an authentication that is implemented with a User-Based Security Model (USM).

You can set the authentication and privacy functions. The former is used to authenticate the validity

of the sending end of the authentication packets, preventing access of illegal users; the latter is

used to encrypt packets between the NMS and agent, preventing the packets from being

intercepted. USM ensures a more secure communication between SNMP NMS and SNMP agent

by authentication with privacy, authentication without privacy, or no authentication no privacy.

Successful interaction between NMS and agent requires consistency of SNMP versions configured on

them. You can configure multiple SNMP versions for an agent to interact with different NMSs.

MIB Overview

Any managed resource can be identified as an object, which is known as the managed object.

Management Information Base (MIB) is a collection of all the managed objects. It defines the hierarchy

of the objects and a set of characteristics associated with the managed objects, such as the object

identifier (OID), access right and data type. Each agent has its own MIB. NMS can read or write the

managed objects in the MIB. The relationship between an NMS, agent and MIB is shown in

Figure 7-1

.

Figure 7-1 Relationship between NMS, agent and MIB

MIB stores data using a tree structure. The node of the tree is the managed object and can be uniquely

identified by a path starting from the root node. As illustrated in the following figure, the managed object

B can be uniquely identified by a string of numbers {1.2.1.1}. This string of numbers is the OID of the

managed object B.

Advertising