Configuring snmp basic parameters, Configuring snmpv3 basic parameters – H3C Technologies H3C SecPath F1000-E User Manual
Page 146
135
Configuring SNMP basic parameters
SNMPv3 differs from SNMPv1 and SNMPv2c in many ways. Their configuration procedures are
described in separate sections.
In FIPS mode, SNMPv3 must be used.
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 the
snmp-agent calculate-password
command.
3.
Configure SNMP agent
system information.
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 a local engine ID
for an SNMP entity.
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.
6.
Configure an SNMPv3 group.
snmp-agent group v3 group-name
[ authentication | privacy ]
[ read-view read-view ]
[ write-view write-view ]
[ notify-view notify-view ] [ acl
acl-number ]
N/A
7.
Convert a plain text key to an
encrypted key.
snmp-agent calculate-password
plain-password mode { 3desmd5 |
3dessha | md5 | sha }
{ local-engineid |
specified-engineid engineid }
Optional.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS