SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
Routing protocol commands list
CCNA Routing Protocol Commands
IP ROUTING
#sh ip route // To view IP routing tables created on a Cisco router.
Static Routing
Routers are manually configured for networks that are not directly connected, to be
able to route to all networks via the next-hop interface.
Syntax:
(config)#ip route 192.168.10.0 255.255.255.0 192.168.20.2
(config)#no ip route 192.168.30.0 255.255.255.0 192.168.20.2 //To remove a static
route
// Please note the ‘no’ which is the word used in routers to negate any command
Default Routing
Used on stub networks only to send packets with remote destination network not
in the routing table to the next hop router.
Syntax:
(config)#ip route 0.0.0.0 0.0.0.0 192.168.40.1
RIP (Routing Information Protocol)
A distance vector routing protocol that passes complete routing table contents to
neighbouring routers
Example– Let 192.168.10.0 & 192.168.20.0 be directly connected networks of a
router interfaces and 192.168.30.0 be non-directly connected
Syntax 1:
(config)#router rip
(config-router)#192.168.10.0
(config-router)#192.168.20.0
(config-router)#exit
Verifying RIP
1.Sh ip route
2.debug ip
Syntax 2:
(config)#router rip
(config-router)#network 192.168.10.0
(config-router)#passive-interface serial 0/0 //In this case we have used the interface
address rather a IP address
EIGRP
Proprietary of CISCO
Uses classless routing which is subnet mask information sent with routing protocol
updates.
Example– Let 192.168.10.0 & 192.168.20.0 be directly connected networks of a
router interfaces with autonomous system number of 20 and 192.168.30.0 be non-
directly connected
Syntax 1:
#router eigrp 20
(config-router)#network 192.168.10.0
(config-router)#network 192.168.20.0
(config-router)#^z
Syntax 2:
(config)#router eigrp 20
(config-router)#passive-interface serial 0/0
To enable EIGRP on discontiguos networks(two different subnetworks of classfull
network connected by another different classful subnetwork)
Example- Let 172.16.0.0 & 10.0.0.0 be directly connected to a router to another
remote subnetwork of 192.168.10.0, then to enable EIGRP, we use
(config)#router eigrp 100
(config-router)#network 172.16.0.0
(config-router)#network 10.0.0.0
(config-router)#no auto-summary
HINT:
The no auto-summary command should be enabled in routers that encloses such
networks.
Verifying EIGRP
1. sh ip route //Shows entire routing table
2. sh ip route eigrp //Shows only EIGRP entries in the routing table
3. ip eigrp neighbours // Shows all EIGRP neighbours
4. ip eigrp topology // Shows entries in the EIGRP topology table
OSPF
A link-state routing protocol
Example– Let 10.0.0.0 be the network directly connected to the router upon which
OSPF is to be enabled; with ospf ID of 1 and area o
(config)#router ospf 1
(config-router)#network 10.0.0.0 0.255.255.255 area0
Loopback Interface– They are configured to be used as the routers RID to
advertise the routes and elect DR and BDR.
Example– Let the loopback iinterface be configured on interface with ip 172.16.10.1
(config)#int loopback 0
(config-if)#ip address 172.16.10.1 255.255.255.0
(config-if)#no shut
(config-if)#^z
Verifying OSPF Configuration
1. sh ip ospf // Used to display all OSPF information
2. sh ip ospf database // indicates the number of links and neighboring router ID
3. sh ip ospf interface //Displays all OSPF interface related info
4. sh ip ospf neighbour // Summarizes OSPF info about neighbours
5. sh ip protocols // Overview of all present running protocols
Verifying Loopback and RID
1. sh running-config // To verify loopback address
2. sh ip ospf database // Verifies the new RID of each router
3. sh ip ospf interface // Verifies the new RID of each router
IMPORTANT COMMANDS
Checking the Current Configuration Register Values
show version or show ver
Changing Configuration Register
(config)#config-register 0x101 (d default is 0x2102)
Recovering Passwords in Router
1. Interrupt the Router Boot Sequence
ctrl+Break key (windows wont perform break key, only 95/98)
2. Changing the configuration register
for 2600 series router
rammon>confreg 0x2142
for 2500
type 0 after a break and enter the command o/r 0x2142
3. Reloading the Router and Entering Privilged mode
for 2600-type reset
for 2500-type I
4. Viewing and changing the configuration
copy run start
5. Resetting the configuration Register and Reloading the Router
config t
config-register 0x2102
copy run start-to save
Backing up and restoring the Cisco ios
1. verifying flash memory-Ensuring flash memory has enough room
router#sh flash
2. Backing-up the ciso ios
first verify server connectivity by- Router#ping 192.168.0.120 then;
(config-router)#copy flash tftp
3. Restoring or upgrading the cisco router ios
router#copy tftp flash
Backing up and Restoring the Cisco configuration
1.Backing up the cisco router configuration
copy runing config tftp
2. verifying the current configuration
sh run
3. copying the current cofiguration to NVRAM
copy run start
4. copying the current configuration to a TFTP server
copy run TFTP
5. Restoring the Cisco Router Configuration
copy TFTP run
6. Erasing the configuration
erase startup-config
Getting CDP timers and Holdtime information
Router#config t
Router(config)#cdp timer 90
Router(config)#cdp holdtime 240
Router(config)#^z
To turn-off CDP Completely
Router(config)#no cdp run
Using DNS to resolve names
#config t
(config)#ip domain-lookup (usually turned on by default)
(config)#ip name-server 192.168.0.70 (ip of an assumed DNS set)
(config)#ip domain-name india-router.com (Appends the domain name to a host)
(config)#^z

More Related Content

What's hot (19)

DOC
Acn Experiment No 5
Garima Singh
 
PDF
Ccna Commands In 10 Minutes
CCNAResources
 
DOC
Acn Experiment No 4
Garima Singh
 
PPTX
INTRODUCTION TO IOS AND CISCO ROUTERS
anilinvns
 
PPSX
Packet Tracer Tutorial # 2
Abdul Basit
 
PPTX
How to Configure ip address for router interfaces
tcpipguru
 
DOCX
Configuración del dial peer
miguelangelperezhenao
 
DOCX
How to create and delete vlan on cisco catalyst switch
IT Tech
 
DOC
Cisco 2960 basic configuration – vlan configuration
3Anetwork com
 
DOCX
Ccna command
Siddhartha Rajbhatt
 
PDF
Trik singkat STATIC ROUTING via cli Packet Tracer
Selamet Hariadi
 
PDF
Route Redistribution
Netwax Lab
 
PPTX
Лекц 15
Muuluu
 
DOC
Cisco switch commands cheat sheet
3Anetwork com
 
ODP
Cisco ios-cont
Haitham El-Ghareeb
 
PDF
Cisco router basic configuration commands
CCNAStudyGuide
 
PPTX
Manage CISCO IOS
anilinvns
 
PPTX
Juniper JNCIA – Juniper OSPF Route Configuration
Hamed Moghaddam
 
Acn Experiment No 5
Garima Singh
 
Ccna Commands In 10 Minutes
CCNAResources
 
Acn Experiment No 4
Garima Singh
 
INTRODUCTION TO IOS AND CISCO ROUTERS
anilinvns
 
Packet Tracer Tutorial # 2
Abdul Basit
 
How to Configure ip address for router interfaces
tcpipguru
 
Configuración del dial peer
miguelangelperezhenao
 
How to create and delete vlan on cisco catalyst switch
IT Tech
 
Cisco 2960 basic configuration – vlan configuration
3Anetwork com
 
Ccna command
Siddhartha Rajbhatt
 
Trik singkat STATIC ROUTING via cli Packet Tracer
Selamet Hariadi
 
Route Redistribution
Netwax Lab
 
Лекц 15
Muuluu
 
Cisco switch commands cheat sheet
3Anetwork com
 
Cisco ios-cont
Haitham El-Ghareeb
 
Cisco router basic configuration commands
CCNAStudyGuide
 
Manage CISCO IOS
anilinvns
 
Juniper JNCIA – Juniper OSPF Route Configuration
Hamed Moghaddam
 

Viewers also liked (14)

PPT
Day 5.5 subnetting
CYBERINTELLIGENTS
 
PPTX
Subnet calculation Tutorial
Ritu Ranjan Shrivastwa
 
PDF
Interaksi manusia dan komputer
Miftahul Khair N
 
PPTX
Routing Information Protocol
Miftahul Khair N
 
PPTX
CCNA Based routing protocols
Gaurav Rawat
 
DOCX
Leaky bucket algorithm
Umesh Gupta
 
PPT
Routing protocol on wireless sensor network
shashankcsnits
 
PPSX
RIP - Routing Information Protocol
selvakumar_b1985
 
PPTX
Routing Information Protocol
Kashif Latif
 
PPT
CCNA Advanced Routing Protocols
Dsunte Wilson
 
PPTX
Subnetting Basics Tutorial
mikem801
 
PPT
Network Layer,Computer Networks
guesta81d4b
 
PPTX
Leaky Bucket & Tocken Bucket - Traffic shaping
Vimal Dewangan
 
PPTX
Projeto gelo
patronatobonanca
 
Day 5.5 subnetting
CYBERINTELLIGENTS
 
Subnet calculation Tutorial
Ritu Ranjan Shrivastwa
 
Interaksi manusia dan komputer
Miftahul Khair N
 
Routing Information Protocol
Miftahul Khair N
 
CCNA Based routing protocols
Gaurav Rawat
 
Leaky bucket algorithm
Umesh Gupta
 
Routing protocol on wireless sensor network
shashankcsnits
 
RIP - Routing Information Protocol
selvakumar_b1985
 
Routing Information Protocol
Kashif Latif
 
CCNA Advanced Routing Protocols
Dsunte Wilson
 
Subnetting Basics Tutorial
mikem801
 
Network Layer,Computer Networks
guesta81d4b
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Vimal Dewangan
 
Projeto gelo
patronatobonanca
 
Ad

Similar to Routing protocol commands list (20)

DOCX
Ccnacommand 140205001152-phpapp01
A.S.M Shmimul Islam.
 
DOC
Ccna commands
Hajji Mboowa Yahaya
 
DOC
Routing information protocol & rip configuration
3Anetwork com
 
DOCX
How to Configure Routing Information Protocol (RIP)
IT Tech
 
PDF
RIP (routing information protocol)
Netwax Lab
 
PPT
Intro to router_config
97148881557
 
DOCX
How to configure interior gateway routing protocol (igrp)
IT Tech
 
DOC
Ccna 2 chapter 11 v4.0 answers 2011
Dân Chơi
 
PDF
cisco ccna cheat_sheet
Guntaka Reddy
 
PDF
Ncat ccna cheat sheet
EZREIG OMAR
 
PDF
Cisco Commands
Fredrick Hall
 
PDF
ccna cheat_sheet
Guntaka Reddy
 
PDF
Cisco Internetworking Operating System (ios)
Netwax Lab
 
PPT
CCNA presentation.
Ajaigururaj R
 
PPT
Chapter 04 - Router Conf
phanleson
 
PPTX
Network Design on cisco packet tracer 6.0
Saurav Pandey
 
PPT
Ciso 4 ospf
myciokas
 
PPTX
OSWAN.pptx
BiswajitSahoo339348
 
PPTX
ENSA_Module_2.pptx
serieux1
 
PPTX
ENSA_Module_2.pptx
SkyBlue659156
 
Ccnacommand 140205001152-phpapp01
A.S.M Shmimul Islam.
 
Ccna commands
Hajji Mboowa Yahaya
 
Routing information protocol & rip configuration
3Anetwork com
 
How to Configure Routing Information Protocol (RIP)
IT Tech
 
RIP (routing information protocol)
Netwax Lab
 
Intro to router_config
97148881557
 
How to configure interior gateway routing protocol (igrp)
IT Tech
 
Ccna 2 chapter 11 v4.0 answers 2011
Dân Chơi
 
cisco ccna cheat_sheet
Guntaka Reddy
 
Ncat ccna cheat sheet
EZREIG OMAR
 
Cisco Commands
Fredrick Hall
 
ccna cheat_sheet
Guntaka Reddy
 
Cisco Internetworking Operating System (ios)
Netwax Lab
 
CCNA presentation.
Ajaigururaj R
 
Chapter 04 - Router Conf
phanleson
 
Network Design on cisco packet tracer 6.0
Saurav Pandey
 
Ciso 4 ospf
myciokas
 
ENSA_Module_2.pptx
serieux1
 
ENSA_Module_2.pptx
SkyBlue659156
 
Ad

Recently uploaded (20)

PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Top Managed Service Providers in Los Angeles
Captain IT
 

Routing protocol commands list

  • 1. Routing protocol commands list CCNA Routing Protocol Commands IP ROUTING #sh ip route // To view IP routing tables created on a Cisco router. Static Routing Routers are manually configured for networks that are not directly connected, to be able to route to all networks via the next-hop interface. Syntax: (config)#ip route 192.168.10.0 255.255.255.0 192.168.20.2 (config)#no ip route 192.168.30.0 255.255.255.0 192.168.20.2 //To remove a static route // Please note the ‘no’ which is the word used in routers to negate any command Default Routing Used on stub networks only to send packets with remote destination network not in the routing table to the next hop router. Syntax: (config)#ip route 0.0.0.0 0.0.0.0 192.168.40.1 RIP (Routing Information Protocol) A distance vector routing protocol that passes complete routing table contents to neighbouring routers Example– Let 192.168.10.0 & 192.168.20.0 be directly connected networks of a router interfaces and 192.168.30.0 be non-directly connected Syntax 1: (config)#router rip (config-router)#192.168.10.0
  • 2. (config-router)#192.168.20.0 (config-router)#exit Verifying RIP 1.Sh ip route 2.debug ip Syntax 2: (config)#router rip (config-router)#network 192.168.10.0 (config-router)#passive-interface serial 0/0 //In this case we have used the interface address rather a IP address EIGRP Proprietary of CISCO Uses classless routing which is subnet mask information sent with routing protocol updates. Example– Let 192.168.10.0 & 192.168.20.0 be directly connected networks of a router interfaces with autonomous system number of 20 and 192.168.30.0 be non- directly connected Syntax 1: #router eigrp 20 (config-router)#network 192.168.10.0 (config-router)#network 192.168.20.0 (config-router)#^z Syntax 2: (config)#router eigrp 20 (config-router)#passive-interface serial 0/0
  • 3. To enable EIGRP on discontiguos networks(two different subnetworks of classfull network connected by another different classful subnetwork) Example- Let 172.16.0.0 & 10.0.0.0 be directly connected to a router to another remote subnetwork of 192.168.10.0, then to enable EIGRP, we use (config)#router eigrp 100 (config-router)#network 172.16.0.0 (config-router)#network 10.0.0.0 (config-router)#no auto-summary HINT: The no auto-summary command should be enabled in routers that encloses such networks. Verifying EIGRP 1. sh ip route //Shows entire routing table 2. sh ip route eigrp //Shows only EIGRP entries in the routing table 3. ip eigrp neighbours // Shows all EIGRP neighbours 4. ip eigrp topology // Shows entries in the EIGRP topology table OSPF A link-state routing protocol Example– Let 10.0.0.0 be the network directly connected to the router upon which OSPF is to be enabled; with ospf ID of 1 and area o (config)#router ospf 1 (config-router)#network 10.0.0.0 0.255.255.255 area0 Loopback Interface– They are configured to be used as the routers RID to advertise the routes and elect DR and BDR. Example– Let the loopback iinterface be configured on interface with ip 172.16.10.1 (config)#int loopback 0 (config-if)#ip address 172.16.10.1 255.255.255.0
  • 4. (config-if)#no shut (config-if)#^z Verifying OSPF Configuration 1. sh ip ospf // Used to display all OSPF information 2. sh ip ospf database // indicates the number of links and neighboring router ID 3. sh ip ospf interface //Displays all OSPF interface related info 4. sh ip ospf neighbour // Summarizes OSPF info about neighbours 5. sh ip protocols // Overview of all present running protocols Verifying Loopback and RID 1. sh running-config // To verify loopback address 2. sh ip ospf database // Verifies the new RID of each router 3. sh ip ospf interface // Verifies the new RID of each router IMPORTANT COMMANDS Checking the Current Configuration Register Values show version or show ver Changing Configuration Register (config)#config-register 0x101 (d default is 0x2102) Recovering Passwords in Router 1. Interrupt the Router Boot Sequence ctrl+Break key (windows wont perform break key, only 95/98) 2. Changing the configuration register for 2600 series router rammon>confreg 0x2142 for 2500 type 0 after a break and enter the command o/r 0x2142
  • 5. 3. Reloading the Router and Entering Privilged mode for 2600-type reset for 2500-type I 4. Viewing and changing the configuration copy run start 5. Resetting the configuration Register and Reloading the Router config t config-register 0x2102 copy run start-to save Backing up and restoring the Cisco ios 1. verifying flash memory-Ensuring flash memory has enough room router#sh flash 2. Backing-up the ciso ios first verify server connectivity by- Router#ping 192.168.0.120 then; (config-router)#copy flash tftp 3. Restoring or upgrading the cisco router ios router#copy tftp flash Backing up and Restoring the Cisco configuration 1.Backing up the cisco router configuration copy runing config tftp 2. verifying the current configuration sh run 3. copying the current cofiguration to NVRAM copy run start 4. copying the current configuration to a TFTP server copy run TFTP 5. Restoring the Cisco Router Configuration
  • 6. copy TFTP run 6. Erasing the configuration erase startup-config Getting CDP timers and Holdtime information Router#config t Router(config)#cdp timer 90 Router(config)#cdp holdtime 240 Router(config)#^z To turn-off CDP Completely Router(config)#no cdp run Using DNS to resolve names #config t (config)#ip domain-lookup (usually turned on by default) (config)#ip name-server 192.168.0.70 (ip of an assumed DNS set) (config)#ip domain-name india-router.com (Appends the domain name to a host) (config)#^z