NOTE:
RIP considers a route with a metric of 16 to be unreachable. Use this metric only if you do not want
the route to be used. In fact, you can prevent the switch from using a specific interface for routes
learned though that interface by setting its metric to 16.
Syntax:
ip rip metric 1-16
To increase the cost a VLAN interface adds to RIP routes learned on that interface, enter commands such as the
following:
switch(config)# vlan 1
switch(vlan-1)# ip rip metric 5
These commands configure vlan-1 to add 5 to the cost of each route learned on the interface.
Configuring for redistribution
To configure for redistribution, define the redistribution tables with "restrict" redistribution filters. In the CLI, use the
restrict
command for RIP at the RIP router level.
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.
NOTE:
Do not enable redistribution until you have configured the redistribution filters. Otherwise, the
network might become overloaded with routes that you did not intend to redistribute.
Example:
To configure the switch to filter out redistribution of static, connected, or OSPF routes on network 10.0.0.0, enter
the following commands:
switch(config)# router rip
switch(rip)# restrict 10.0.0.0 255.0.0.0
switch(rip)# write memory
NOTE:
The default configuration permits redistribution for all default connected routes only.
Modifying 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 to 15.
Syntax:
default-metric
value
The
value
can be from 1 to 15. The default is 1.
172
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08