metric maximum-hops — router, IGRP, EIGRP
hopsno metric maximum-hops
The maximum number of hops that a route can take
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.
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