Command Reference Guide

N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (AOS) 135
Table 151 VRRP Configuration Menu options
Command
Description
off
Globally disables VRRP on this switch. This is the default.
cur
Displays the current VRRP parameters.
VRRP Virtual Router configuration
Command: /cfg/l3/vrrp/vr <1-255>
[VRRP Virtual Router 1 Menu]
track - Priority Tracking Menu
vrid - Set virtual router ID
addr - Set IP address
if - Set interface number
prio - Set renter priority
adver - Set advertisement interval
preem - Enable/disable preemption
ena - Enable virtual router
dis - Disable virtual router
del - Delete virtual router
cur - Display current VRRP virtual router configuration
This menu is used for configuring virtual routers for this switch. 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.
Virtual routers are disabled by default.
The following table describes the Virtual Router Configuration Menu options.
Table 152 VRRP Configuration Menu options
Command
Description
track
Displays the VRRP Priority Tracking Menu for this virtual router. Tracking is a pro-
prietary extension to VRRP, used for modifying the standard priority system used
for electing the master router.
vrid <1-255>
Defines the virtual router ID. This is used in conjunction with addr (below) to
define a virtual router on this switch. To create a pool of VRRP-enabled routing
devices which can provide redundancy to each other, each participating VRRP
device must be configured with the same virtual router: one that shares the same
vrid and addr combination.
The vrid 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. The
default value is 1.
All vrid values must be unique within the VLAN to which the virtual router‘s IP
interface belongs.
addr <IP address>
Defines the IP address for this virtual router using dotted decimal notation. This is
used in conjunction with the vrid (above) to configure the same virtual router on
each participating VRRP device. The default address is 0.0.0.0
if <1-255>
Selects a switch IP interface. If the IP interface has the same IP address as the
addr option above, this switch is considered the ―owner‖ of the defined virtual
router. An owner has a special priority of 255 (highest) and will always assume
the role of master router, even if it must preempt another virtual router which has
assumed master routing authority. This preemption occurs even if the preem
option below is disabled. The default value is 1.
prio <1-254>
Defines the election priority bias for this virtual server. This can be any integer
between 1 and 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 (addr) is the same as
the one used by the IP interface, the priority for this virtual router will automatically
be set to 255 (highest).
When priority tracking is used (/cfg/l3/vrrp/track or
/cfg/l3/vrrp/vr #/track), this base priority value can be modified
according to a number of performance and operational criteria.
adver <1-255>
Defines the time interval between VRRP master advertisements. This can be any
integer between 1 and 255 seconds. The default value is 1.