Specifications
226 Implementing IBM System Networking 10Gb Ethernet Switches
Run [no] virtual-router <1-128> fast-advertise to enable or disable fast
advertisements. When enabled, the VRRP master advertisements interval is
calculated in units of centiseconds, instead of seconds. For example, if advertisement
is set to 1 and fast advertisement is enabled, master advertisements are sent every .01
second. When you disable fast advertisement, the advertisement interval is set to the
default value of 1 second. To support Fast Advertisements, set the interval to
20 - 100 centiseconds.
Example 5-72 Virtual router timers configuration
ACC-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-1(config)#router vrrp
ACC-1(config-vrrp)#virtual-router 1 timers advertise 2
ACC-1(config-vrrp)#virtual-router 1 timers preempt-delay-time 5
ACC-1(config-vrrp)#
ACC-2#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-2(config)#router vrrp
ACC-2(config-vrrp)#virtual-router 1 timers advertise 2
ACC-2(config-vrrp)#virtual-router 1 timers preempt-delay-time 5
ACC-2(config-vrrp)#
g. Enable the configured virtual router.
Run [no] virtual-router <1-15> enable to enable or disable this virtual router.
Run no virtual-router <1-15> to delete this virtual router from the
switch configuration.
Example 5-73 Virtual router activation with preemption enabled
ACC-2#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-2(config)#router vrrp
ACC-2(config-vrrp)#virtual-router 1 enable
ACC-2(config-vrrp)#
Aug 15 23:44:56 ACC-2 NOTICE vrrp: virtual router 10.0.10.1 is now BACKUP
Aug 15 23:45:03 ACC-2 NOTICE vrrp: virtual router 10.0.10.1 is now MASTER.
Aug 15 23:45:22 ACC-2 NOTICE vrrp: virtual router 10.0.10.1 is now BACKUP
ACC-2(config-vrrp)#^Z
ACC-2#
ACC-2#
Important: Fast advertisements were not used in the reference
architecture implementation.
Important: We enabled the ACC-2 (backup) router first to show the preemption
operation. As shown in Example 5-73, the log messages show the role status
change. Observe the time stamps of the messages. You can see that ACC-1
assumed the Master role and ACC-2 returned to Backup state after the virtual router
is enabled on ACC-1 with the preemption option enabled.