R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)
4
Ste
p
Command
Remarks
8. Add a user to the SNMPv3
group.
snmp-agent usm-user v3
user-name group-name [ [ cipher ]
authentication-mode { md5 | sha }
auth-password [ privacy-mode
{ 3des | aes128 | des56 }
priv-password ] ] [ acl acl-number |
acl ipv6 ipv6-acl-number ] *
N/A
9. Configure the maximum
SNMP packet size (in bytes)
that the SNMP agent can
handle.
snmp-agent packet max-size
byte-count
Optional.
By default, the SNMP agent can
receive and send SNMP packets
up to 1500 bytes.
Configuring SNMPv1 or SNMPv2c basic parameters
Ste
p
Command
Remarks
10. Enter system view.
system-view N/A
11. Enable the SNMP
agent.
snmp-agent
Optional.
By default, the SNMP agent is
disabled.
You can also enable the SNMP
agent service by using any
command that begins with
snmp-agent except for the
snmp-agent
calculate-password command.
12. Configure system
information for the
SNMP agent.
snmp-agent sys-info { contact sys-contact |
location sys-location | version { all |{ v1 | v2c
| v3 }* } }
The defaults are as follows:
• Contact—null.
• Location—null.
• Version—SNMPv3.
13. Configure the local
engine ID.
snmp-agent local-engineid engineid
Optional.
The default local engine ID is
the company ID plus the device
ID.
14. Create or update a
MIB view.
snmp-agent mib-view { excluded | included }
view-name oid-tree [ mask mask-value ]
Optional.
By default, the MIB view
ViewDefault is predefined and
its OID is 1.
Each view-name oid-tree pair
represents a view record. If you
specify the same record with
different MIB subtree masks
multiple times, the most recent
configuration takes effect.
Except for the four subtrees in
the default MIB view, you can
create up to 16 unique MIB
view records.










