![](/images/new-backgrounds/1319497/319497329x1.webp)
Configuration Commands
Table 148 Virtual Router Configuration commands
CommandDescription
[no] virtual-router <1-250> preemption
Enables or disables master preemption. When enabled, if this virtual router is in backup mode but has a higher priority than the current master, this virtual router will preempt the lower priority master and assume control. Note that even when preemption is disabled, this virtual router will always preempt any other master if this switch is the owner (the IP interface address and virtual router address are the same). By default, this option is enabled.
Enables this virtual router. | |
enable | Command mode: Router VRRP |
| |
|
|
no | Disables this virtual router. |
enable | Command mode: Router VRRP |
| |
|
|
no | Deletes this virtual router from the switch configuration. |
| Command mode: Router VRRP |
|
|
show ip vrrp | Displays the current configuration information for this virtual router. |
Command mode: All except User EXEC | |
| |
|
|
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
CommandDescription
[no] virtual-router <1-250> 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
165