![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269433.webp)
Configuring RIP
December 2005
© Foundry Networks, Inc.
17 - 5
FastIron SuperX Router(config)# interface ethernet 6/1
FastIron SuperX Router(config-if-6/1)# ip metric 5
These commands configure port 6/1 to add 5 to the cost of each route learned on the port.
Syntax:
ip metric <1-16>
Configuring a RIP Offset List
A RIP offset list allows you to add to the metric of specific inbound or outbound routes learned or advertised by
RIP. RIP offset lists provide a simple method for adding to the cost of specific routes and therefore biasing the
Layer 3 Switch’s route selection away from those routes.
An offset list consists of the following parameters:
•
An ACL that specifies the routes to which to add the metric.
•
The direction:
•
In applies to routes the Layer 3 Switch learns from RIP neighbors.
•
Out applies to routes the Layer 3 Switch is advertising to its RIP neighbors.
•
The type and number of a specific port to which the offset list applies (optional).
The software adds the offset value to the routing metric (cost) of the routes that match the ACL. If a route matches
both a global offset list and an interface-based offset list, the interface-based offset list takes precedence. The
interface-based offset list’s metric is added to the route in this case.
You can configure up to 24 global RIP offset lists and up to 24 RIP offset lists on each interface.
To configure a global RIP offset list, enter commands such as the following:
FastIron SuperX Router(config)# access-list 21 deny 160.1.0.0 0.0.255.255
FastIron SuperX Router(config)# access-list 21 permit any
FastIron SuperX Router(config)# router rip
FastIron SuperX Router(config-rip-router)# offset-list 21 out 10
The commands in this example configure a standard ACL. The ACL matches on all IP networks except 160.1.x.x.
When the Layer 3 Switch advertises a route that matches ACL 21, the offset list adds 10 to the route’s metric.
Syntax:
[no] <acl-number-or-name> in | out offset [ethernet [<slotnum>/]<portnum>]
In the following example, the Layer 3 Switch uses ACL 21 to add 10 to the metric of routes received on Ethernet
port 2/1.
FastIron SuperX Router(config-rip-router)# offset-list 21 in ethernet 2/1
Changing the Administrative Distance
By default, the Layer 3 Switch assigns the default RIP administrative distance (120) to RIP routes. When
comparing routes based on administrative distance, the Layer 3 Switch selects the route with the lower distance.
You can change the administrative distance for RIP routes.
NOTE:
See “Changing Administrative Distances” on page 21-29 for a list of the default distances for all route
sources.
To change the administrative distance for RIP routes, enter a command such as the following:
FastIron SuperX Router(config-rip-router)# distance 140
This command changes the administrative distance to 140 for all RIP routes.
Syntax:
[no] distance <num>
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...