ip rip metric-offset
By default, the interface adds one to the route metric before storing the route.
Interface configuration mode
The
no form of the command removes the added cost from RIP routes learned or advertised
on the interface.
Routes with a higher cost are less likely to be used. You can prevent the RIP router from using a route learned on a particular interface by adding a cost metric of 16 on the interface.
The following example adds 5 to the cost metric for routes advertised on Ethernet interface 1/2/3 (Device 1/Slot 2/Interface 3).
device# configure terminal device(config)# interface ethernet 1/2/3 device(config-if-e1000-1/2/3)# ip rip metric-offset 5 out
The following example returns the advertised route metric to default (1) for the interface in the previous example.
device# configure terminal device(config)# interface ethernet 1/2/3 device(config-if-e1000-1/2/3)# no ip rip metric-offset 5 out