Saturday, May 15, 2010

CCNA Router Commands

CCNA Router Commands for the 640−607 exam (version 1.0)


BasicsEnter Privileged Exec Mode                                                          enable
Leave Privileged Exec Mode and go back to User Mode                         disable
Log out of the router, end the console session,same as exit command       exit
Log out of the router, end the console session, same as logout command  logout
Setup a basic configuration by answering questions                                  setup
Show the current configuration stored in RAM                                        show running−config
Show the startup configuration stored in NVRAM                                  show startup−config
Display IOS version (configuration register value is also displayed)          show version
Show IOS files stored in flash and available free space                            show flash
Save the current configuration into NVRAM                                      copy running−config startup−config
Use the startup configuration stored in NVRAM                                copy startup−config running−config
Load a saved configuration from a TFTP server into NVRAM              copy tftp running−config
Upgrade the IOS stored in flash from an image stored on a TFTP server copy tftp flash
Create a backup of router IOS and store it in a file on a TFTP server      copy flash tftp
Instruct the router to boot from a specific IOS image stored in flash       boot system flash [filename]
Instruct the router to boot from a specific IOS image stored on a TFTP server  boot system tftp [filename]
Enter Global Configuration Mode                                                       config terminal
Set a Message−of−the−day banner to be displayed before the user logs in to the router
banner motd # message #
Set a login message to be displayed before the user logs in to the router    banner login # message #
Set a banner to be displayed after the user logs in to the router                 banner exec # message #
(incoming is displayed with a reverse telnet connection, exec with all others) banner incoming # message #
Give the router a hostname (default is router)                                      hostname [name]
Disable DNS lookups (enabled by default)                                        no ip domain−lookup
Change the size of the history buffer (default is 10 commands)           terminal history size 20

PASSWORDS :-

Set a password for Privileged Exec Mode                     enable password [password]
Set an encrypted password for Privileged Exec Mode    enable secret [password]
Set password TELNET access                                       line vty 0 4
login                                                                               password [passwords]
Set a password for Console Port access                        line console 0 login password [passwords]

 INTERFACE CONFIGURATION:-

Configure the interface Ethernet 0                               interface e 0
Configure the first Serial interface                               interface s 0
Configure the second Token Ring interface                 interface t 1
Enable an interface                                                     no shutdown
Disable an interface                                                    shutdown
Set the clock rate on a DCE (make a router a DCE)  clock rate 64000
Set the bandwidth                                                      bandwidth 64
Display the status of an interface                                 show interface serial 1
Display DTE/DCE state                                             show controller serial 1
Set keepalive period                                                  keepalive 10
 
IP CONFIGURATION:-
Disable IP routing (IP routing is enabled by default)                no ip routing
Display IP routing table                                                          show ip route
Configure an interface with an IP address                               ip address 192.168.1.12 255.255.255.0
Enable RIP                                                                           router rip
                                                                                            network [network−address1] 
                                                                                            network [network−address2…]
Enable RIP Triggered updates (only send updates when routing table has changed instead of every 30 seconds)                                                                             ip rip triggered
Disable automatic route summarization                                 no auto−summary
Enable IGRP                                                                      router igrp [as−number]
                                                                                          network [network−address1]
                                                                                          network [network−address2…]
blog comments powered by Disqus
 

About Me

A Networking Media Copyright © 2010 Community is Customised by Steptotech