service snmp v3 user <username> privacy encrypted-key <priv-key>
Defines the encrypted key used to encrypt user traffic.
- username
-
The name of an SNMPv3 user.
- priv-key
-
The encrypted key. Only hexadecimal keys are supported.
Configuration mode
service {
snmp {
v3 {
user username {
privacy {
encrypted-key priv-key
}
}
}
}
}
Use this command to specify the encrypted key used to encrypt user traffic.
Use the set form of this command to specify the encrypted key used to encrypt user traffic.
Use the delete form of this command to remove the encrypted key.
Use the show form of this command to view the encrypted key used to encrypt user traffic.