CLI Cheat Sheet: Networking
Table of Contents
Expand all | Collapse all
CLI Cheat Sheet: Networking
Use the following table to quickly locate commands for
common networking tasks:
If you want to .
. . | Use . . . |
---|---|
General Routing Commands | |
| > show routing route |
| > show routing fib virtual-router <name> | match <x.x.x.x/Y> |
| > set system setting arp-cache-timeout <60-65536> |
| > show system setting arp-cache-timeout |
AE Interfaces | |
| > set ae-frag redistribution-policy hash |
NAT | |
| > set system setting persistent-dipp enable yes |
| > show running nat-policy |
| > test nat-policy-match |
| > show running ippool > show running global-ippool |
IPSec | |
| > show vpn flow |
| > show vpn gateway |
| > show vpn ike-sa |
| > show vpn ipsec-sa |
| > show vpn tunnel |
LSVPN (PAN-OS 10.1.7
and later 10.1 releases) | |
| > request global-protect-portal set-satellite-cookie-expiration value <0-5> |
| > show global-protect-portal satellite-cookie-expiration |
| > show global-protect-satellite satellite |
BFD | |
| > show routing bfd active-profile [<name>] |
| > show routing bfd details [interface <name>] [local-ip <ip>] [multihop][peer-ip <ip>] [session-id] [virtual-router <name>] |
| > show routing bfd drop-counters session-id <session-id> |
| > show counter global | match bfd |
| > clear routing bfd counters session-id all | <1-1024> |
| > clear routing bfd session-state session-id all | <1-1024> |
PVST+ | |
| > set session pvst-native-vlan-id <vid> |
| > set session drop-stp-packet |
| > show vlan all |
| > show counter global Look
at the flow_pvid_inconsistent counter. |
Troubleshooting | |
| > ping host <destination-ip-address> |
| > ping source <ip-address-on-dataplane> host <destination-ip-address> |
| > show netstat statistics yes |