Enable or disable automatic route aggregation on the port. When enabled, the router switch automatically aggregates routes to their natural mask when they are advertised on an interface in a different class network. The default is disabled.
default ip rip auto-aggregation enable
ip rip auto-aggregation enable
no ip rip auto-aggregation enable
The default is disabled.
GigabitEthernet Interface Configuration