Configuring the Switch

3-34

3
Web – Click SNMP, Configuration. Add new community strings as required, select
the access rights from the Access Mode drop-down list, then click Add.
Figure 3-24 Configuring SNMP Community Strings
CLI – The following example adds the string “spiderman” with read/write access.

Specifying Trap Managers and Trap Types

Traps indicating status changes are issued by the switch to specified trap managers.
You must specify trap managers so that key events are reported by this switch to
your management station (using network management platforms such as HP
OpenView). You can specify up to five management stations that will receive
authentication failure messages and other trap messages from the switch.
Command Attributes
Trap Manager Capability – This switch supports up to five trap managers.
Current – Displays a list of the trap managers currently configured.
Trap Manager IP Address – IP address of the host (the targeted recipient).
Trap Manager Community String – Community string sent with the notification
operation. (Range: 1-32 characters, case sensitive)
Trap UDP Port – Sets the UDP port number. (Default: 162)
Trap Version – Specifies whether to send notifications as SNMP v1, v2c, or v3
traps. (The default is version 1.)
Trap Security Level – Specifies the security level.
Enable Authentication Traps – Issues a trap message whenever an invalid
community string is submitted during the SNMP access authentication process.
(Default: Enabled)
Enable Link-up and Link-down Traps – Issues a trap message whenever a port
link is established or broken. (Default: Enabled)
Console(config)#snmp-server community spiderman rw 4-102
Console(config)#