KB ID 0001776
Problem
Bah what the hell is ‘show run‘? If you’ve spent years on Cisco IOS and ASA/Firepower, then FortiGate can be a little confusing. Hopefully this Cisco to FortiGate list below will make it a little easier.
Cisco to Fortigate Translation
| Cisco Command | FortiGate Command | 
| Basic commands | |
| show run | show full-config | 
| show version | get system status | 
| show ip interface brief | show system interface | 
| show run interface x/x | show system interface <port #> | 
| show interface x/x | get hardware nic <port #> / diagnose hardware deviceinfo nic | 
| show ip arp | diagnose ip arp list | 
| show mac address-table | diagnose switch mac-address list | grep -i mac | 
| show lldp neighbor | diagnose lldprx neighbor summary | 
| show ip nat translation | get system session list | 
| show vlan | diagnose switch vlan list | 
| show failover | diagnose system ha status | 
| copy running-configuration startup-configuration | execute backup config | 
| reload | execute reboot | 
| ping x.x.x.x | execute ping x.x.x.x | 
| Basic Routing Commands | |
| show ip route | get router info routing-table all | 
| show ip route x.x.x.x | get router info routing-table details x.x.x.x | 
| sh ip route summary | get router info routing-table all | 
| show run | sec route-map | show router route-map | 
| show run | sec ip prefix-list | show router prefix-list | 
| OSPF Commands | |
| show ip ospf neighbor | get router info ospf neighbor | 
| show ip ospf neighbor details | get router info ospf neighbor detail all | 
| BGP Commands | |
| show ip bgp summary | get router info bgp summary | 
| show run | sec router bgp | show router bgp | 
| show ip bgp neighbor x.x.x.x routes | get router info bgp neighbors x.x.x.x routes | 
| show ip bgp neighbor x.x.x.x advertised-routes | get router info bgp neighbors x.x.x.x advertised-routes | 
| show ip bgp neighbor x.x.x.x received-routes | get router info bgp neighbors x.x.x.x received-routes | 
| show ip bgp x.x.x.x | get router info bgp network x.x.x.x | 
| VPN Commands | |
| show crypto isakmp | diagnose vpn ike gateway list | 
| show crypto ipsec sa | diagnose vpn tunnel list | 
Please comment below if you want to add any I’ve missed.
Related Articles, References, Credits, or External Links
NA
				
03/05/2023
To get the uptime, the command is “get system performance status”