Configuring Snmpv1 Or Snmpv2C Access; Controlling User Access - HP FlexFabric 7900 Series Configuration Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Configuring SNMPv1 or SNMPv2c access

Step
1.
Enter system view.
2.
Enable the SNMP
agent.
3.
(Optional.) Create or
update MIB view
information.
4.
Configure the SNMP
access right.

Controlling user access

Use ACLs to prevent unauthorized access and configure command authorization and accounting to
monitor and control user behavior. For more information about ACLs, see ACL and QoS Configuration
Guide.
Command
system-view
snmp-agent
snmp-agent mib-view { excluded |
included } view-name oid-tree [ mask
mask-value ]
(Method 1) Specify the SNMP NMS
access right directly by configuring an
SNMP community:
snmp-agent community { read |
write } [ simple | cipher ]
community-name [ mib-view
view-name ] [ acl acl-number] *
(Method 2) Configure an SNMP group
and add a user to the SNMP group:
a.
snmp-agent group { v1 | v2c }
group-name [ read-view
view-name ] [ write-view
view-name ] [ notify-view
view-name ] [ acl acl-number ] *
b.
snmp-agent usm-user { v1 |
v2c } user-name group-name [ acl
acl-number ] *
37
Remarks
N/A
By default, the SNMP agent is
disabled.
By default, the device has four
views, all of which are named
ViewDefault:
View 1 includes MIB subtree
iso.
View 2 does not include subtree
snmpUsmMIB.
View 3 does not include subtree
snmpVacmMIB.
View 4 does not include subtree
snmpModules.18.
Use either method.
The username in method 2 is
equivalent to the community name
used in method 1, and must be the
same as the community name
configured on the NMS.
By default, no SNMP group or
SNMP community exists.

Advertisement

Table of Contents
loading

Table of Contents