0% found this document useful (0 votes)
149 views4 pages

Cisco Command Summary: Cisco Router Configuration Commands

This document provides summaries of various Cisco router commands organized into the following sections: Cisco Router Configuration Commands, Cisco Router Show Commands, Cisco Router Basic Operations, Cisco Router Copy Commands, and Cisco Router Debug Commands. The sections list commands for configuring interfaces, IP addresses, routing protocols, show commands, navigating the router CLI, copying configurations, and debugging protocols.

Uploaded by

stelianpugna
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views4 pages

Cisco Command Summary: Cisco Router Configuration Commands

This document provides summaries of various Cisco router commands organized into the following sections: Cisco Router Configuration Commands, Cisco Router Show Commands, Cisco Router Basic Operations, Cisco Router Copy Commands, and Cisco Router Debug Commands. The sections list commands for configuring interfaces, IP addresses, routing protocols, show commands, navigating the router CLI, copying configurations, and debugging protocols.

Uploaded by

stelianpugna
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

Cisco Command Summary

Cisco Router Configuration Commands - Lists how to enable and disable interfaces, add IP addresses to interfaces, enable RIP or IGRP and set passwords. Cisco Router Show Commands - Handy show commands to check on the status of interfaces. Cisco Router Basic Operations - Covers getting into and out of different modes. Also, some handy shortcut keys are included. Cisco Router Copy Commands - How to save and backup your router configuration and IOS file. Cisco Router Debug Commands - Some useful debug commands.

Cisco Router Configuration Commands


Requirement
Set a console password to cisco

Cisco Command
Router(config)#line con 0 Router(config-line)#login Router(config-line)#password cisco Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password cisco Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 Router(config)#enable password cisco Router(config)#enable secret peter

Set a telnet password

Stop console timing out

Set the enable password to cisco Set the enable secret password to peter. This password overrides the enable password and is encypted within the config file Enable an interface To disable an interface Set the clock rate for a router with a DCE cable to 64K Set a logical bandwidth assignment of 64K to the serial interface

Router(config-if)#no shutdown Router(config-if)#shutdown Router(config-if)clock rate 64000 Router(config-if)bandwidth 64 Note that the zeroes are not missing Router(config-if)#ip addr 10.1.1.1 255.255.255.0 Router(config)#router rip Router(config-router)#network 172.16.0.0

To add an IP address to a interface

To enable RIP on all 172.16.x.y interfaces

Disable RIP To enable IRGP with a AS of 200, to all interfaces

Router(config)#no router rip Router(config)#router igrp 200 Router(config-router)#network 172.16.0.0 Router(config)#no router igrp 200 Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5 Router(config)#no cdp run Router(config)#cdp run Router(config-if)#no cdp enable

Disable IGRP Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, the next hop is 172.16.2.1, at a cost of 5 hops Disable CDP for the whole router Enable CDP for he whole router Disable CDP on an interface

Cisco Router Show Commands


Requirement
View version information View current configuration (DRAM) View startup configuration (NVRAM) Show IOS file and flash space Shows all logs that the router has in its memory View the interface status of interface e0 Overview all interfaces on the router View type of serial cable on s0 show version show running-config show startup-config show flash show log show interface e0 show ip interfaces brief show controllers 0 (note the space between the 's' and the '0') show cdp neighbor show cdp entry * show ip protocols

Cisco Command

Display a summary of connected cdp devices Display detailed information on all devices Display current routing protocols

Display IP routing table Display access lists, this includes the number of displayed matches Check the router can see the ISDN switch Check a Frame Relay PVC connections show lmi traffic stats Display the frame inverse ARP table

show ip route show access-lists

show isdn status show frame-relay pvc show frame-relay lmi show frame-relay map

Cisco Router Basic Operations


Requirement
Enable Return to user mode from privileged Exit Router Recall last command Recall next command Suspend or abort Refresh screen output Compleat Command Enter privileged mode disable Logout or exit or quit up arrow or <Ctrl-P> down arrow or <Ctrl-N> <Shift> and <Ctrl> and 6 then x <Ctrl-R> TAB

Cisco Command

Cisco Router Copy Commands


Requirement
Save the current configuration from DRAM to NVRAM

Cisco Command
copy running-config startup-config

Merge NVRAM configuration to DRAM Copy DRAM configuration to a TFTP server Merge TFTP configuration with current router configuration held in DRAM Backup the IOS onto a TFTP server Upgrade the router IOS from a TFTP server

copy startup-config running-config copy runing-config tftp copy tftp runing-config

copy flash tftp copy tftp flash

Cisco Router Debug Commands


Requirement
Enable debug for RIP Enable summary IGRP debug information Enable detailed IGRP debug information Debug IPX RIP Debug IPX SAP Enable debug for CHAP or PAP Switch all debugging off debug ip rip debug ip igrp events debug ip igrp transactions debug ipx routing activity debug IPX SAP debug ppp authentication no debug all undebug all This page was created in 0.18446 seconds Comments and Questions
Last modified: October 26 2003.

Cisco Command

You might also like