Writers' Community!

Search:

Writers' Community!

SearchWarp Home Submit An Article Frequently Asked Questions Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,604 Authors
44,101 Quality Articles
& 1,642 Current Users Online!
Featured Authors
April Lorier (4,522)
Sandra E. Graham (1,382)
Michelle Mackin (11,689)
David Tanguay (5,817)
Jared Wilson (1,884)
Susan Thom (8,330)
Missing Link (4,105)
Judge Dred (240)
Robert Melaccio, Sr. (4,457)
Jan Hayner (3,899)
Teresa Ortiz (5,015)
E. Raymond Rock (2,270)
Terry Mitchell (1,231)
Christine Akiteng (64,159)

View All Featured Authors
Most Recent
CCNA, CCNP, And Cisco Security Practice Exam Questions: OSPF Stub Areas, Switches, And More!

CCNA, CCNP, and Cisco Security Questions: BGP Attributes, Switching Problems, And More!

CCNA, CCNP, And Security Exam Questions: Usernames, Passwords, TCP, And More!

CCNA, CCENT, And CCNP Practice Exam Questions: VTP, BGP Attributes, SRST, And More!

CCNA, CCNP, CCENT, And Cisco Security Questions: RFC Address Ranges, OSPF Router Types, And More!

CCNA, CCNP, and Cisco Security Training Questions: Configuring Multiple Interfaces And More!

CCNA, CCNP, And Cisco Security Practice Exam Questions: POSTs, ROM, RAM, And More!

CCNA, CCNP, And Cisco Security Practice Questions: Telnet, Signature Definition Files, And More!

Cisco CCNA, CCNP, And Security Exam Practice Questions: OSPF, VPNs, And More!

Cisco CCNA, CCNP, And Security Practice Exam Questions: RIP, GRE, VLANs, And More!

Home » Categories » Computers & Networking » Technical Certification » Cisco CCNA Certification Exam Tutorial: Distance-Vector Command Review » Printer Friendly

Cisco CCNA Certification Exam Tutorial: Distance-Vector Command Review

Rated 3.5 out of 5
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Monday, May 08, 2006
Submitted by: Chris Bryant CCIE 12933 (13,687) Gold Level Author Hall of Fame Top 100 Verified Account Contact Chris Bryant CCIE 12933
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


Part of studying for CCNA exam success is keeping all these new commands straight in your head! And let's face it, there are a lot of commands you need to know in order to pass the CCNA exam and earn that certification. Here's a review of some very important distance vector and static routing commands you need to know, along with their proper usage and console output.

Static and Distance-Vector Commands:

Bandwidth

R2#conf t
R2(config)#int s0
R2(config-if)#bandwidth 512

IGRP makes a default assumption that any Serial interface running IGRP is connected to a T1 line, which runs at 1544 KBPS. With equal-cost load-balancing enabled by default, this may be an undesirable assumption.

To alter IGRP’s assumption, use the bandwidth command on the serial interface in question. Note that this command does NOT actually affect the bandwidth available to the interface it merely changes IGRP’s assumption of the bandwidth.


Clear ip route *

R2#clear ip route *

This command clears your routing table of all non-static and non-connected routes. In a lab environment, it’s very handy because it forces your routers running routing protocols to send and request updates, rather than waiting for the regularly scheduled updates.

Debug ip igrp events

R2#debug ip igrp event
IGRP event debugging is on
R2#clear ip route *
06:02:51: IGRP: broadcasting request on BRI0
06:02:51: IGRP: broadcasting request on Serial0.123

Debug ip igrp events allows you to see IGRP updates being sent and requested. Here, the debug is run and then the routing table is cleared. The router immediately broadcasts update requests via the IGRP-enabled interfaces.

Debug ip igrp transactions

R2#debug ip igrp transactions
IGRP protocol debugging is on
R2#clear ip route *
06:05:33: IGRP: received update from 172.12.123.1 on Serial0.123
06:05:33: subnet 172.12.123.0, metric 10476 (neighbor 8476)
06:05:33: network 1.0.0.0, metric 8976 (neighbor 501)
06:05:33: IGRP: edition is now 3
06:05:33: IGRP: sending update to 255.255.255.255 via BRI0 (172.12.12.2)
06:05:33: network 1.0.0.0, metric=8976
06:05:33: IGRP: sending update to 255.255.255.255 via Serial0.123 (172.12.123.2) - suppressing null update
06:05:34: IGRP: received update from 172.12.12.1 on BRI0
06:05:34: subnet 172.12.13.0, metric 160250 (neighbor 8476)
06:05:34: network 1.0.0.0, metric 158750 (neighbor 501)

To configure IGRP unequal-cost load-sharing with the variance command, you’ve got to know the metric of the less-desirable routes. EIGRP keeps these in its topology table IGRP has no such table.

To get the metrics of routes not in the routing table, run debug ip igrp transactions. To force IGRP updates, the routing table was cleared with clear ip route *.


Debug ip packet

R2#debug ip packet
IP packet debugging is on
R2#ping 172.12.123.2

R2#ping 172.12.123.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.12.123.2, timeout is 2 seconds:

06:10:04: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.
06:10:06: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.
06:10:08: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.
06:10:10: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.
06:10:12: IP: s=172.12.12.2 (local), d=172.12.123.2, len 100, unroutable.
Success rate is 0 percent (0/5)

If you have a problem sending a ping, this command will give you a good idea where the problem is. Here, the message indicates that there is no route to the destination.

Debug ip rip

2#debug ip rip
IP protocol debugging is on
2#clear ip route *
6:14:53: RIP: received v2 update from 172.23.23.3 on Ethernet0
6:14:53: 1.0.0.0/8 via 0.0.0.0 in 16 hops (inaccessible)
6:14:53: 1.1.1.1/32 via 0.0.0.0 in 2 hops
6:14:53: 172.12.0.0/16 via 0.0.0.0 in 16 hops (inaccessible)
6:14:53: 172.12.12.2/32 via 0.0.0.0 in 2 hops
6:14:53: 172.12.13.0/30 via 0.0.0.0 in 1 hops
6:14:53: 172.12.123.0/24 via 0.0.0.0 in 1 hops
6:14:53: 172.23.0.0/16 via 0.0.0.0 in 16 hops (inaccessible)


Run debug ip rip to troubleshoot routing update problems, RIP authentication problems, and to view the routing update contents. Clear ip route * was run to clear the routing table and to force a RIP update. Note that poison reverse is in operation. (A route that is unavailable is not just dropped from updates it is advertised with an unreachable metric.)

Ip route

OR

Ip route

R2#conf t
R2(config)#ip route 1.1.1.1 255.255.255.255 172.12.123.1

OR

R2(config)#ip route 1.1.1.1 255.255.255.255 serial0

To configure a static route to a given destination IP address, use the ip route command. The destination is followed by a subnet mask, and that can be followed by either the next-hop IP address or the exit interface on the local router.


Ip route 0.0.0.0 0.0.0.0
Ip route 0.0.0.0 0.0.0.0

R2#conf t
R2(config)#ip route 0.0.0.0 0.0.0.0 172.12.123.1

OR


R2(config)#ip route 0.0.0.0 0.0.0.0 ethernet0

To configure a default static route, use either of these two commands.

You could have any number for the first “0.0.0.0", since the second set of zeroes is the subnet mask. This means that any destination will match this route statement.

That's a good review to get started with! I'll be back tomorrow with Part II of this CCNA exam command review!

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You can also join his RSS feed and visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions! Details are on the website.

For a FREE copy of his latest e-books, “How To Pass The CCNA" and “How To Pass The CCNP", visit the website and download your free copies. You can also get FREE CCNA and CCNP exam questions every day! Get your CCNA study guide from The Bryant Advantage!






Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 176 times.
Article added to SearchWarp.com on Monday, May 08, 2006
View other articles written by Chris Bryant CCIE 12933 (13,687) Gold Level Author Hall of Fame Top 100 Verified Account Contact Chris Bryant CCIE 12933


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA / CCNP Home Lab: "Reverse Telnet" And Why You Need It!

Cisco CCNA / CCNP Free Tutorial: Home Lab Assembly Case Study

CCNP Certification / BCMSN Exam Tutorial: The HSRP Priority Command

CCENT, CCNA, CCNP, CCIE Interview Questions.

Cisco Certification: How Ethernet CSMA/CD Works

Cisco CCNA Certification: Defining And Creating Collision Domains

Tips On Buying A Cisco CCNA / CCNP Home Lab Kit

Cisco CCNA Exam Tutorial: The Best Time To Schedule Your Exam Is ....

CCNA 640-801 Primer

Home  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company