Configuring SRP

EXAMPLE:

To make Router 1 the active router, assign a preference value to interfaces A and C that is higher than the preference value of interfaces B and D on Router 2.

To assign a preference value of 200 to interfaces A and C, you would enter the following commands:

Router1(config)# int e 1/7

Router1(config-if-1/7)# ip srp address 192.53.5.2 preference 200 Router1(config-if-1/7)# int e 2/1

Router1(config-if-2/1)# ip srp address 192.55.4.2 preference 200

Modify Port Parameters (optional)

The user can also modify two port parameters for SRP: the keep-alive-time and the router-dead-interval.

Keep Alive Time

The keep-alive-timeparameter allows you to modify how often the SRP hello message is sent on the interface on which the keep-alive-time is configured.

EXAMPLE:

To modify the keep-alive-time parameter for interfaces A and C on Router 1 to 15 seconds from the default of 3 seconds, enter the following:

Router1(config)# int e 1/7

Router1(config-if-1/7)# ip srp 192.53.5.2 keep-alive-time 15

Router1(config-if-1/7)# int e 2/1

Router1(config-if-2/1)# ip srp 192.55.4.2 keep-alive-time 15

NOTE: The keep-alive-time value must be set to the same value on both the active and standby routers when both routers are connected to the same sub-net.

Router Dead Time

The router-dead-timeparameter allows you to define the period of time (hold time) that the standby router waits before determining that the active router is unavailable (dead). If the configured period of time expires, the standby router becomes active.

NOTE: The router-dead-time parameter must be set to the same value on both the active and standby router when both routing switches are connected to the same sub-net.

EXAMPLE:

To modify the router-dead-time parameter for interfaces A and C on Router 1 to 30 seconds from the default of 9 seconds, you would enter the following:

Router1(config)# int e 1/7

Router1(config-if-1/7)# ip srp 192.53.5.2 router-dead-interval 30 Router1(config-if-1/7)# int e 2/1

Router1(config-if-2/1)# ip srp 192.55.4.2 router-dead-interval 30

USING THE WEB MANAGEMENT INTERFACE

13 - 11