Offset list is use to modify the metric of all or specific incoming/outgoing routes. If we want to change the metric of specific routes then we can create a access-list. After that we can call it under offset-list.
A offset-list doesn’t care that route is being advertise or not. Offset-list will just modify the metric of routes.
It can use only for distance vector routing protocols mainly. But it don’t support to OSPF.
In below example, We are changing the metric of all the routes which are receiving through interface serial 0/1.
Router# conf t Router(config)# router eigrp 1 Router(config-router)# offset-list 0 in 100000 serial 0/1
In above configuration, We are using offset-list 0 that Offset-list will change the metric of all the routes, received from interface serial 0/1.
If we want to change the metric of specific routes then we can create a access-list and use the access-list number/name in the place of 0.
below is the example of changing the metric of specific routes:
conf t access-list 10 deny 10.1.1.0 0.0.0.255 access-list 10 permit any router eigrp 1 offset-list 10 in 100000 serial 0/1
Offset-list doesn’t block/permit the routes. It just modifies the metric.
Thanks For Reading ………………
We will recommend you to read below posts: