Configure SNMPv3 Authentication Type and Encryption Type
Configure SNMPv3 Authentication Type
By default, in a Junos OS configuration the SNMPv3 authentication type is set to none.
This topic includes the following sections:
Configur MD5 Authentication
To configure the message digest algorithm (MD5) as the authentication type for an SNMPv3 user,
include the authentication-md5
statement at the [edit
snmp v3 usm local-engine user username]
hierarchy level. For more information about this statement, see authentication-md5.
Configure SHA Authentication
You can configure the following secure hash algorithm (SHA) as the authentication type for an SNMPv3 user:
-
authentication-sha
-
authentication-sha224
-
authentication-sha256
To configure the secure hash algorithm (SHA) as the authentication type for an
SNMPv3 user, include the authentication-sha
, statement at the
[edit snmp v3 usm local-engine user
username]
hierarchy level. For more information
about this statement, see authentication-sha.
To configure the secure hash algorithm (SHA) as the authentication type for an
SNMPv3 user, include the authentication-sha224
at the
[edit snmp v3 usm local-engine user
username]
hierarchy level. For more information
about this statement, see authentication-sha224.
To configure the secure hash algorithm (SHA) as the authentication type for an
SNMPv3 user, include the authentication-sha256
statement at the
[edit snmp v3 usm local-engine user
username]
hierarchy level. For more information
about this statement, see authentication-sha256.
Configure No Authentication
To configure no authentication for an SNMPv3 user, include the
authentication-none
statement at the [edit snmp v3
usm local-engine user username]
hierarchy level.
For more information about this statement, see authentication-none.
See Also
Configure SNMPv3 Encryption Type
By default, encryption is set to none.
Before you configure encryption, you must configure MD5 or SHA authentication.
This topic includes the following sections:
- Configure Advanced Encryption Standard Algorithm
- Configure Data Encryption Algorithm
- Configure Triple DES
- Configure No Encryption
Configure Advanced Encryption Standard Algorithm
To configure the Advanced Encryption Standard (AES) algorithm for an SNMPv3 user, include the
privacy-aes128
statement at the [edit snmp v3 usm
local-engine user username]
hierarchy level. For
more information about this statement, see privacy-aes128.
Configure Data Encryption Algorithm
To configure the data encryption algorithm (DES) for an SNMPv3 user, include the
privacy-des
statement at the [edit snmp v3 usm
local-engine user username]
hierarchy level. For
more information about this statement, see privacy-des.
Configure Triple DES
To configure triple DES for an SNMPv3 user, include the privacy-3des
statement
at the [edit snmp v3 usm local-engine user
username]
hierarchy level. For more information
about this statement, see privacy-3des.
Configure No Encryption
To configure no encryption for an SNMPv3 user, include the privacy-none
statement at the [edit snmp v3 usm local-engine user
username]
hierarchy level. For more
information about this statement, see privacy-none.