Enabling RIP on the routing switch and entering the RIP router context
Syntax:
[no] router rip [[enable] | [disable]] [auto-summary]
Executed at the global configuration level to enable RIP on the routing switch and to enter the RIP router context. This enables you to proceed with assigning RIP areas and to modify RIP global parameter settings as needed. Global IP routing must be enabled before the RIP protocol can be enabled.
Default: Disabled
The no form of the command deletes all protocol-specific information from the global context and interface context. All protocol parameters are set to default values.
The
no router rip
command also disables RIP routing.
If you disable RIP, the switch retains all the configuration information for the disabled protocol in flash memory. If you subsequently restart RIP, the existing configuration will be applied.
The auto-summary form of the command enables advertisement of the summarized routes. When used with the no form of the command, auto-summary disables the advertisement of the summarized routes.
Example
Enter RIP router context
switch(config)# router rip switch(rip)#
Enable RIP routing
switch(config)# router rip enable switch(rip)#
Disable RIP routing
switch(config)# router rip disable switch(rip)#
Delete all protocol-specific information from the global context and interface context and set all protocol parameters to default values
switch(config)# no router rip switch(rip)#