Hello@listena,
When running the undo snmp-agent community command, you can add the actual community string or delete the encrypted community name. You only need to check the corresponding configuration and paste the ciphertext in this command.
Glad to help you! Any further questions, let us know.