Selasa, 27 Januari 2009

Router RIP Command

To enable a dynamic routing protocol, enter the global configuration mode and use the router command. As shown in the figure, if you type a space followed by a question mark, a list of all the available routing protocols supported by the IOS displays.

To enter the router configuration mode for RIP, enter router rip at the global configuration prompt. Notice that the prompt changes from a global configuration prompt to the following:

R1(config-router)#

This command does not directly start the RIP process. Instead, it provides access to configure routing protocol settings. No routing updates are sent.

If you need to completely remove the RIP routing process from a device, negate the command with no router rip. This command stops the RIP process and erases all existing RIP configurations.




IGP versus EGP


An autonomous system (AS) - otherwise known as a routing domain - is a collection of routers under a common administration. Typical examples are a company's internal network and an Internet service provider's network. Because the Internet is based on the autonomous system concept, two types of routing protocols are required: interior and exterior routing protocols. These protocols are:
  • Interior Gateway Protocols (IGP) are used for intra-autonomous system routing - routing inside an autonomous system
  • Exterior Gateway Protocols (EGP) are used for inter-autonomous system routing - routing between autonomous systems


The figure is a simplified view of the difference between IGPs and EGPs. The autonomous system concept will be explained in more detail later in the chapter.

Characteristics of IGP and EGP Routing Protocols
IGPs are used for routing within a routing domain, those networks within the control of a single organization. An autonomous system is commonly comprised of many individual networks belonging to companies, schools, and other institutions. An IGP is used to route within the autonomous system, and also used to route within the individual networks themselves. For example, CENIC operates an autonomous system comprised of California schools, colleges and universities. CENIC uses an IGP to route within its autonomous system in order to interconnect all of these institutions. Each of the educational institutions also uses an IGP of their own choosing to route within its own individual network. The IGP used by each entity provides best path determination within its own routing domains, just as the IGP used by CENIC provides best path routes within the autonomous system itself. IGPs for IP include RIP, IGRP, EIGRP, OSPF, and IS-IS.

Routing protocols, and more specifically the algorithm used by that routing protocol, use a metric to determine the best path to a network. The metric used by the routing protocol RIP is hop count, which is the number of routers that a packet must traverse in reaching another network. OSPF uses bandwidth to determine the shortest path.





EGPs on the other hand, are designed for use between different autonomous systems that are under the control of different administrations. BGP is the only currently-viable EGP and is the routing protocol used by the Internet. BGP is a path vector protocol that can use many different attributes to measure routes. At the ISP level, there are often more important issues than just choosing the fastest path. BGP is typically used between ISPs and sometimes between a company and an ISP. BGP is not part of this course or CCNA; it is covered in CCNP.

Classification of Dynamic Routing Protocols

Routing protocols can be classified into different groups according to their characteristics. The most commonly used routing protocols are: RIP, IGRP, OSPF, IS-IS, EIGRP, BGP

  • RIP - A distance vector interior routing protocol
  • IGRP - The distance vector interior routing developed by Cisco (deprecated from 12.2 IOS and later)
  • OSPF - A link-state interior routing protocol
  • IS-IS - A link-state interior routing protocol
  • EIGRP - The advanced distance vector interior routing protocol developed by Cisco
  • BGP - A path vector exterior routing protocol