This section describes the commands you use to view and configure Virtual Router Redundancy Protocol (VRRP) and to view VRRP status information. VRRP helps provide failover and load balancing when you configure two devices as a VRRP pair.
Use this command in Global Config mode to enable the administrative mode of VRRP on the router.
Use this command in Global Config mode to disable the default administrative mode of VRRP on the router.
Use this command in Interface Config mode to create a virtual router associated with the interface. The parameter <vrid> is the virtual router ID, which has an integer value range from 1 to 255.
Use this command in Interface Config mode to delete the virtual router associated with the interface. The virtual Router ID, <vrid>, is an integer value that ranges from 1 to 255.
This command enables the virtual router configured on the specified interface. Enabling the status field starts a virtual router. The parameter <vrid> is the virtual router ID which has an integer value ranging from 1 to 255.
This command disables the virtual router configured on the specified interface. Disabling the status field stops a virtual router.
This command sets the virtual router IP address value for an interface. The value for <ipaddr> is the IP address which is to be configured on that interface for VRRP. The parameter <vrid> is the virtual router ID which has an integer value range from 1 to 255. You can use the optional [secondary] parameter to designate the IP address as a secondary IP address.
Use this command in Interface Config mode to delete a secondary IP address value from the interface. To delete the primary IP address, you must delete the virtual router on the interface.
Use this command to allow the VRRP Master to accept ping packets sent to one of the virtual router's IP addresses.
Use this command to prevent the VRRP Master from accepting ping packets sent to one of the virtual router's IP addresses.
This command sets the authorization details value for the virtual router configured on a specified interface. The parameter {none | simple} specifies the authorization type for virtual router configured on the specified interface. The parameter [key] is optional, it is only required when authorization type is simple text password. The parameter <vrid> is the virtual router ID which has an integer value ranges from 1 to 255.
This command sets the default authorization details value for the virtual router configured on a specified interface.
This command sets the preemption mode value for the virtual router configured on a specified interface. The parameter <vrid> is the virtual router ID, which is an integer from 1 to 255.
This command sets the default preemption mode value for the virtual router configured on a specified interface.
This command sets the priority of a router within a VRRP group. Higher values equal higher priority. The range is from 1 to 254. The parameter <vrid> is the virtual router ID, whose range is from 1 to 255. The router with the highest priority is elected master. If a router is configured with the address used as the address of the virtual router, the router is called the “address owner.” The priority of the address owner is always 255 so that the address owner is always master. If the master has a priority less than 255 (it is not the address owner) and you configure the priority of another router in the group higher than the master’s priority, the router will take over as master only if preempt mode is enabled.
This command sets the default priority value for the virtual router configured on a specified interface.
This command sets the frequency, in seconds, that an interface on the specified virtual router sends a virtual router advertisement.
This command sets the default virtual router advertisement value for an interface.
Use this command to alter the priority of the VRRP router based on the availability of its interfaces. This command is useful for tracking interfaces that are not configured for VRRP. Only IP interfaces are tracked. A tracked interface is up if the IP on that interface is up. Otherwise, the tracked interface is down. You can use this command to configure a single interface or a range of interfaces. When the tracked interface is down or the interface has been removed from the router, the priority of the VRRP router will be decremented by the value specified in the priority
argument. When the interface is up for IP protocol, the priority will be incremented by the priority
value. A VRRP configured interface can track more than one interface. When a tracked interface goes down, then the priority of the router will be decreased by 10 (the default priority decrement) for each downed interface. The default priority decrement is changed using the priority
argument. The default priority of the virtual router is 100, and the default decrement priority is 10. By default, no interfaces are tracked. If you specify just the interface to be tracked, without giving the optional priority, then the default priority will be set. The default priority decrement is 10.
Use this command to remove the interface or range of interfaces from the tracked list or to restore the priority decrement to its default.
Use this command to track the route reachability on an interface or range of interfaces. When the tracked route is deleted, the priority of the VRRP router will be decremented by the value specified in the priority
argument. When the tracked route is added, the priority will be incremented by the same.
A VRRP configured interface can track more than one route. When a tracked route goes down, then the priority of the router will be decreased by 10 (the default priority decrement) for each downed route. By default no routes are tracked. If you specify just the route to be tracked, without giving the optional priority, then the default priority will be set. The default priority decrement is 10. The default priority decrement is changed using the priority argument.
Use this command to remove the route from the tracked list or to restore the priority decrement to its default. When removing a tracked IP route from the tracked list, the priority should be incremented by the decrement value if the route is not reachable.
This command displays the statistical information about each virtual router configured on the switch.
This command displays whether VRRP functionality is enabled or disabled on the switch. It also displays some global parameters which are required for monitoring. This command takes no options.
This command displays all configuration information and VRRP router statistics of a virtual router configured on a specific interface.
This command displays information about each virtual router configured on the switch. This command takes no options. It displays information about each virtual router.