- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-04-2017 04:01 AM
I have a current SNMP profile using snmpv3. This setup in Panorama is in production. In the event i want to mimic this SNMPv3 profile in my lab Panorama is it possible import just the SNMPv3 profile portion of config with the encrpyted password as well into my lab from prod or would I have to manually type snmp auth/priv passwords in lab box ? lab box isnt in same panorama so i cant add lab devices to prod Panorama. I ask because I dont know the auth/priv SNMP credentials.
10-04-2017 04:48 AM
Hi @clyde.franklin,
Yes, that seems to work.
This is how I did it :
- Open XML from device A
- Copy everything between the <snmp-setting>...</snmp-setting> tags. (include the tags).
- Open XML from device B
- Replace he <snmp-setting>...</snmp-setting> code with the code from device A
- Save the file.
- Import and load the config on device B and commit.
Now I can perfectly query device B ... I do need the auth pwd and priv pwd in my query :
kiwi$ snmpget -v 3 -u kiwi -l authPriv -a SHA -A <auth pwd> -x AES -X <priv pwd> 10.192.16.241 .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Palo Alto Networks PA-3000 series firewall
I hope this helps.
Cheers !
-Kiwi.
10-04-2017 04:48 AM
Hi @clyde.franklin,
Yes, that seems to work.
This is how I did it :
- Open XML from device A
- Copy everything between the <snmp-setting>...</snmp-setting> tags. (include the tags).
- Open XML from device B
- Replace he <snmp-setting>...</snmp-setting> code with the code from device A
- Save the file.
- Import and load the config on device B and commit.
Now I can perfectly query device B ... I do need the auth pwd and priv pwd in my query :
kiwi$ snmpget -v 3 -u kiwi -l authPriv -a SHA -A <auth pwd> -x AES -X <priv pwd> 10.192.16.241 .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Palo Alto Networks PA-3000 series firewall
I hope this helps.
Cheers !
-Kiwi.
10-04-2017 05:08 AM
ok since i dont know the actaul unencrypted password adn cant do snmp query i will cause a alarm in my lab and see if it alerts in monitoring tool
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!