N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 131
VRRP Virtual Router Priority Tracking configuration
These commands are used to modify 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 VRRP Tracking.
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 that of the current master.
Some tracking criteria (
virtual routers
,
interfaces
, and
ports
below) 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.
The following table describes the Virtual Router Priority Tracking Configuration commands.
Table 149 Virtual Router Priority Tracking Configuration commands
Command
Description
[no] virtual-router <
1-255
>
track virtual-routers
When enabled, the priority for this virtual router will be increased for each
virtual router in master mode on this switch. This is useful for making sure that
traffic for any particular client/server pairing are handled by the same switch,
increasing routing and load balancing efficiency. This command is disabled by
default.
Command mode:
Router VRRP
[no] virtual-router <
1-255
>
track interfaces
When enabled, the priority for this virtual router will be increased for each
other IP interface active on this switch. An IP interface is considered active
when there is at least one active port on the same VLAN. This helps elect the
virtual routers with the most available routes as the master. This command is
disabled by default.
Command mode:
Router VRRP
[no] virtual-router <
1-255
>
track ports
When enabled, the priority for this virtual router will 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 helps elect the virtual routers with the most available
ports as the master. This command is disabled by default.
Command mode:
Router VRRP
show ip vrrp virtual-router
<
1-255
> track
Displays the current configuration for priority tracking for this virtual router.
Command mode:
All except User EXEC
VRRP Virtual Router Group configuration
The Virtual Router Group commands are used for associating all virtual routers into a single logical virtual router,
which forces all virtual routers on the switch to either be master or backup as a group. A virtual router is defined by
its virtual router ID and an IP address. On each VRRP-capable routing device participating in redundancy for this
virtual router, a virtual router will be configured to share the same virtual router ID and IP address.
The following table describes the Virtual Router Group Configuration commands.
Table 150 Virtual Router Group Configuration commands
Command
Description
group virtual-router-id <
1-
255
>
Defines the virtual router ID.
The
virtual router ID
for standard virtual routers (where the virtual
router IP address is not the same as any virtual server) can be any integer
between 1 and 255. All
virtual router ID
values must be unique
within the VLAN to which the virtual router‘s IP interface belongs. The default
virtual router ID is 1.
Command mode:
Router VRRP
group interface <
1-255
>
Selects a switch IP interface. The default switch IP interface number is 1.
Command mode:
Router VRRP