Specifications

Chapter 5. IBM System Networking RackSwitch implementation 227
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 enable
ACC-1(config-vrrp)#
Aug 15 23:45:18 ACC-1 NOTICE vrrp: virtual router 10.0.10.1 is now BACKUP
Aug 15 23:45:23 ACC-1 NOTICE vrrp: virtual router 10.0.10.1 is now MASTER.
ACC-1(config-vrrp)#^Z
ACC-1#
3. Configure tracking.
The commands in this step are used for modifying the priority system used 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. The 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
of the current master.
Some tracking criteria apply to standard virtual routers, otherwise called “virtual interface
routers.” A virtual server router is defined as any virtual router whose IP address is the
same as any configured virtual server IP address.
–Run [no] virtual-router <1-15> track virtual-routers to allow the priority for this
virtual router to be increased for each virtual router in Master mode on this switch. This
situation is useful for making sure that traffic for any particular client/server pairing is
handled by the same switch, increasing routing and load balancing efficiency. This
command is disabled by default.
–Run [no] virtual-router <1-15> track interfaces to allow the priority for this virtual
router to be increased for each other IP interfaces active on this switch. An IP interface
is considered active when there is at least one active port on the same VLAN. This
situation helps elect the virtual routers with the most available routes as the master.
This command is disabled by default.
–Run [no] virtual-router <1-15> track ports to allow the priority for this virtual
router to be increased for each active port on the same VLAN. A port is considered
“active” if it has a link and is forwarding traffic. This situation helps elect the virtual
routers with the most available ports as the master. This command is disabled
by default.
Run the following commands to set weights for the various criteria used to modify priority
levels during the master router election process. Each time one of the tracking criteria is
met, the priority level for the virtual router is increased by a defined amount. These priority
tracking options define increment values only. These options do not affect the VRRP
master router election process until options under the VRRP Virtual Router Priority
Tracking Commands are enabled.
–Run tracking-priority-increment virtual-routers <0-254> to define the priority
increment value (0 - 254) for virtual routers in Master mode detected on this switch.
The default value is 2.
–Run tracking-priority-increment interfaces <0-254> to define the priority
increment value for active IP interfaces detected on this switch. The default value is 2.