Your SlideShare is downloading. ×
Cisco router configuration commands
Cisco router configuration commands
Cisco router configuration commands
Cisco router configuration commands
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Cisco router configuration commands

6,252

Published on

Cisco router configuration commands

Cisco router configuration commands

Published in: Technology, Education
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
6,252
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
299
Comments
1
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Cisco Router Configuration CommandsFull guide to Cisco router configuration commandsRequirement Cisco CommandSet a console password to cisco Router(config)#line con 0 Router(config-line)#login Router(config-line)#password ciscoSet a telnet password Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password ciscoStop console timing out Router(config)#line con 0 Router(config-line)#exec-timeout 0 0Set the enable password to cisco Router(config)#enable password ciscoSet the enable secret password to peter. Router(config)#enable secret peterThis password overrides the enablepasswordand is encypted within the config fileEnable an interface Router(config-if)#no shutdownTo disable an interface Router(config-if)#shutdownSet the clock rate for a router with a DCE Router(config-if)clock rate 64000cable to 64KSet a logical bandwidth assignment of 64K Router(config-if)bandwidth 64to the serial interface Note that the zeroes are not missingTo add an IP address to a interface Router(config-if)#ipaddr 10.1.1.1 255.255.255.0To enable RIP on all 172.16.x.y interfaces Router(config)#router rip Router(config-router)#network 172.16.0.0Disable RIP Router(config)#no router ripTo enable IRGP with a AS of 200, to all Router(config)#router igrp 200http://www.router-switch.com/页 1
  • 2. interfaces Router(config-router)#network 172.16.0.0Disable IGRP Router(config)#no router igrp 200Static route the remote network is Router(config)#ip route 172.16.1.0172.16.1.0, with a mask of 255.255.255.0, 255.255.255.0 172.16.2.1 5the next hop is 172.16.2.1, at a cost of 5hopsDisable CDP for the whole router Router(config)#no cdp runEnable CDP for he whole router Router(config)#cdp runDisable CDP on an interface Router(config-if)#no cdp enableCisco Router Show CommandsRequirement Cisco CommandView version information show versionView current configuration (DRAM) show running-configView startup configuration (NVRAM) show startup-configShow IOS file and flash space show flashShows all logs that the router has in its show logmemoryView the interface status of interface e0 show interface e0Overview all interfaces on the router show ip interfaces briefView type of serial cable on s0 show controllers 0 (note the space between the s and the 0)Display a summary of connected cdp show cdp neighbordevicesDisplay detailed information on all devices show cdp entry *http://www.router-switch.com/页 2
  • 3. Display current routing protocols show ip protocolsDisplay IP routing table show ip routeDisplay access lists, this includes the number show access-listsof displayed matchesCheck the router can see the ISDN switch show isdn statusCheck a Frame Relay PVC connections show frame-relay pvcshow lmi traffic stats show frame-relay lmiDisplay the frame inverse ARP table show frame-relay mapCisco Router Basic OperationsRequirement Cisco CommandEnable Enter privileged modeReturn to user mode from disableprivilegedExit Router Logout or exit or quitRecall last command up arrow or <Ctrl-P>Recall next command down arrow or <Ctrl-N>Suspend or abort <Shift> and <Ctrl> and 6 then xRefresh screen output <Ctrl-R>Compleat Command TABCisco Router Copy CommandsRequirement Cisco CommandSave the current configuration from copy running-config startup-configDRAM to NVRAMhttp://www.router-switch.com/页 3
  • 4. Merge NVRAM configuration to copy startup-config running-configDRAMCopy DRAM configuration to a TFTP copy runing-configtftpserverMerge TFTP configuration with copy tftpruning-configcurrent router configuration held inDRAMBackup the IOS onto a TFTP server copy flash tftpUpgrade the router IOS from a TFTP copy tftp flashserverCisco Router Debug CommandsRequirement Cisco CommandEnable debug for RIP debug ip ripEnable summary IGRP debug information debug ipigrp eventsEnable detailed IGRP debug information debug ipigrp transactionsDebug IPX RIP debug ipx routing activityDebug IPX SAP debug IPX SAPEnable debug for CHAP or PAP debug ppp authenticationSwitch all debugging off no debug all undebug allMore Cisco tutorials and Cisco Info: http://blog.router-switch.com/http://www.router-switch.com/页 4

×