Adjusting EIGRP Metrics
Problem
You want to modify the routing metrics for routes learned via EIGRP.
Solution
You can use the offset-list configuration command to modify the metrics of routes that EIGRP learns through a particular interface:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#access-list22permitRouter1(config)#192.168.30.0router eigrpRouter1(config-router)#55offset-list22inRouter1(config-router)#10000 Serial0.1exitRouter1(config)#endRouter1#
This command can also modify the EIGRP metrics of routes as the router sends them out through an interface:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#access-list33permitRouter1(config)#192.168.30.0router eigrpRouter1(config-router)#55offset-list33outRouter1(config-router)#10000 Serial0.1exitRouter1(config)#endRouter1#
Discussion
The offset-list command simply adds a constant value to the metrics of all routes that are either sent or received through a particular interface. There are actually two other ways to modify metrics in EIGRP. Recall that the EIGRP metric is a combination of the aggregate delay and the minimum bandwidth along a path. So instead of adding an offset to the entire metric, you can modify the bandwidth and delay separately as follows:
Router1(config)#interfaceRouter1(config-if)#Serial0.1bandwidthRouter1(config-if)#56delay1000
The bandwidth command takes an argument in kilobits ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access