Displaying the SNMP community string

If you want to display the SNMP community string, enter the following commands.

device(config)#enable password-display
device#show snmp server

The enable password-display command enables display of the community string in the output of the show snmp server command. Display of the string is still encrypted in the startup-config file and running-config. When the enable password-display command is configured, the user password and snmp community string are encrypted in the show run command output. Enter the command at the global CONFIG level of the CLI.