O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required