HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 94
snmp-agent community, Examples, Related commands, Syntax, Default, Views, Predefined user roles
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 94 highlights
Use this command to calculate ciphertext authentication and privacy keys when you create SNMPv3 users by using the snmp-agent usm-user v3 command. The converted key is valid only under the engine ID specified for key conversion. Examples # Use the local engine and the SHA-1 algorithm to convert the plaintext key authkey to a ciphertext key. system-view [Sysname] snmp-agent calculate-password authkey mode sha local-engineid The encrypted key is: 09659EC5A9AE91BA189E5845E1DDE0CC Related commands • snmp-agent local-engineid • snmp-agent usm-user v3 snmp-agent community Use snmp-agent community to configure an SNMP community. Use undo snmp-agent community to delete an SNMP community. Syntax snmp-agent community { read | write } community-name [ mib-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent community { read | write } community-name Default If the device starts up with the initial settings (or empty configuration), no SNMP community exists. If the device starts up with the default configuration file (or factory defaults), public is used as the read-only community name and private is used as the read and write community name. For more information about the startup configuration, see Fundamentals Configuration Guide. Views System view Predefined user roles network-admin Parameters read: Assigns the specified community the read only access to MIB objects. A read-only community can only inquire MIB information. write: Assigns the specified community the read and write access to MIB objects. A read and write community can configure MIB information. community-name: Sets a community name, a string of 1 to 32 characters. mib-view view-name: Specifies the MIB view available for the community. The view-name argument represents a MIB view name, a string of 1 to 32 characters. A MIB view represents a set of accessible MIB objects. If no MIB view is specified, the specified community can access the MIB objects in the default MIB view ViewDefault. 92