HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 61
Command, Remarks, SNMPv1 SNMPv2c
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Step 1. Enter system view. Command system-view Remarks 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 and snmp-agent ifmib long-ifindex enable commands. 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-null. • Location-null. • Version-SNMPv1 SNMPv2c 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. Optional. By default, the MIB view ViewDefault is predefined and its OID is 1. Each view-name oid-tree pair 5. Create or update a MIB view. snmp-agent mib-view { excluded | included } view-name oid-tree represents a view record. If you specify the same record with [ mask mask-value ] different MIB subtree masks multiple times, the last configuration takes effect. Except for the four subtrees in the default MIB view, you can create up to 16 unique MIB view records. snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view ] 6. Configure an SNMPv3 group. [ write-view write-view ] By default, no SNMP group exists. [ notify-view notify-view ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * 7. Convert a plaintext key to a ciphertext (encrypted) key. snmp-agent calculate-password plain-password mode { 3desmd5 | 3dessha | md5 | sha } { local-engineid | specified-engineid engineid } Optional. 54