cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1189
Views
5
Helpful
16
Replies

About the summarization of ABR router and router summurization(OSPF)

yo8-20
Level 1
Level 1

Dears, 

OSPF diagram show as below

R1 (Area 12 ) ---- R2( Area 0) ---- R3 (Area 0)---- R4(Area 10)

if only R1 loopback 0 interface  advertised to R3  and only ABR router summurize to Area 10 , how to configure 

 

 

Best Regards,

 

 

 

 

16 Replies 16

M02@rt37
VIP
VIP

Hello @yo8-20 

"if only R1 loopback 0..." you want to summarize or restrict advertisement ?

Summarize one loopback ? Summarizing only one loopback interface might seem unusual in a such case. Generally, summarization is used to aggregate multiple networks or subnets to reduce the size of the routing table and optimize routing efficiency.

To go further with summarization:

To summarize routes in OSPF, you typically use the `area` command with the `range` option on the router that is the ABR between the areas being summarized. In your scenario, R2 is the ABR between Area 0 and Area 12. Assuming you want to summarize the loopback interfaces of R1 into a single summary route advertised into Area 0, here's how you can do it:

R2 Configuration
router ospf 1
area 10 range <summary_address> <mask>
Replace <summary_address> with the network address to be summarized, and  <mask> with the corresponding subnet mask... For example, if R1's has 3 Loopback interfaces with IP addresses:  192.168.1.1/32, 192.168.1.10/32 and 192.168.1.250/24 and you want to summarize it into a single route ''192.168.1.0/32 to Area 10, you should configure:

router ospf 1
area 10 range 192.168.1.0 255.255.255.0

This configuration on R2 will summarize the routes within the specified range and advertise the summary route into Area 0. R3 will then only see this summarized route to reach R1's Loopback interfaces.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

I explain wrong message , I want to question if R1 Loopback0 not advertise out of Area 12 

how to configure and use prefix-list command , right ?

this LAB for you
two LO one advertise and other not 
I use area range NOT-ADVERTISE

Screenshot (188).png

Thanks, I want to know command use on   interface below is use to advertise in single area right ?

interface 30/0

ip ospf area 0 

hostname R4
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Loopback10
ip address 44.44.44.44 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
ip address 10.0.0.4 255.255.255.0
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/1
no ip address
shutdown
speed auto
duplex auto
!
router ospf 100
network 4.4.4.4 0.0.0.0 area 10
network 10.0.0.0 0.0.0.255 area 10
network 44.44.44.44 0.0.0.0 area 10
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R4#

R1#show run
R1#show running-config
Building configuration...

Current configuration : 1813 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 100.0.0.1 255.255.255.0
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
ip address 10.0.0.1 255.255.255.0
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/1
no ip address
shutdown
speed auto
duplex auto
!
router ospf 100
area 10 range 44.44.44.44 255.255.255.255 not-advertise
network 10.0.0.0 0.0.0.255 area 10
network 100.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R2#show run
Building configuration...

Current configuration : 1756 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 100.0.0.2 255.255.255.0
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
ip address 20.0.0.2 255.255.255.0
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/1
no ip address
shutdown
speed auto
duplex auto
!
router ospf 100
network 20.0.0.0 0.0.0.255 area 20
network 100.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R3#show run
Building configuration...

Current configuration : 1709 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
ip address 20.0.0.3 255.255.255.0
speed auto
duplex auto
!
interface FastEthernet2/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet2/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet3/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet4/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet5/1
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet6/1
no ip address
shutdown
speed auto
duplex auto
!
router ospf 100
network 20.0.0.0 0.0.0.255 area 20
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R3#

this all command I use in lab 
MHM

Yes @yo8-20 

Under router ospf peocess on R3 (ABR) add this command:

area 0 filter-list <name prefix-list> out

Prefix-list deny the IP address and permit 0.0.0.0/0 le 32

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hello
M02@rt37solution will work although it will ONLY be filtered in area 10 

So If the goal is to filter the prefix from the ospf database then use the solution @MHM Cisco World  suggested or a egress filter-list on R2 (ABR) to deny the area 12 loopback to enter the ospf backbone, both solutions should then filter the prefix from the ospf database

Example: R2
ip prefix-list loop deny 1.1.1.1/32
ip prefix-list loop permit 0.0.0.0/ le 32

router ospf x
area 12 filter-list prefix loop out


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

check below

MHM

Hello @MHM Cisco World 
Cannot see why not, you can test it if you like,  I dont the availability to do so.
Filter it egress at the ABR of R2, the prefix should then ONLY be available from it original area (12)


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

sure I will test  and share result here 

MHM

Hello @MHM Cisco World ,

area filter lists can be applied on ABR for all types of internal routes including LSA Type 3.

For filtering the most effective is to filter inbound on area 0 on the ABR nodes between source area and area 0.

Filtering outbound on  a specific area has a more limited effect.

Best Regards

Giuseppe

@Giuseppe Larosa @paul driver @yo8-20
I test also filter-list and it also work
Screenshot (189).png

Hello
@MHM Cisco World 
yeap makes sense, filtering egress at R1(ABR) will remove the prefix from the areas 0 & 20


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

yo8-20
Level 1
Level 1

Thanks all for discussion , I understand OSPF summarization , the prefix list and the fliter list 

and one more thing I want to know is how to calculate the link cost (bandwidth and cost measure)  of Router between OSPF Router 

Review Cisco Networking for a $25 gift card