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

enable

Enables RIP routing.

disable

Disables RIP routing.

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.

NOTE:

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.

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 and interface context

switch(config)# no router rip
switch(rip)#
NOTE:

Deleting all protocol-specific information from the global and interface context sets all protocol parameters to default values.

NOTE:

IP routing must be enabled before enabling RIP. The first command in the preceding sequence enables IP routing.