Configuring snmp basic parameters, Configuring snmpv3 basic parameters – H3C Technologies H3C SecBlade LB Cards User Manual
Page 64
55
Task Remarks
Optional.
Configuring SNMP basic parameters
SNMPv3 differs from SNMPv1 and SNMPv2c in many ways. Their configuration procedures are
described in separate sections.
Configuring SNMPv3 basic parameters
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the SNMP
agent.
snmp-agent
Optional.
By default, the SNMP agent is disabled.
You can also enable the SNMP agent by
using any command that begins with
snmp-agent except for the snmp-agent
calculate-password command.
3.
Configure system
information for the
SNMP agent.
snmp-agent sys-info { contact
sys-contact | location sys-location |
version { all | { v1 | v2c | v3 }* } }
Optional.
The defaults are as follows:
•
Contact—Hangzhou H3C Technologies
Co., Ltd.
•
Location—Hangzhou China.
•
Version—SNMPv3.
4.
Configure the local
engine ID.
snmp-agent local-engineid
engineid
Optional.
The default local engine ID is the company
ID plus the device ID.
After you change the local engine ID, the
existing SNMPv3 users become invalid,
and you must re-create the SNMPv3 users.
5.
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.