0% found this document useful (0 votes)
14 views1 page

Cisco Router Command Guide

This document is a command reference for Cisco routers, detailing basic operations, viewing router information, interface configuration, routing configuration, and testing commands. It provides specific commands for entering different modes, viewing configurations, configuring interfaces and routing, as well as testing connectivity. Each command is accompanied by its syntax for easy reference.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Cisco Router Command Guide

This document is a command reference for Cisco routers, detailing basic operations, viewing router information, interface configuration, routing configuration, and testing commands. It provides specific commands for entering different modes, viewing configurations, configuring interfaces and routing, as well as testing connectivity. Each command is accompanied by its syntax for easy reference.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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>

You might also like