Specifications
278 Implementing IBM System Networking 10Gb Ethernet Switches
AGG-2(config-vrrp)#virtual-router 3 timers advertise 2
AGG-2(config-vrrp)#virtual-router 3 timers preempt-delay-time 5
AGG-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 6-36 Virtual router activation with preemption enabled
AGG-2#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-2(config)#router vrrp
AGG-2(config-vrrp)#virtual-router 3 enable
AGG-2(config-vrrp)#
Aug 16 11:26:57 AGG-2 NOTICE vrrp: virtual router 10.0.30.1 is now BACKUP
Aug 16 11:27:04 AGG-2 NOTICE vrrp: virtual router 10.0.30.1 is now MASTER.
Aug 16 23:45:22 AGG-2 NOTICE vrrp: virtual router 10.0.30.1 is now BACKUP
AGG-2(config-vrrp)#^Z
AGG-2#
AGG-2#
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#router vrrp
AGG-1(config-vrrp)#virtual-router 3 enable
AGG-1(config-vrrp)#
Aug 16 11:27:19 AGG-1 NOTICE vrrp: virtual router 10.0.30.1 is now BACKUP
Aug 16 11:27:24 AGG-1 NOTICE vrrp: virtual router 10.0.30.1 is now MASTER.
AGG-1(config-vrrp)#^Z
AGG-1#
3. Configure tracking.
The commands shown in this step are used to modify the priority system when electing
the Master router from a pool of virtual routers. Various tracking criteria can be used to
bias the election results. Each time one of the tracking criteria is met, the priority level for
the virtual router is increased by an amount defined through the VRRP Tracking
commands. Criteria are tracked dynamically, continuously updating virtual router priority
levels when enabled. If the virtual router preemption option is enabled, this virtual router
can assume Master routing authority when its priority level rises above the priority level of
the current Master.
Note: We enabled the AGG-2 (Backup) router first to show the preemption
operation. In Example 6-36, note the log messages that show the role status
change. Observe the time stamps of the messages. You can see that AGG-1
assumed the Master role and AGG-2 returned to Backup state after the virtual router
is enabled on AGG-1 with the preemption option enabled.