beautypg.com

4 configuring metric parameters – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 93

background image

CanogaOS Configuration Guide

16-3


Names of Commands Used
ip rip send version, ip rip receive version

Validation Commands
show ip rip, show running-config, show ip protocols rip, show ip rip interface, show ip
route

16.4 Configuring Metric Parameters

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 router’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 router learns from RIP neighbors.

• Out: applies to routes the router is advertising to its RIP neighbors.

• The offset value that will be added to the routing metric of the routes that match

the ACL.

• The interface that the offset list applies (optional).

If a route matches both a global offset list (without specified interface) 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.
This example R2 will advertise route 10.10.11.0/24 out of interface eth-0-2 with metric
added 2.

Figure 16-3: RIP Topology III

R2

DUT# configure terminal

Enter the Configure mode.

DUT(config)#ip access-list ripoffset

Create IP access list named ripoffset.

DUT(config-ip-acl)#permit any
10.10.11.0 0.0.0.255 any

Configure the access list to match route 10.10.11.0/24.

DUT(config-ip-acl)# router rip

Enter the RIP routing process.

DUT(config-router)# offset-list ripoffset
out 2 eth-0-2

RIP updates being sent out from interface eth-0-2 will adds 2 hops to
the routes matching the access list ripoffset.


Validation Commands
show running-config, show ip protocols rip