service snmp v3 trap-target <addr> auth encrypted-key <passwd>
Defines the encrypted password to use for authentication at the trap target.
- addr
- The IPv4 or IPv6 address of the SNMPv3 trap target.
- passwd
- The authentication password. Only hexadecimal passwords are allowed.
Configuration mode
service {
snmp {
v3 {
trap-target addr {
auth {
encrypted-key passwd
}
}
}
}
}
Use this command to define the encrypted password to use for authentication at the trap target. Use the service snmp v3 trap-target addr auth plaintext-key passwd command to specify an unencrypted password for authentication. Only one of these two commands can be used to configure authentication for a given trap target.
Use the set form of this command to define the encrypted password for authentication.
Use the delete form of this command to remove the encrypted password for authentication.
Use the show form of this command to view the encrypted password for authentication.