Multicast and Routing Guide K/KA/KB.15.15

6 Routing Information Protocol
To display RIP configuration information and statistics, see “Overview of RIP” (page 137). For more
information on configuring RIP, see “Viewing RIP information” (page 133).
Configuring RIP parameters
Use the following procedures to configure RIP parameters on a system-wide and individual VLAN
interface basis.
Enabling RIP
RIP is disabled by default. To enable it, use one of the following methods. When you enable RIP,
the default RIP version is RIPv2-only. You can change the RIP version on an individual interface
basis to RIPv1 or RIPv1-or-v2, if needed.
Syntax:
[no] router rip
To enable RIP on a routing switch, enter the following commands:
HP Switch(config)# ip routing
HP Switch(config)# router rip
HP Switch(rip)# exit
HP Switch(config)# write memory
NOTE: IP routing must be enabled prior to enabling RIP. The first command in the preceding
sequence enables IP routing.
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.
enable Enables RIP routing.
disable Disables RIP routing.
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.
NOTE: 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.
Configuring RIP parameters 129