Cisco Router Command Reference
Basic Operations
Enter Privileged Mode enable
Back to user Mode disable
Enter global configuration mode configure terminal
Exit any mode exit or CTRL+Z
Abort sequence CTRL+C or CTRL+SHIFT+6
Show command history show history
Scroll through command history Up and down arrows
Auto complete command TAB
Run privileged mode commands from inside config modes do <command>
Negate command no <command>
Access built-in help ? or <partial_command> ?
Configure hostname hostname <name>
Viewing Router Information
View current configuration (RAM) show running-config
View saved configuration (NVRAM) show startup-config
Display all interfaces and status show interface
Display IP interfaces and status show ip interface
Display IP interfaces and status (brief) show ip interface brief
Display protocols configured show protocols
Display IP protocols configured show ip protocols
Display routing table show ip route
Interface Configuration
Enter interface config mode interface <interface_name>
Set IP address ip address <address> <net_mask>
Set clock rate on DCE clock rate <clock_rate>
Set bandwidth bandwidth <bandwidth>
Disable interface shutdown
Routing Configuration
Enter OSPF config mode router ospf <process_no>
Add interfaces to OSPF Int mode ip ospf <process_no> area <area_no>
Net statements network <interface_address> <wildcard_mask> area <area_no>
Set interface to passive passive-interface <interface_name>
Configure static route ip route <net_address> <net_mask> <next_hop_address>
ip route <net_address> <net_mask> <exit_interface_name>
Configure default route ip route [Link] [Link] <next_hop_address>
Testing
Ping ping <ip_address>
Traceroute traceroute <ip_address>