150
case-sensitive string of 1 to 31 characters. If this parameter is not specified, the target host is in the
public network.
cipher
: Specifies that
auth-password
and
priv-password
are encrypted keys, which can be
calculated to a hexadecimal string by using the
snmp-agent calculate-password
command.
simple
: Specifies that
auth-password
and
priv-password
are plaintext keys.
authentication-mode
: Specifies an authentication algorithm. MD5 is faster but less secure than
SHA. For more information about these algorithms, see
Security Configuration Guide
.
•
md5
: Specifies the MD5 authentication algorithm.
•
sha
: Specifies the SHA-1 authentication algorithm.
auth-password
: Specifies a case-sensitive plaintext or encrypted authentication key. In non-FIPS
mode, a plaintext key is a string of 1 to 64 visible characters. In FIPS mode, a plaintext key is a string
of 15 to 64 visible characters, which must contain numbers, upper-case letters, lower-case letters,
and special characters. If the
cipher
keyword is specified, the encrypted authentication key length
requirements differ by authentication algorithm and key string format, as shown in
Table 42 Encrypted authentication key length requirements
Authentication
algorithm
Hexadecimal string
Non-hexadecimal string
MD5
32 characters
53 characters
SHA
40 characters
57 characters
privacy-mode
: Specifies an encryption algorithm for privacy. The encryption algorithms AES, 3DES,
and DES are in descending order of security strength. DES is enough to meet general security
requirements.
•
aes128
: Specifies the AES algorithm.
•
3des
: Specifies the 3DES algorithm.
•
des56
: Specifies the DES algorithm.
priv-password
: Specifies a case-sensitive plaintext or encrypted privacy key. In non-FIPS mode, a
plaintext key is a string of 1 to 64 characters. In FIPS mode, a plaintext key is a string of 15 to 64
visible characters, which must contain numbers, upper-case letters, lower-case letters, and special
characters. If the
cipher
keyword is specified, the encrypted privacy key length requirements differ
by authentication algorithm and key string format, as shown in
Table 43 Encrypted privacy key length requirements
Authentication
algorithm
Encryption
algorithm
Hexadecimal string
Non-hexadecimal string
MD5
3DES
64 characters
73 characters
MD5
AES128 or
DES-56
32 characters
53 characters
SHA
3DES
80 characters
73 characters
SHA
AES128 or
DES-56
40 characters
53 characters
acl acl-number
: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address. The
acl-number
argument represents an ACL number in the range of 2000 to 2999. Only NMSs with an IPv4 address
permitted in the ACL can use the specified username to access the SNMP agent. If no ACL is
specified, or the specified ACL does not exist, any NMS can use the specified username to access
the SNMP agent. If the specified ACL does not have any rules, no NMS in the SNMP community can
access the SNMP agent.