Command
Offset-List
Use
This command allows you to modify the metric of a route on the routing table.
Syntax
Router(config-router)#offset-list <list> <in or out> <offset> <interface>
Options
<list> = 0 | All networks |
<list> = 1-99, 1300 – 1999 | Standard accses list |
<list> = Name | Named access list |
<in> | Affects inbound updates |
<out> | Affects outbound updates |
<offset> = 1 – 16 | Amount to modify metric |
<interface> | Only affects updates comming through this interface |
Example
Here is the route table for R2 table before configuring the offset list.
R2(config-router)#do show ip route rip |
Here is the route table for R2 after setting the offset list for fa0/0 to 5.
R2(config-router)#offset-list 0 in 5 fa0/0 |
Finally, here is the route table for R2 after setting the offset list to 7 for 1.3.3.3.
R2(config)#access-list 25 permit 1.3.3.3 |