Name

metric maximum-hops — router, IGRP, EIGRP

Synopsis

metric maximum-hops hops
no metric maximum-hops hops
            

Configures

The maximum number of hops that a route can take

Default

100

Description

This command allows you to change the maximum hop count for EIGRP and IGRP. Routes that exceed the given limit are considered unreachable. The maximum number of hops is 255.

Example

The following commands configure the router to mark routes as unreachable if they require more than 180 hops:

router igrp 101
   network 10.10.0.0
   metric maximum-hops 180

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.