¿Cómo habilitar el debug en un solo VPN par?

¿Cómo habilitar el debug en un solo VPN par?

137238
Created On 09/25/18 19:44 PM - Last Modified 03/26/21 16:54 PM


Symptom


A partir de PAN-OS 8.0, los debugs se pueden habilitar en un solo VPN par. Esto es útil cuando se configuran varios VPN pares y un par necesita resolver VPN problemas.

Environment


  • PAN-OS 8.0 y superior.
  • Palo Alto Firewall .
  • IPSec VPN configurado


Resolution


A partir de PAN-OS 8.0, podemos habilitar VPN los debugs específicos IPSec por par:

Antes PAN-OS de las 8.0

admin@PA-VM-7.1> debug ike 
 > global   global 
 > pcap     pcap 
 > socket   socket 
 > stat     show IKE daemon statistics

Post- PAN-OS 8.0

admin@PA-VM-8.0> debug ike
> gateway   debug IKE gateway
> global    global
> pcap      pcap
> socket    socket
> stat      show IKE daemon statistics
> tunnel    debug IPSec tunnel

 

Usando la palabra clave " gateway " o " tunnel " puede habilitar los registros por VPN puerta de enlace o IPSEC túnel

Ejemplo:

admin@PA-VM-8.0> debug ike gateway IKE-GW-HQ
> clear   clear IPSec tunnel statistics
> off     Turn off IPSec tunnel debug logging
> on      Turn on IPSec tunnel debug logging
> stats   show IPSec tunnel statistics
 
admin@PA-VM-8.0> debug ike gateway IPSEC-HQ 
> clear   clear IPSec tunnel statistics
> off     Turn off IPSec tunnel debug logging
> on      Turn on IPSec tunnel debug logging
> stats   show IPSec tunnel statistics

Para desactivar la configuración habilitada actualmente, utilice:

admin@PA-VM-8.0> debug ike gateway <name> off

Para ver la configuración de depuración actual, utilice:

admin@PA-VM-8.0> debug ike global show  => The default settings are generally set to normal mode


Los registros se almacenan en ikemgr.log y se pueden ver mediante el comando "less mp-log ikemgr.log"
 



Additional Information


Nota1: Los filtros de depuración se pueden habilitar para hasta 5 IKE puertas de enlace y/o IPSEC túneles.
Nota2: Para la ayuda adicional de troubleshooting refiera cómo resolver problemas los problemas de VPN conectividad IPSec.



Actions
  • Print
  • Copy Link

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

Choose Language