Você está na página 1de 3

4/17/12

Cisco Router Configuration Commands

home | 403.809.1176

TOMAX7 - DIGITAL SMILES


"making learning fun again"
Home Profile Packages Portfolio Web Help PC Help Calgary Biography Comedy Games Requirement Set a console password to cisco Other information:

Cisco Router Configuration Commands


More Cisco information: - Cisco Router Commands - Cisco IP Addressing Commands - Cisco IP Services Commands - Cisco Router and Switch Commands - Cisco Router Configuration Commands - LAB 1 Basic Cisco configuration commands - IP6 Next Generation Overview - Linux Commands - Tom's MCSE Notes - Tom's A+ Plus Notes - Tom's Networking+ (Net+) Plus Notes

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 To add an IP address to a interface To enable RIP on all 172.16.x.y interfaces

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 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
1/3

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

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 tomax7.com/mcse/cisco_routerconfig.htm

4/17/12

Cisco Router Configuration Commands 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

Router(config)#no cdp run Router(config)#cdp run Router(config-if)#no cdp enable

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 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 Cisco Router Basic Operations Requirement Enable Return to user mode from privileged Exit Router Recall last command tomax7.com/mcse/cisco_routerconfig.htm Enter privileged mode disable Logout or exit or quit up arrow or <Ctrl-P>
2/3

Cisco Command 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 show ip route show access-lists

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

Cisco Command

4/17/12

Recall last command Recall next command Suspend or abort Refresh screen output Compleat Command

Cisco Router Configuration Commands up arrow or <Ctrl-P>

down arrow or <Ctrl-N> <Shift> and <Ctrl> and 6 then x <Ctrl-R> TAB

Cisco Router Copy Commands Requirement Save the current configuration from DRAM to NVRAM 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 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 Cisco Command Cisco Command copy running-config startup-config copy startup-config running-config copy runing-config tftp copy tftp runing-config

copy flash tftp copy tftp flash

Disclaimer: The customer acknowledges that the examples provided in this document are solely for illustrative purposes. Further, the customer both understands and agrees that the information in the examples may need to be modified to assure proper functioning on his/her own computer system(s). Tomax7 is not liable for any negative consequences arising from the improper use or modification of the provided examples.
Home | Portfolio | Profile | Packages | Computer Help | Visit Calgary | Contact Tom | Testimonials | Greetings | Comedy | Games W e b Page s and HTML Source s are C opyright 1996-2012 | e m ail: tom @tom ax 7.com | Visit www.digitalsm ile s.com Site C re ate d using Macrom e dia Dre am we ave r MX2004, Microsoft Front Page 2003, and good ol' W indows Note pad!

tomax7.com/mcse/cisco_routerconfig.htm

3/3

Você também pode gostar