How-to:Configure RIP route summarization

In the following example I am going to show you how to configure route summarization under RIP using two methods.

Our topology is shown below:

R1 routing table before implementing summarization:

R1(config-router)#do sh ip route rip is subnetted, 4 subnets
R [120/1] via, 00:00:02, Serial1/0
R [120/1] via, 00:00:02, Serial1/0
R [120/1] via, 00:00:02, Serial1/0
R [120/1] via, 00:00:02, Serial1/0

Task: Summarize Lo0,Lo1 and Lo2 interfaces of R2 when sent to R1 using two methods.

Method1: IP summary-address command

This command is applied under the interface you want to generate the summary from. Only one summary command can be applied to each interface. Only the summary route is advertised and all routes that match the summary route will no be advertised.

R2(config-if)#int s1/0
R2(config-if)#ip summary-address rip

!--R1 routing table after summarization: Only summary and loopback

R1(config-router)#do sh ip route rip is variably subnetted, 2 subnets, 2 masks
R [120/1] via, 00:00:04, Serial1/0
R [120/1] via, 00:00:04, Serial1/0

Method2: Auto-summarization

Auto summarization can be used also, but the main difference is that auto-summary affects the whole router with all advertised networks and interfaces for this specific routing protocol. As shown in the output below all networks belonging to the main classful network were summarized.

!-- Enable auto summarization on R2
router rip

!-- R1 table:All networks belonging to the classful boundary are summarized

R1(config-router)#do sh ip rout rip is variably subnetted, 5 subnets, 2 masks
R [120/2] via, 00:00:11, Serial1/0
R [120/1] via, 00:00:11, Serial1/0

Check Also

Best AI tools list