2-54
Controlling Management Access to the ProCurve Secure Router
Using SNMP to Manage the ProCurve Secure Router
Table 2-9. Configuration Options for snmp-server view Command
The snmp-server view command can include or exclude a group of OIDs.
The following example shows how to create a view called view1 that includes
the OID subtree family 1.4.6.2.8:
ProCurve(config)# snmp-server view view1 1.4.6.2.8.* included
The following example shows how to create a view (named view2) to exclude
a specific OID within a subtree family:
ProCurve(config)# snmp-server view view2 1.4.6.2.8.3 excluded
ProCurve(config)# snmp-server view view2 1.4.6.2.8.* included
Use the no form of the command to remove a specified view or a specific OID
for the view.
Syntax: no snmp-server view <viewname>
Configuring SNMP Communities
You configure SNMP communities to control the information authorized
SNMP servers can view or modify. You can create read-only communities and
read-write communities. You can also restrict access to an SNMP view that
you have previously configured, and you can use an access control list (ACL)
to allow SNMP requests only from authorized SNMP servers (based on their
IP address and other supported ACL filters such as protocols). For more
information about configuring SNMP views, see “Configuring SNMP Views”
on page 2-52. For more information about configuring ACLs, see Chapter 5:
Applying Access Control to Router Interfaces in the Advanced Management
and Configuration Guide.
Option Meaning
<viewname> Specifies the name of the view being created or modified.
The name can be a maximum of 32 characters.
<oidtree> Specifies the OID to include in or exclude from the view. To
identify the subtree, specify a string using numbers, such as
1.4.2.6.8. To specify a subtree family, replace a single
subidentifier with an asterisk (*).
excluded Indicates that the OID should be excluded from the view.
included Indicates that the OID should be included in the view.