10-13
z
The cipher text password converted with the
sha
keyword specified in this command is a string of
40 hexadecimal characters. For an authentication password, all of the 40 hexadecimal characters
are valid; while for a privacy password, only the first 32 hexadecimal characters are valid.
z
Enable SNMP on the device before executing the command.
When creating an SNMPv3 user, if you specify to use the cipher text authentication/encryption
password, you can use this command to generate a cipher text password.
The converted password is associated with the engine ID, namely, the password is valid only under the
specified engine ID based on which the password was configured.
Related commands: snmp-agent usm-user v3.
Examples
# Use local engine ID and MD5 authentication protocol to convert the plain text password
authkey
.
<Sysname> system-view
[Sysname] snmp-agent calculate-password authkey mode md5 local-engineid
The secret key is: 09659EC5A9AE91BA189E5845E1DDE0CC
snmp-agent community
Syntax
snmp-agent community
{
read
|
write
}
community
-
name
[
acl
acl-number
|
mib-view
view-name
] *
undo snmp-agent community
{
read
|
write
}
community
-
name
View
System view
Default Level
3: Manage level
Parameters
read
: Indicates that the community has read only access right to the MIB objects; that is, the NMS can
perform read-only operations when it uses this community name to access the agent.
write
: Indicates that the community has read and write access right to the MIB objects; that is, the
NMS can perform read and write operations when it uses this community name to access the agent.
community
-
name
: Community name, a string of 1 to 32 characters.
acl acl-number
: Associates a basic ACL with the community name.
acl-number
is in the range 2,000 to
2,999. By using an ACL, you can configure to allow or prohibit the access to the agent from the NMS
with the specified source IP address.
mib-view
view-name
: Specifies the MIB view name associated with
community
-
name
, where
view-name
represents the MIB view name, a string of 1 to 32 characters. If no keyword is specified, the
default view is ViewDefault (The view created by the system after SNMP agent is enabled).
Description
Use the
snmp-agent community
command to create a new SNMP community. Parameters to be
configured include access right, community name, ACL, and accessible MIB views.
Use the
undo snmp-agent community
command to delete a specified community.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...