IronPort Systems 4108GL Switch User Manual


 
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 characters, 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 specify
restricted or unrestricted for the read/write MIB access, the switch automat-
ically restricts the community to read access 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 Traps
Trap Features
A trap receiver is a management station designated by the switch to receive
SNMP traps sent from the switch. An authentication trap is a specialized
SNMP trap sent to trap receivers when an 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