This list is by no means comprehensive, but it is conceived to give some of the most useful commands for admins new to the Cisco CLI
configure terminal
: enter configuration modewrite memory
: save the config to non-volatile storage (preserve config after reboot)show ip interface brief
: show a summary of the network interfaces in the systemshow ip bgp summary
: show the status of configured BGP adjacenciesshow ip route
: show the system routing tableshow ip route
<ip-address>
: show routing table information for a particular IP addressshow ip route bgp
: show the BGP routes in the routing tableshow ip bgp
<ip-address>
: show BGP candidate routes for a particular IP addressclear ip bgp *
: clear all BGP neighborship status (force peers to re-establish)clear ip bgp
<peer-ip-address>
clear BGP neighborship with a particular peer (force it to re-establish), resetting things like route age timersterminal monitor
: show system feedback that normally would only be visible in a serial console connectiondebug ip bgp
: show system feedback about BGP peering operations (remember to use terminal monitor
first)do
[command]
: useful for running commands that are not available in configuration mode, while in configuration mode. Examples:
do show ip bgp summary
after configuring BGP router detailsdo show ip route bgp
after configuring BGP route-mapsdo write memory
after updating configuration, without needing to leave configuration mode