IP Routing Features
Configuring RIP
N o t e
11-26
Syntax: restrict < ip-addr > < ip-mask > | < ip-addr /< prefix length >
This command prevents any routes with a destination address that is included
in the range specified by the address/mask pair from being redistributed by
RIP.
Modify Default Metric for Redistribution
The default metric is a global parameter that specifies the cost applied to all
RIP routes by default. The default value is 1. You can assign a cost from 1 – 15.
Example: To assign a default metric of 4 to all routes imported into RIP, enter
the following commands:
HPswitch(config)# router rip
HPswitch(rip)# default-metric 4
Syntax: default-metric < value >
The < value > can be from 1 – 15. The default is 1.
Enable RIP Route Redistribution
Do not enable redistribution until you have configured the redistribution
filters. Otherwise, the network might get overloaded with routes that you did
not intend to redistribute.
To enable redistribution of connected and static IP routes into RIP, enter the
following commands.
0(config)# router rip
HPswitch(rip)# redistribute connected
HPswitch(rip)# redistribute static
HPswitch(rip)# write memory
Syntax: [no] redistribute connected | static