8-9
Configuring for Network Management Applications
SNMP Communities
Mo
ni
to
ri
ng
a
nd
Ma
nag
in
g
th
e
Sw
it
c
h
HP2512# show snmp-server public
Configuring Identity Information
This command enables you to enter contact-person and location data to help
identify 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:
HP2512(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 automatically restricts the community to read access for
the MIB.
Adding SNMP Communities in the Switch.
The following SNMP com-
mand examples use
add snmp
to add
new
SNMP communities:
Syntax:
snmp-server community <
community-name
>
[operator | manager]
[restricted | unrestricted]
HP2512(config)# snmp-server community red-team
manager unrestricted
HP2512(config)# snmp-server community blue-team
operator restricted
Содержание HP ProCurve series 2500
Страница 1: ...hp procurve series 2500 switches management and configuration guide www hp com go procurve ...
Страница 2: ......
Страница 3: ...HP ProCurve Switches 2512 and 2524 Management and Configuration Guide Software Release F 01or Greater ...
Страница 6: ......
Страница 18: ...xvi Contents ...
Страница 42: ...2 16 Using the Menu Interface Where To Go From Here Using the Menu Interface ...
Страница 84: ...4 26 Using the HP Web Browser Interface Status Reporting Features Using the HP Web Browser Interface ...
Страница 306: ...9 112 Configuring Advanced Features Spanning Tree Protocol STP Configuring Advanced Features ...
Страница 382: ......