Both RIP v2 and OSPF Support automatic and manual summarization. The difference between the two is that manual Summary of the two can be summarized to any mask length, the Mask Length manually summarized by RIP cannot be lower than the main mask of the corresponding route entry!
For example, to summarize 172.16.1.1/24 172.16.2.1/24 172.16.3.1/24
Manual Summary of RIP can only be summarized to: 172.16.0.0/16. If the mask is less than 16 bits, an error is returned!
The external network cannot be summarized when the automatic summary of the VPN gateway is used, and the automatic summary of the RIP can be used to summarize the external network.
When the manual Summary of the routes is the same as that of the RIP, the routes are merged and effective,
Instead of taking effect for incoming routes
When both automatic summary and manual summary are enabled, both of them take effect at the same time, while automatic summary for RIP is always better than manual summary.
OSPF does not have the automatic summary function, but it can be summarized manually in any bit. Manual summary does not have any restrictions and can be summarized to any mask length.