3Com 10014299 manual Perform the following configurations in system view

Models: 10014299

1 762
Download 762 pages 3.46 Kb
Page 81
Image 81

SNMP Overview 77

“Corporation code of 3Com Corporation. (800007DB) + Equipment information”. Equipment information can be the IP address, MAC address or self-defined hexadecimal digit string.

You can skip these two operations when you begin to configure SNMP for a router because SNMP service will be enabled once you configure any related SNMP commands (except for the display commands). It is equivalent to configuring the snmp-agentcommand. Furthermore, the default engine ID can generally ensure the uniqueness of the router on the network.

2Configure SNMP version and related tasks

The 3Com Router series support SNMPv1, SNMPv2c and SNMPv3.

SNMPv1 and SNMPv2c adopt a community name for authentication, and the SNMP packets that are not compliant with the community name authorized by the equipment will be discarded. Different groups can have either the read-only or read-write access authority. A group with the read-only authority can only query equipment information, whereas a group with read-write authority can configure the equipment. The authorities are specified by MIB views.

Security defined in SNMPv3 is user-based hence an SNMP user inherits the authority of the SNMP group to which it belongs. Different NMS have different access authority. An SNMP group can have read-only, read-write or notifying authority. The authorities of the SNMP group are also determined by MIB views.

Perform the following configurations in system view.

Table 58 Configure SNMP version and related tasks

Operation

Command

 

 

Select an SNMP version for NMS

snmp-agent sys-info version { v1 v2c

 

v3 all }

 

 

Define the SNMP version(s) that

undo snmp-agent sys-info version { v1

NMS are not permitted to use

v2c v3 all }

 

 

Create or update view

snmp-agent mib-view { included excluded

information

} viewname subtree subtree

 

 

Delete a view

undo snmp-agent mib-view view-name

 

 

Set name and access authority

snmp-agent community { read write }

for a community

community_name [ mib-viewview-name ] [

 

acl number ]

 

 

Remove the previous community

undo snmp-agent community community_name

name

 

 

 

Set an SNMP group

snmp-server group { v1 groupname v2c

 

groupname v3 groupname { authentication

 

noauthentication privacy } } [

 

read-view readview ] [ write-view

 

writeview ] [ notify-viewnotifyview ]

 

[acl number ]

 

 

Delete an SNMP group

undo snmp-agent group { v1 groupname v2c

 

groupname v3 groupname { authentication

 

noauthentication privacy } }

 

 

Add a new user to an SNMP

snmp-agent usm-user { v1 username

group and specify the SNMP

groupname v2c username groupname v3

version as well as the

username groupname [ authentication-mod {

authentication/encryption mode

md5 sha } auth-password[ privacy-mod

 

des56 priv-password ] ] } [ acl number ]

 

 

Page 81
Image 81
3Com 10014299 manual Perform the following configurations in system view, Configure Snmp version and related tasks