beautypg.com

Snmp commands – configuration level, 2 snmp commands – configuration level – HP 2524 User Manual

Page 39

background image

2.12.2 SNMP commands – Configuration Level

[no] snmp-server community <community-name>

[manager | operator]
[restricted | unrestricted]

Used to configure a new SNMP community or to edit the configuration for an
existing one

Parameters:
 <community-name> - Enter (up to 16 characters) the SNMP community name.
 [manager | operator] - Manager - the community can access all MIB objects;

Operator - the community can access all except the CONFIG MIB.

 [restricted | unrestricted] - Unrestricted - any MIB variable that has read/write

access can be set; Restricted - MIB variables cannot be set, only read.

[no] snmp-server host <ip-addr> <community-name> [none | all | non-info | critical |
debug]

Configures which network management stations will receive SNMP event log
messages from the switch and the types of events for which the switch will send
these messages.

Parameters:
 <ip-addr> - Address of the network management station.
 <community-name> - The name of the SNMP community to which the network

management station belongs.

 [none | all | non-info | critical | debug] - The level of Switch events that will

generate a Trap to be sent: None - send no log message; All - send all log
messages; Not INFO - send each log message that is not informational-only;
Critical - send critical-level log messages; Debug (reserved for Internal use).

[no] snmp-server enable traps authentication

Enables authentication traps to be sent when a management station attempts an
unauthorized access.

35