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 access 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
In this example we will change the metric on the 1.0.0.0 routes to 200000. Currently the metric is 156160
R2(config-router)#do show ip route eigrp |
Now we will set the offset on R2
R2(config)#access-list 25 permit 1.0.0.0 0.255.255.255 |
Checking the routing table, we see the 1.0.0.0 network metric is 200000.
2(config-router)#do show ip route eigrp |