CISCO Router BASIC Commands
Router Commands
Router Name> User executable mode, view but can’t make changesRouter Name> enable Gets you to Privilege mode allowing you to make changes to the router
Router Name # Privilege mode, changes can now be made to router
Router Name # disable To get back to user mode
Router Name # exit To exit router
Router Name # shft+ctrl+6 Break Key
Router Name # write erase To clear all previous configurations
Router Name # reload Reboot the router
Router Name # setup Setup command brings up the configuration dialog box.
Router Name # sh ? shows parameters supported by the router
Router Name # sh int shows status of all interfaces
Router Name # sh int s0 shows status of interface you selected, ie: s0, s1, e0, e1, ...
Router Name # sh ip int view ip parameters
Router Name # sh ip int brief brief summary of all interfaces and status
Router Name # sh ip route shows networks available to interface and routing table
Router Name # sh proc cpu shows CPU utilization on router
Router Name # sh mem shows memory utilization
Router Name # sh mem big to see the largest blocks of memory
Router Name # sh log to check recent history of router
Router Name # sh version shows summary of hardware and reason for last reload
Router Name # sh diag shows more detailed hardware information
Router Name # sh flash shows IOS file
Router Name # sh run shows running configurations on router ( version 10.3 and above )
Router Name # wr t shows running configurations on router (version 10.3 below/above)
Router Name # sh env all shows current router temps, power supply and general health of router
Router Name # sh env table shows warning levels for shutdown to take place
Router Name # sh startup-config shows saved config in NVRAM
Router Name # sh controllers(int) shows serial line configurations. Make sure a space is used for int. ie: s 0
Router Name # sh cdp neighbor shows directly connected neighbors
Router Name # sh cdp neighbors detail shows detail of directly connected devices: (router, bridge, switch)
Router Name # sh cdp int shows which interfaces are running CDP
Router Name # sh arp shows lan devices and mac address' ( arp table )
Router Name # sh ip arp shows the arp table in the router
Router Name # sh protocol shows which protocols are configured
Router Name # sh ip protocol shows routing protocol configured and parameters
Router Name # sh ip route isis displays all routes in the route table that originated in ISIS
Router Name # sh isis spf-log displays information on the duration/cause of recent SPF runs
Router Name # sh isis database displays all information known by ISIS
Router Name # sh isis database detail … displays contents of entire LSP (add router info, hr1.lga2.00-00)
Router Name # sh isis topology summary of best path from router to every other router
Router Name # sh ip bgp lists all routes learned from bgp
Router Name # sh ip bgp < route> shows BGP information for that particular route, use w/ sh ip rou
Router Name #sh ip bgp community-list add list # to end of string. Bgp routes that match a given list
Router Name # sh ip bgp filter-list bgp routes that match a given AS path filter list
Router Name # sh ip bgp neigh(address) shows the details on a route in the route table
Router Name # sh ip bgp sum used to view the status of a BGP session
Router Name # sh route-map (name) show the details of a specific route-map
Router Name # sh adjacency detail adjacency table used by CEF. Verify router/device is discovered
Router Name # sh ip cef to view the CEF cache or FIB (forwarding information base) table
Router Name # sh ip cef summary gives an overview of the cef entries
Router Name # sh cef not-cef-switched if CEF is enabled, this will show packets not being CEF switched
Router Name # sh standby displays the information on the operation of HSRP
Router Name # sh standby brief displays a summary of interfaces running HSRP
Router Name # sh standby (interface) displays state of the port, hello intervals, MAC address, config
R# sh mpls traffic-eng tunnels tunnel # displays tunnels between hops in a route masked by MPLS
Switch Commands
Switch1> ? responds with main help menuSwitch1> hist to view a listing of previous commands used
Switch1> show ? responds with various show commands
Switch1> show ver information about IOS and hardware components
Switch1> show module quick view of status on all modules
Switch1> show port provides general summary of all ports: errors, collisions, speed, duplex
Switch1> show port (#) specific information for a individual port
Switch1> show port status provides single line general summary of all ports
Switch1> show mac (port#) summary information on what has been sent and received on a given port
Switch1> show test (module#) if a module is in failed status, show test will show specifics
Switch1> show log shows history of switch on a per module basis
Switch1> show config shows configurations on switch
Switch1> show system shows uptime and levels of utilization
Switch1> show vlan lists the VLAN's that are resident on the switch
Switch1> show cam lists the LAN switch transparent bridging table
Switch1> sh cam (mac address) to locate a single MAC address
Switch1> show cam dynamic lists all dynamically learned MAC addresses
Switch1> show span lists info on a port listening/diagnostics feature (switched port analyzer)
Switch1> show spantree (port#) allows you to see the spantree status of a specific port
Switch1> show trunk provides a summary of the ports in trunking mode
To Enable A Port
To Disable A Port
To Enable A Protocol
Different protocols will have different instructions below is a generic example:To Disable A Protocol
To Change Router Name
From Config T settings:
To Enable RIP
To Enable SNMP
To Enable IPX (Novell)
To Enable VTY
Free Web Templates : Nuvio Templates - Free Web Templates & WordPress Themes
Best PHP email Systems and Forms : PHP Email Systems Script and Programs | Free ready to use Contact me form for your Website | Free PHP contact us form script | PHP Webmasters tools and help | Website Ranking - Rankings - Get Website Optimization basics correct, add great linking strategies and your website rankings will rocket. Most Web Masters lack website optimization service skills, website ranking and website optimization services is our specialty.


