12-8
Configuring for Network Management Applications
Overview
Monitoring and Managing
the Switch
Syntax: snmp-server [contact <contact-str>] [location <location-str>]
Both fields allow up to 48 charac ters, without spaces.
For example, to configure the switch with "Site-LAN-Ext.449" and a location
of "Level-2-North", you would execute the following command:
HP4108(config)# snmp-server contact Site-LANExt.449
location Level-2-North
Configuring Community Names and Values. If you enter a community
name without an operator or manager designation, the switch automatically
assigns the community to Operator for the MIB view. Also, if you do not sp ecify
restricted or unrestricted for the read/write MIB access, the switch automat-
ically restricts the community to read ac cess for the MIB.
The following SNMP command examples use add snmp to add new SNMP
communities:
Syntax: snmp-server community <community-name>
[operator | manager]
[restricted | unrestricted]
HP4108(config)# snmp-server community red-team
manager unrestricted
HP4108(config)# snmp-server community blue-team
operator restricted
Trap Receivers and Authentication TrapsTrap Features
A trap receiver is a management station designated by th e switch to receive
SNMP traps sent from the switch. An authentication trap is a specialized
SNMP trap sent to trap receivers when a n unauthorized management station
tries to access the switch.
Feature Default Menu CLI Web
snmp-server host (trap receiver) public —page
12-10
—
snmp-server enable (authentication trap) none —page
12-11
—