Specifications

276 Implementing IBM System Networking 10Gb Ethernet Switches
AGG-1(config-vrrp)#virtual-router 3 address 10.0.30.1
AGG-1(config-vrrp)#
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 address 10.0.30.1
AGG-2(config-vrrp)#
c. Select a switch IP interface (Example 6-32).
Run virtual-router <1-15> interface <interface number> to select a switch IP
interface. If the IP interface has the same IP address as the addr option, this switch is
considered the “owner” of the defined virtual router. An owner has a special priority of
255 (highest) and always assumes the role of Master router, even if it must pre-empt
another virtual router that assumed Master routing authority. This preemption occurs
even if the preem option is disabled. The default value is 1.
Example 6-32 IP interface selection
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 interface 30
AGG-1(config-vrrp)#
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 interface 30
AGG-2(config-vrrp)#
d. Define the election priority (Example 6-33).
Run virtual-router <1-15> priority <1-254> to define the election priority bias for
this virtual server. The priority value can be any integer 1 - 254. The default value
is 100.
During the Master router election process, the routing device with the highest virtual
router priority number wins. If there is a tie, the device with the highest IP interface
address wins. If this virtual router’s IP address is the same as the one used by the IP
interface, the priority for this virtual router is automatically set to 255 (highest).
When priority tracking is used, this base priority value can be modified according to a
number of performance and operational criteria.
In our reference architecture, we used a virtual router IP address that is different from
the IP interface addresses and assigned a higher priority to the AGG-1 switch, in order
for AGG-1 to become an elected Master. The AGG-2 switch was left at its default
priority (100) (Example 6-33).
Example 6-33 Virtual router election priority configuration
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 priority 105
AGG-1(config-vrrp)#