service snmp v3 trap-target <addr> privacy encrypted-key <priv-key>
Defines the encrypted key for the privacy protocol used for traps and informs sent to the trap target.
- addr
- The IPv4 or IPv6 address of the SNMPv3 trap target.
- priv-key
- The privacy key used to encrypt traps and informs sent to the trap target.
Configuration mode
service {
snmp {
v3 {
trap-target addr {
privacy {
encrypted-key priv-key
}
}
}
}
}
Use this command to define the encrypted key for the privacy protocol used for traps and informs sent to the trap target.
Use the set form of this command to define the encrypted key for the privacy protocol used for traps and informs sent to the trap target.
Use the delete form of this command to remove the encrypted key for the privacy protocol used for traps and informs sent to the trap target.
Use the show form of this command to view the encrypted key for the privacy protocol used for traps and informs sent to the trap target.