Name

offset-list — router

Synopsis

offset-list access-list {in | out} value [interface]
no offset-list access-list {in | out} value [interface]

Configures

Adds an offset value to incoming or outgoing routing metrics

Default

None

Description

This command allows you to apply an offset to the metric of incoming or outgoing routes.

access-list

The offset is applied to routes matching this access list (name or number). 0 means all routes.

in or out

The direction in which to apply the metric offset. in applies the offset to incoming routes; out applies the offset to outgoing routes.

value

The amount by which route metrics will be increased. The value must be positive; the acceptable range depends on the routing protocol.

interface

Optional. The offset will be applied only to routes traveling through the given interface.

Example

The following configuration adds an offset of 10 to routes that match access list 1 (i.e., routes with the destination 10.10.1.0) traveling out through the ethernet0 interface:

access-list 1 permit 10.10.1.0 0.0.0.255
!
router eigrp 100
  offset-list 1 out 10 ethernet0
  network 10.10.0.0

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.