CLI Cheat Sheet: Networking
Table of Contents
10.0 (EoL)
Expand all | Collapse all
End-of-Life (EoL)
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 |
NAT | |
| > 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 |
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 |