87
Step Command Remarks
1. Enter system view.
system-view
N/A
2. (Optional.) Enable the SNMP
agent.
snmp-agent
By default, the SNMP agent is
disabled.
The SNMP agent is enabled
when you use any command that
begins with
snmp-agent
except
for the
snmp-agent
calculate-password
command.
3. (Optional.) Configure the
system contact.
snmp-agent sys-info
contact
sys-contact
By default, no system contact is
configured.
4. (Optional.) Configure the
system location.
snmp-agent sys-info
location
sys-location
By default, no system location is
configured.
5. Enable SNMPv3.
• In non-FIPS mode:
snmp-agent sys-info
version { all | { v1 | v2c |
v3 }* }
• In FIPS mode:
snmp-agent sys-info
version { all | { v1 | v2c |
v3 }* }
By default, SNMPv3 is used.
6. (Optional.) Change the local
engine ID.
snmp-agent local-engineid
engineid
By default, the local engine ID is
the company ID plus the device
ID.
IMPORTANT:
After you change the local
engine ID, the existing SNMPv3
users and encrypted keys
become invalid, and you must
reconfigure them.
7. (Optional.) Configure a
remote engine ID.
snmp-agent
remote
{ ip-address |
ipv6
ipv6-address }
[
vpn-instance
vpn-instance-name ]
engineid
engineid
By default, no remote engine ID
is configured.
To send informs to an SNMPv3
NMS, you must configure the
SNMP engine ID of the NMS.
8. (Optional.) Create or update a
MIB view.
snmp-agent mib-view
{
excluded
|
included
}
view-name oid-tree [
mask
mask-value ]
By default, the MIB view
ViewDefault
is predefined. In
this view, all the MIB objects in
the
iso
subtree but the
snmpUsmMIB
,
snmpVacmMIB
, and
snmpModules.18
subtrees are
accessible.
Each view-name oid-tree pair
represents a view record. If you
specify the same record with
different MIB sub-tree masks
multiple times, the most recent
configuration takes effect.
Except for the four sub-trees in
the default MIB view, you can
create up to 16 unique MIB view
records.
9. (Optional.) Create an
SNMPv3 group.
• In non-FIPS mode:
snmp-agent group v3
By default, no SNMP group
exists.