CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 110

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 110 of 350

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.1.3 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.

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.

Advertising