Configuring metric parameters, Changing the administrative distance – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 223

To enable RIP globally, enter the router rip command.
device(config)# router rip
Syntax: [no] router rip
After globally enabling the protocol, you must enable it on individual interfaces. You can enable the
protocol on physical interfaces as well as virtual routing interfaces. To enable RIP on an interface, enter
commands such as the following.
device(config)# interface ethernet 1/1/1
device(config-if-e01000-1/1/1)# ip rip v1-only
Syntax: [no] ip rip {v1-only | v1-compatible-v2 | v2-only}
Configuring metric parameters
By default, a Brocade device port increases the cost of a RIP route that is learned or advertised on the
port by one. You can configure individual ports to add more than one to a learned or advertised route’s
cost.
Changing the cost of routes learned or advertised on a port
By default, a Brocade device port increases the cost of a RIP route that is learned on the port. The
Brocade device increases the cost by adding one to the route’s metric before storing the route.
You can change the amount that an individual port adds to the metric of RIP routes learned on the port.
To increase the metric for learned routes, enter the ip rip metric-offset command.
device(config-if-e1000-1/1/1)# ip rip metric-offset 5 in
The command configures the port to add 5 to the cost of each route it learns.
Syntax: [no] ip rip metric-offset num {in | out}
The number is 1 through 16.
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. You can prevent the device from using a specific port for routes learned though that
port by setting its metric to 16.
in applies to routes the port learns from RIP neighbors.
out applies to routes the port advertises to its RIP neighbors.
Changing the administrative distance
By default, the Brocade device assigns the default RIP administrative distance (120) to RIP routes.
When comparing routes based on administrative distance, the Brocade device selects the route with the
lower distance. You can change the administrative distance for RIP routes.
To change the administrative distance for RIP routes, enter the distance command.
device(config-rip-router)# distance 140
The command changes the administrative distance to 140 for all RIP routes.
Configuring metric parameters
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
223
53-1003087-04