Various routing protocol configuration methods

Source: Internet
Author: User
Tags exit config

A single kind of routing protocol configuration Although we have a lot of explanations, then the different kinds of routing protocols, the configuration is also different. Let's sum up here. So that we can conduct a comparative study. We all know the function of the router. If addressing and forwarding addressing is a routing algorithm that is accomplished by routing, adding different information that is collected to the routing table, forwarding is the routing table for mutual communication between routers update and maintain the routing table, and routers communicate with each other to reach the routing protocol?





routing protocols are mainly divided into static routing and dynamic routing





Static Routing: Manually entered by a network administrator?





Dynamic Routing: Automatically adapt to network topology or traffic changes through routing protocols?




Configuration of static routes for
routing protocol configuration





Router (config) iproute+ network segment (in layman's way except your s mouth and e-port) + Subnet mask + Next hop address





Router (config)





#exit





dynamic routing is based on whether in an autonomous system and can be divided into internal Gateway Protocol (IGP) and External Gateway Protocol (BGP), the common internal Gateway Protocol has RIPOSPF and other external gateway protocol has BGPBGP-4 here is the main internal Gateway protocol, RIP ( Routinginformationprotocol) is a distance vector routing protocol because it is simple and reliable and easy to configure, it is widely used but because it supports a maximum of 15 hops, 16 is not up to, so only suitable for small networks and it every 30S routing information broadcast is also caused by the network broadcast storm one of the important reasons?





routing protocol configuration RIP configuration





Router (config)





#routerrip





Router (config-router)





#networknetwork-number





Network_number is a direct-connected segment of the router





IGRP (Interoorgatewayroutingprotocol) IGRP because of the limitations of the 15 jump, became the preferred protocol rip and IGRP work mechanism of the large Cisco network at that time, all from the configuration interface on the regular issue of routing updates? , the RIP is measured by the number of hops, and the optimal routing path is established by many factors igrp. Bandwidth (bandwidth), latency (Delay), Reliability (reliability), payload (load), etc. but its disadvantage is that it does not support VLSM and discontinuous subnets?




IGRP configuration of
routing protocol configuration





Router (config)





#routerigrp100 (100 for Autonomous system number)





Router (config-router)





#networknetwork-number





Router (config-router)





#exit





Note:





1 has a valid range of 1-65535, numbered with routers and interfaces that determine the same set of area numbers





2 routers with different numbers do not participate in routing updates





EIGRP (Enhanced Interoor Gateway Routing Protocol)





EIGRP is the most typical balanced hybrid routing protocol, which combines the advantages of two routing protocols of distance vector and link state, and uses scatter update algorithm to achieve high routing performance. The EIGRP feature is an unscheduled update that sends a partial update route only when the router changes metrics or topology changes? supports variable firstborn netmask VSLM, with the same autonomous system number between EIGRP and IGRP, can seamlessly exchange routing information?





Routing protocol Configuration EIGRP configuration and igrp are roughly the same





Router (config)





#routereigrp (100 for Autonomous system number)





Router (config-router)





#network





Network-numberrouter (config-router)





#exit





routing protocol configuration of OSPF





OSPF is a link state routing protocol The so-called link State refers to the state of the router interface, such as UP,DOWN,IP and network type, such as link state information via link status Bulletin (LSA) Each router posted to the Internet each router builds a topology database on the network through LSA information that can be used in a large network and it supports VLSM to use bandwidth as a measure of convergence fast through partitioning to achieve efficient network management?




OSPF configuration of
routing protocol configuration





Router (config)





#routerospf3 (3 for process number)





Router (config-router)





#network + Direct-connected network segment + Direct-connected network segment + Subnet mask (inverse code is wildcard) + area number (the area number must be the same when multiple routers are configured)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.