(and Cisco too)

see also

Basic Commands

Juniper CommandFortigate CommandCisco CommandWhat does it do?
show configurationshowshow runShow running configuration
show versionget system statusshow versionshow version
show interface terseget system interfaceshow IP interface briefdisplays the status of interfaces configured for IP
show interfaces # detaildiagnose hardware devinfo nic #

or

diagnose netlink interface list #

or

fnsysctl ifconfig #
show interface #displays the interface configuration, status and statistics.
show interfaces # extensivediagnose hardware devinfo nic #show controller #displays information about a physical port device
show routeget router info routing-table allshow ip routedisplays summary information about entries in the routing table
pingexecute pingpingping
show system uptimeget system statusshow clockDisplay the system clock
show arpget system arp

or

diagnose ip arp list
show arpDisplay entries in the Address Resolution Protocol (ARP) table
show ethernet-switching table briefdiagnose netlink brctl name .b

(only in transparent mode)
show mac-address-tableDisplay mac tables

BGP Commands

Juniper CommandFortigate CommandCisco CommandWhat does it do?
show routeget router info routing-table allshow ip routedisplays summary information about entries in the routing table
show bgp summaryget router info bgp summaryshow ip bgp summarydisplays the status of all Border Gateway Protocol (BGP) connections
show route protocol bgpget router info routing-table bgpshow ip bgpDisplay the route entries in the routing table that were learned from bgp
show route communityget router info bgp communityshow ip bgp communityDisplay the route entries in each routing table that are members of a Border Gateway Protocol (BGP) community.
show bgp neighborget router info bgp neighborsshow ip bgp neighborsDisplay information about BGP peers.
show route advertising-protocol bgp #get router info bgp neighbors # advertised-routesshow ip bgp neighbor #
advertised-routes
Display the routing information as it has been prepared for advertisement to a particular neighbor
show route receive-protocol bgp #get router info bgp neighbors # routesshow ip bgp neighbor #
received-routes
Display the routing information as it was received through a particular neighbor
show route damping decayedget router info bgp dampening dampened-pathsshow ip bgp dampened pathsDisplay the BGP routes for which updates might have been reduced because of route flap damping
show route aspath-regexget router info bgp regexpshow ip bgp regexpDisplay the entries in the routing table that match the specified autonomous system (AS) path regular expression
clear bgp neighbor execute router clear bgpclear ip bgp
Juniper, Fortigate Cheat Sheet

Leave a Reply

Your email address will not be published.