3com 3031 Instruccion De Instalación
SNMP Configuration
99
Add a user “John” to SNMP group “Johngroup”, with security level being
authentication required, the specified authentication protocol being
“HMAC-MD5-96”, and the authentication password being “hello”.
authentication required, the specified authentication protocol being
“HMAC-MD5-96”, and the authentication password being “hello”.
[3Com]snmp-agent usm-user v3 John Johngroup authentication-mode md5
hello
Setting the ID and
contact of the
Administrator
System contact is a management variable of the group system in MIB II and it
contains the ID and contact of relevant administrator of the managed devices
(router). Through configuring this parameter, the user can store the important
information in the router so as to query when emergency occurs.
contains the ID and contact of relevant administrator of the managed devices
(router). Through configuring this parameter, the user can store the important
information in the router so as to query when emergency occurs.
Perform the following in the System View.
For example:
[3Com]snmp-agent sys-info contact Mr.zhang 13800138002
Enabling Traps
Traps are pieces of unrequsted information sent to the NMS by the agent on its
own initiatives, reporting some emergent and significant events.
own initiatives, reporting some emergent and significant events.
Perform the following in the System View.
By default, sending Trap is disabled.
Table 99 Setting the SNMP user
Operation
Command
Add a new user to
the SNMP group
the SNMP group
snmp-agent usm-user { v1 | v2c } user-name
group-name [ acl acl-number ]
group-name [ acl acl-number ]
snmp-agent usm-user v3 user-name group-name [ [
authentication-mode { md5 | sha } auth-password ] [
privacy des56 priv-password ] ] [ acl acl-number ]
authentication-mode { md5 | sha } auth-password ] [
privacy des56 priv-password ] ] [ acl acl-number ]
Delete a user from
the SNMP group
the SNMP group
undo snmp-agent user { v1 | v2c } user-name
group-name
group-name
undo snmp-agent user v3 user-name group-name [
engineid engine-id | local ]
engineid engine-id | local ]
Table 100 Setting the ID and contact of the administrator
Operation
Command
Set the ID and contact of the
administrator
administrator
snmp-agent sys-info contact sysContact
Restore the ID and contact of the
administrator to default values
administrator to default values
undo snmp-agent sys-info contact
Table 101 Setting the sending Trap
Operation
Command
Enable sending
Trap
Trap
snmp-agent trap enable [ trap-type [ trap-list ] ]
Disable sending
Trap
Trap
undo snmp-agent trap enable [ trap-type [ trap-list ]
]
]