How to Configure SNMPv3 Polling

How to Configure SNMPv3 Polling

176581
Created On 09/25/18 17:39 PM - Last Modified 06/05/23 20:38 PM


Resolution


Steps

Configure SNMPv3:

  1. From the WebGUI go to Device > Setup > Operations > SNMP Setup.
  2. Select Version V3
  3. A view needs to be configured and assigned to a user.
  4. For this example, a view called "testviewsetup: is created and assigned to user "test", with the password set as "paloalto".

    Note: Spaces are not allowed in the view name and the user must be a firewall administrator.

  5. Create the view as shown in the following screenshot to allow this view to access all possible OIDs.

    DOC-4037-1.png

  6. Create the user account using this view.
  7. Commit the configuration.

 

Poll the device from a Linux workstation:

  • To perform an SNMPGET, run the command:

    root@linux2:~# snmpget -v 3 -u [username] -l authPriv -a SHA -A [auth password]-x AES -X [priv password] [IP address] .1.3.6.1.2.1.1.1.0

     

    Response:

    iso.3.6.1.2.1.1.1.0 = STRING: "Palo Alto Networks PA-500 series firewall"

     

    Note: PAN-OS 5.0 and 6.0 all use Secure Hash Algorithm (SHA-1 160) for Auth Password and Advanced Encryption Standard (AES 128) for Priv Password.

  • To perform an SNMPWALK, run the command:

    root@linux2:~# snmpwalk -v 3 -u [username] -l authPriv -a SHA -A [auth password] -x AES -X [priv password] [IP address]

     

    Response:

    iso.3.6.1.2.1.1.1.0 = STRING: "Palo Alto Networks PA-500 series firewall"

    iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.25461.2.3.6

    iso.3.6.1.2.1.1.3.0 = Timeticks: (1235369) 3:25:53.69

    iso.3.6.1.2.1.1.4.0 = STRING: "Not Set"

    iso.3.6.1.2.1.1.5.0 = STRING: "PA500-wtam"

    iso.3.6.1.2.1.1.6.0 = STRING: "Unknown"

    iso.3.6.1.2.1.1.8.0 = Timeticks: (5) 0:00:00.05

    (output truncated)

 

Engine ID is not required for polling purposes. However for sending Traps, an engine ID needs to be configured under SNMP Trap Server profile. For more information reference the following document:

How to Configure Sending SNMPv3 Traps on PAN-OS 5.0.x and above

 

 

owner: achitwadgi



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHOCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language