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
Options
|
All networks |
|
Standard access list |
|
Named access list |
| Affects inbound updates | |
| Affects outbound updates | |
| Amount to modify metric | |
| 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
Copy
R2(config-router)#do show ip route eigrp
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.1 [90/156160] via 10.1.1.1, 00:00:07, FastEthernet0/0
D 1.3.3.3 [90/156160] via 10.1.1.1, 00:00:07, FastEthernet0/0
D 1.2.2.2 [90/156160] via 10.1.1.1, 00:00:07, FastEthernet0/0
192.168.13.0/30 is subnetted, 1 subnets
D 192.168.13.0 [90/2172416] via 10.1.1.1, 00:00:07, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/156160] via 10.2.2.3, 00:00:04, FastEthernet1/0
111.0.0.0/32 is subnetted, 1 subnets
D 111.111.111.111 [90/156160] via 10.1.1.1, 00:00:07, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
D 10.4.4.0 [90/2172416] via 10.2.2.3, 00:00:04, FastEthernet1/0
[90/2172416] via 10.1.1.1, 00:00:04, FastEthernet0/0
11.0.0.0/32 is subnetted, 1 subnets
D 11.11.11.11 [90/156160] via 10.1.1.1, 00:00:07, FastEthernet0/0
Now we will set the offset on R2
Copy
R2(config)#access-list 25 permit 1.0.0.0 0.255.255.255
R2(config)#router eigrp 100
R2(config-router)#offset-list 25 in 43840
Checking the routing table, we see the 1.0.0.0 network metric is 200000.
Copy
2(config-router)#do show ip route eigrp
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.1 [90/200000] via 10.1.1.1, 00:00:01, FastEthernet0/0
D 1.3.3.3 [90/200000] via 10.1.1.1, 00:00:01, FastEthernet0/0
D 1.2.2.2 [90/200000] via 10.1.1.1, 00:00:01, FastEthernet0/0
192.168.13.0/30 is subnetted, 1 subnets
D 192.168.13.0 [90/2172416] via 10.1.1.1, 00:01:20, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/156160] via 10.2.2.3, 00:01:17, FastEthernet1/0
111.0.0.0/32 is subnetted, 1 subnets
D 111.111.111.111 [90/156160] via 10.1.1.1, 00:01:20, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
D 10.4.4.0 [90/2172416] via 10.2.2.3, 00:01:17, FastEthernet1/0
[90/2172416] via 10.1.1.1, 00:01:17, FastEthernet0/0
11.0.0.0/32 is subnetted, 1 subnets
D 11.11.11.11 [90/156160] via 10.1.1.1, 00:01:20, FastEthernet0/0