Palo Alto CLI Cheat Sheet
Palo Alto CLI Cheat Sheet
View all User-ID agents configured to send user mappings to the Palo Alto Networks device:
To see all configured Windows-based agents:
> show user user-id-agent state all
To see if the PAN-OS-integrated agent is configured:
> show user server-monitor state all
CLI CHEAT SHEET: USER-ID
View how many log messages came in from syslog senders and how many entries the User-ID agent
successfully mapped:
> show user server-monitor statistics
View the configuration of a User-ID agent from the Palo Alto Networks device:
> show user user-id-agent config name <agent-name>
View the most recent addresses learned from a particular User-ID agent:
> show log userid datasourcename equal <agent-name> direction equal backward
ntlm,
unknown,
vpn-client, or
wmi-probing.
For example, to view all user mappings from the Kerberos server, you would enter the following
command:
> show log userid datasourcetype equal kerberos
+ use-ssl use-ssl
* email email address
> mail-attribute mail attribute
> server ldap server ip or host name.
> server-port ldap server listening port
For example:
> show user email-lookup base "DC=lab,DC=sg,DC=acme,DC=local" bind-dn
"CN=Administrator,CN=Users,DC=lab,DC=sg,DC=acme,DC=local" bind-password acme use-ssl
no email [email protected] mail-attribute mail server 10.1.1.1 server-port 389 labsg\user1