BASIC CISCO COMMANDS FOR FREE

RSS Feed URL: http://ciscocommands-blogger.blogspot.com/
Category: Cisco | Total Views: 165

Latest entries from this feed

BASIC CISCO ROUTER COMMANDS

Posted on 15 August 2011 | 6:29 am by Christopher Varghese

 A:COMMANDS FOR ENABLE MODE::



Sl NO
COMMANDS
DESCRIPTION
1:
Router>Enable
To Enter Enable Mode
2:
Router#Show Clock
To Show The Current Time
3:
Router#Show Start
To Show Startup Configuration
4:
Router#Show Run
To Show The Running Configuration
5:
Router#Show Run Interface
To Show The Configuration Of Interface
6:
Router#Clock Set HH:MM:SEC DD MM YY
To Set The Time and Date
7:
Router#Show Version
To Show The Version of IOS
8:
Router#Show History
To Show The Commands Which is Previously Executed
9:
Router#Show Terminal
To Show The Size Of The History Buffer
10:
Router#Show Flash
To Show The Details Of Flash Memory
11:
Router#Terminal History Size 5
To Set The History Size
12:
Router#<command>?
For Get Help
13:
Router#Show IP Interface Brief
Show The Information Of All Interface
14:
Router#Show IP Route
To Show The Router Table
15:
Router#Show IP Protocols
To Show The Protocols Used In a Router
16:
Router#Erase Startup-Configuration
To Erase The Previously Saved Configuration
17:
Router#Terminal Monitor
To Show The Updation Such As Sending and Receving
18:
Router#Terminal No Monitor
To Stop Debugging Process
19:
Router#Clear IP Route*
To Refresh The Routing Table
20:
Router#Write
OR
Router#Copy Run Start
To Save Configuration Into NVRAM
21:
Router#Disable
To Exit From Enable Mode To User Mode
22:
Router#Configure Terminal
To Enter Configuration Mode
23:
Router#Debug IP RIP
To Show The Updation Such as Sending and Receving
24:
Router#Show IP EIGRP Neighbour
To Show EIGRP Neighbourship Table
25:
Router#Show IP EIGRP Topology
To Show EIGRP Topology Table
26:
Router#Show IP OSPF
To Show The Details Of OSPF
27:
Router#Show IP OSPF Neighbour
To Show OSPF Neighbourship Table
28:
Router#Show IP OSPF Interface Serial <Interface No:>
To Show The Timer Details
29:
Router#<IP of Router>
To Access Another Router
30:
Router#Copy Start TFTP
To Backup The Configuration To TFTP
31:
Router#Copy TFTP Start
To Restore The Configuration To NVRAM
32:
Router#Copy Flash Tftp
To Backup The IOS
33:
Router#Show IP Access-List
To Show Access List



B:COMMANDS FOR CONFIGURATION MODE::



Sl NO
COMMANDS
DESCRIPTION
1:
Router(Config)#Hostname <Name>
To Change Router Name
2:
Router(Config)#Enable Password <Password>
To Set Password In Enable Mode
3:
Router(Config)#No Enable Password <Password>
Remove Password From Enable Mode
4:
Router(Config)#Enable Secret <Password>
To Set Secret Password In Enable Mode
5:
Router(Config)#No Secret <Password>
To Remove Password From Enable Mode
6:
Router(Config)#Line Console 0
Router(Config-Line)#Password <Password>
Router(Config-Line)#Login
To Set Password for Console User
7:
Router(Config)#Line Console 0
Router(Config-Line)#Password <Password>
Router(Config-Line)#No Login
To Remove Password from Console User
8:
Router(Config)#Line AUX 0
Router(Config-Line)#Password <Password>
Router(Config-Line)#Login
To Set Password for Auxilary Users
9:
Router(Config)#Line AUX 0
Router(Config-Line)#Password <Password>
Router(Config-Line)#No Login
To Remove Password From Auxilary Users
10:
Router(Config)#Service Password-Encryption
To Encrypt All Passwords
11:
Router(Config)#No Service Password-Encryption
To Stop The Service Password Encryption
12:
Router(Config)#Interface <Name> <No:>
Router(Config-If)#Ip Address <IP> <Mask>
Router(Config-If)#No Shutdown
To Configure The Interfaces
Name:Fast Ethernet,Serial etc…
No:0/0,0/1 etc…
13:
Router(Config)#Banner Motd <Delimiting Character>
To Set a Banner
14:
Router(Config)#Exec-timeout 0 <Sec>
To Set The Time Limitation For VTY Users
15:
Router(Config)#Interface Serial <Interface No:>
Router(Config-If)#Clock Rate <Clock Rate>
To Set The Clock Rate To DCE
16:
Router(Config)#Interface Fast <Interface No:>
Router(Config-If)#Ip Address <IP> <Subnet mask> Secondary
To Set The Secondary IP For a Router Interface
17:
Router(Config)#Interface Fast <Interface No:>
Router(Config-If)#No Ip Address <IP> <Subnet mask> Secondary
To Delete Secondary IP
18:
Router(Config)#Interface Serial <Interface No:>
Router(Config-If)#Description <Description>
To Set a Description
19:
Router(Config)#Ip Route <Unknown N/W> <Mask> <Next Hop>
To Set Static Routing Configuration
20:
Router(Config)#No IP Route <Unknown N/W> <Mask> <Next Hop>
To Remove Static Routing Configuration
21:
Router(Config)#IP Route <Unknown N/W> <Mask> <Next Hop> <AD Value>
Router(Config)#IP Route 0.0.0.0 0.0.0.0 <Next Hop Address>
To Set AD Value For Static Routing
To Set Default Routing Configuration
22:
Router(Config)#Interface Loopback <No:>
Router(Config)#IP Address <IP> <Subnet mask>
To Set Virtual Interface
23:
Router(Config)#Do Show <Comment>
To Execute The Commands Used In Enable Mode
24:
Router(Config)#Access-List < No:> Deny <IP>
Router(Config)#Access-List < No:> Permit any
To Create Standard Access List
No:1-99
25:
Router(Config)#Access-List < No:> Deny <Protocol> Host <SIP > Host <DIP >
Router(Config)#Access-List < No:> Permit IP any any
To Create Extended Access List
No:100-199
26:
Router(Config)#No Access-List < No:>
To Remove Access List
27:
Router(Config)#Interface < Interface> < No:>
Router(Config)#IP Access-group < No:> in
To Set Inbound Filter
28:
Router(Config)#Interface < Interface> < No:>
Router(Config)#IP Access-group < No:> Out
To Set Outbound Filter
29:
Router(Config)#Interface < Interface> < No:>
Router(Config)#No IP Access-group < No:> in
To Remove Inbound Filter
30:
Router(Config)#Interface < Interface> < No:>
Router(Config)#No IP Access-group <No:> Out
To Remove Outbound Filter
31:
Router(Config)#IP Access-List Standard < Name>
Router(Config-std-nacl)#Deny <IP>
To Configure Named Standard List
32:
Router(Config)#IP Access-List Extended < Name>
Router(Config-ext-nacl)#Deny < Protocol> Host < SIP> Host < DIP>
Router(Config-ext-nacl)#Permit IP Any Any
To Configure Named Extended List
33:
Router(Config)#Interface < Interface:> <Interface No:>
Router(Config)IP Access-Group < Name> in
OR
Router(Config)#IP Access-Group <Name> Out
To Set Inbound and Outbound Filter
34:
Router(Config)#Deny <Protocol>Host <SIM> Host eg <Port No:>
To Block Some Protocols Using Port No:
Port No:23,25 etc…
35:
Router(Config)#IP Access-List < No:> Deny < IP> < Wild Mask>
To Block Networks Using Block Size Mask
Wild Mask:By Refer Block Size
36:
Router(Config)#Access-List < No:> Permit < IP> < Wild Mask>
Router(Config)#Access-List < No:> Deny Any
Router(Config)#Line vty < No:>
Router(Config-Line)#Access-List < No:> in
OR
Router(Config-Line)#Access-Class < No:> in
To Block VTY Users Using Block Size Mask



C.ROUTING PROTOCOL COMMANDS::


1.RIP CONFIGURATION COMMANDS


Sl NO
COMMANDS
DESCRIPTION
1:
Router(Config)#Router RIP
Router(Config-Router)#Network < N/W Id>
To Set Router Information Protocol
2:
Router(Config)#Router RIP
Router(Config-Router)#No Network < N/W Id>
To Remove Network Router Information Protocol
3:
Router(Config)#NoRouter RIP
To Remove RIP
4:
Router(Config)#Router RIP
Router(Config-Router)#Timer Basics <Update> <Invalid> <Holddown> <Flusher>
To Change The Default Basic Timers
5:
Router(Config)#Router RIP
Router(Config-Router)#Passive-Interface Fastethernet < Interface No:>
To Stop The Updation Into Other Connected Devices Like Switches(Except Router)
6:
Router#No Debug IP RIP
OR
Router#Undebug All
To Stop Debugging Process
7:
Router(Config)#Router RIP
Router(Config-Router)#Network < N/W Id>
Router(Config-Router)#Version2
To Configure RIP Version2



2.IGRP CONFIGURATION COMMANDS::


Sl No:
COMMANDS
DESCRIPTION
1:
Router(Config)#Router IGRP < AS No:>
Router(Config-Router)#Network < N/W Id>
To Configure IGRP
AS:Autonomous System Number(1-65025)
2:
Router(Config)#Router IGRP < AS No:>
Router(Config-Router)#No Network < N/W Id>
To Remove Network From IGRP
3:
Router(Config)#No Router IGRP < AS No:>
To Remove IGRP
4:
Router(Config)#Router IGRP < AS No:>
Router(Config-Router)#Metric Maximum-Hops < Size>
To Change Hope Count Value
5:
Router#Debug IP IGRP Transmission
To Debug by IGRP



3.EIGRP CONFIGURATION COMMANDS::



Sl No
COMMANDS
DESCRIPTION
1:
Router(Config)#Router EIGRP < AS No:>
Router(Config-Router)#Network < N/W Id>
To Configure EIGRP
2:
Router(Config)#Router EIGRP < AS No:>
Router(Config-Router)#No Network < N/W Id>
To Remove Network From EIGRP
3:
Router(Config)#No Router EIGRP < AS No:>
To Remove EIGRP
4:
Router(Config)#Router EIGRP < AS No:>
Router(Config-Router)#Metric Maximum-Hops < Size>
To Change Hop Count
5:
Router(Config)#Router EIGRP < AS No:>
Router(Config-Router)#Maximum-Paths < Size>
To Set Maximum Path
6:
Router(Config)#Interface Serial < Interface No:>
Router(Config-Router)#IP Summary Address EIGRP < AS No:> < Network> < Mask>
To Set Manual Summarization
7:
Router(Config)#Router EIGRP < AS No:>
Router(Config-Router)#No Auto-Summary
To Stop Auto Summarization




4.OSPF CONFIGURATION COMMANDS::


Sl No:
COMMANDS
DESCRIPTION
1:
Router(Config)#Router OSPF < Process Id>
Router(Config-router)#Network < N/W Id> < Wild Mask> Area < Area Id>
To Configure OSPF
2:
Router(Config)#Router OSPF < Process Id>
Router(Config-router)#No Network < N/W Id>
To Remove Network From OSPF
3:
Router(Config)#No Router OSPF < Process Id>
To Remove OSPF
4:
Router(Config)#Interface Serial < Interface No:>
Router(Config-if)#IP OSPF Priority < Value Id>
To Set OSPF Priority Value
5:
Router(Config)#Interface Serial < Interface No:>
Router(Config-if)#IP OSPF Hello-Interval < Value Id>
To Change Hello-Interval Time
6:
Router(Config)#Interface Serial < Interface No:>
Router(Config-if)#IP OSPF Dead-Interval < Value Id>
To Change Dead-Interval Time





VOCABULARY:

1:
AD
administrative distance
2:
AS
Autonomous system
3:
AUX
Auxiliary
4:
DCE
Data Communication Eguipment
5:
DIP
Destination Information Protocol
6:
EIGRP
Enhancement Interior Gateway Routing Protocol
7:
IGRP
Interior Gateway Routing Protocol
8:
IOS
Internet Operating System
9:
IP
Internet Protocol
10:
NVRAM
Non Volatile Random Access Memory
11:
OSPF
Open Shortest Path First
12:
RIP
Routing Information Protocol
13:
SIP
Source Information Protocol
14:
TFTP
Trivial File Transfer Protocol



    Shopping Junction



Related products