Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

standby track — interface

Synopsis

standby [group] track interface [interface-priority]
no standby [group] track interface [interface-priority]

Configures

Hot Standby Routing Protocol (HSRP)

Default

Group, 0; interface priority, 10

Description

This command configures the HSRP interface to track another interface. If the other interface goes down, the HSRP interface’s standby priority decreases by the value interface-priority. The rationale for this behavior is that if the tracked interface is down, this router is less desirable as a standby router. The standby track command must be used in combination with the preempt command.

Example

In this example, ethernet0 is the HSRP interface tracking interface serial0. If serial0 goes down, ethernet0’s priority is decreased by 20. When serial0 comes back up, ethernet0’s priority is increased by 20 (i.e., returned to its original value).

interface ethernet0
  standby 1 ip 10.10.1.1
  standby 1 preempt
  standby 1 track serial0 20
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata