HCNP the principle and configuration of OSPF protocol for learning notes 7-OSPF interval routing

Source: Internet
Author: User


To avoid inter-zone loops, OSPF does not allow routing information to be published directly between two non-backbone zones, allowing routing information to be published only within a region or between the backbone and non-backbone regions. Therefore, each zone boundary router (ABR) must be connected to the backbone area.

Inter-zone routing via NETWORK-SUMMARY-LSA Declaration

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/70/65/wKiom1W3Glrj3oo2AAEFlPA7KnY871.jpg "title=" B87e55ad142c450f84fc5d39b72efb05.jpg "alt=" Wkiom1w3glrj3oo2aaeflpa7kny871.jpg "/>

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/65/wKiom1W3Gj6yVis8AAEtF77WodE663.jpg "title=" 2.jpg " Width= "height=" 179 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:300PX;HEIGHT:179PX; "alt=" Wkiom1w3gj6yvis8aaetf77wode663.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com/wyfs02/M00/70/62/ Wkiol1w3hfjxgrdgaad090uvc10051.jpg "style=" WIDTH:300PX;HEIGHT:169PX; "title=" 3.jpg "width=" height= [169] Border = "0" hspace= "0" vspace= "0" alt= "wkiol1w3hfjxgrdgaad090uvc10051.jpg"/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/70/65/wKiom1W3GmuQSpBKAAErk3_hfK8849.jpg "style=" width : 300px;height:176px; "title=" 4.jpg "width=" "height=" 176 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1w3gmuqspbkaaerk3_hfk8849.jpg "/>

Taking the network segment 10.1.1.0/24 as an example, the process of inter-zone route publishing is as follows:

    • First, RTB (area 1 's ABR) publishes the routing information for that segment into the backbone area. 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat:no-repeat; "alt=" Spacer.gif "/>650" this.width=650; "src="/e/u261/ Themes/default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%; Background-repeat:no-repeat, "alt=" Spacer.gif "/>650" this.width=650; "src="/e/u261/themes/default/images/ Spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat:no-repeat; alt= "Spacer.gif"/>

    • The RTC then learns from the backbone area the routing information that RTB publishes about the segment 10.1.1.0/24.

    • Finally, RTC regenerates a new NETWORK-SUMMARY-LSA and publishes it to area 2


Configuration command:

When there are multiple regions, you need to declare different networks within different regions

If RTB is connected to two area, it is necessary to declare the 10.2.1.0/24 network in AREA0 and declare 10.1.1.0/24 in AREA1.


Virtual connection


There are no backbone areas in the network (area 0), how to publish routing information between these three regions?

You only need to configure a virtual connection between the two area border routers (RTA and RTB). A virtual connection is part of the backbone area, and all virtual connections belong to Zone 0. 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/62/wKioL1W3HXiCWyWKAACzwhpYp54112.jpg "title=" 5.jpg " alt= "Wkiol1w3hxicwywkaaczwhpyp54112.jpg"/>

Vlink-peer Router-id: When configuring a virtual connection, the peer-to-peer router is used to represent the peer router ID.

A virtual connection needs to be configured on two ABR.



Routing aggregation: Configuring routing aggregation on ABR

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/65/wKiom1W3G8ni5Lh8AADq6-6_xBw899.jpg "style=" float: none; "title=" 6.jpg "alt=" Wkiom1w3g8ni5lh8aadq6-6_xbw899.jpg "/>


Configuration command:

[Rtb-ospf-1-area-0.0.0.1]abr-summary 20.1.1.0 255.255.255.0

After the configuration is complete, the restart takes effect [r1]reset OSPF process


Abr-summary ip-address Mask [Advertise | not-advertise] [cost]

Advertise: Broadcast the summary information to this converged segment route.

Notadvertise: Do not broadcast the summary information to this aggregation segment route.

Cost: Sets the overhead for the aggregation route.



Example: Virtual connection + route aggregation, topology in attachment

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/70/62/wkiol1w3hbwjctswaae-uqajb1o595.jpg "title=" 7.jpg "style=" Float:none; "alt=" Wkiol1w3hbwjctswaae-uqajb1o595.jpg "/>

    • The AR2 route aggregation is only passed within the region, so the aggregated entries can be viewed in the AR3 routing table

    • In AR5 to get the aggregated route, you need to also configure the route aggregation on AR4, in the case of virtual connection, AR4 is equivalent to the ABR between AREA2 and area0.

    • ABR is responsible for distributing routing information within the region


HCNP the principle and configuration of OSPF protocol for learning notes 7-OSPF interval routing

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.