SNMP walk for Community strings with '!' at the start of in between a community string does not work.
When we do a SNMP walk for Airwave for a particular device which has community string starting with or containing '!' in between the community string we get the
bash error like below:
Scenario 1: '!' in between the community string:
[root@Airwave mercury]# s2w 10.130.226.30 W!ldfir3
bash: !ldfir3: event not found
Scenario 2" '!' at the start:
[root@Airwave mercury]# s2w 10.130.226.30 !shar
bash: !shar: event not found
Bash is interpreting the bang (!) as a history expansion command. To get around this, surround the community string in single quotes (‘).