34.2. VRRP table

Once VRRP resource is created, VRRP table will be present also, used to set virtual routers.

[11:58:26] ABILIS_CPX:d vrrp

-------------------------------------------------------------------------------
ID: [NAME:]
    IPRES:  VRID:  INIT:     PRIO: PREEMPT: ADV:  AUTH:    AUTH-DATA:
    IP1:              HIDE1: DEP-RES:
    IP2:              HIDE2: CTRL-RES:
    IP3:              HIDE3:
    IP4:              HIDE4:
-------------------------------------------------------------------------------
                        *** NO VRRP ROUTERs DEFINED ***           

Each record of the table allows to configure up to 4 virtual IP addresses. This is an example of a master virtual router.

[15:28:20] ABILIS_CPX:d vrrp

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
-------------------------------------------------------------------------------
ID: [NAME:]
    IPRES:  VRID:  INIT:     PRIO: PREEMPT: ADV:  AUTH:    AUTH-DATA:
    IP1:              HIDE1: DEP-RES:
    IP2:              HIDE2: CTRL-RES:
    IP3:              HIDE3:
    IP4:              HIDE4:
--------------------------------------------------------------------------------
 0  VirtualID_1                     
    Ip-2    100    MASTER    200   YES      1     NO  
    192.168.050.200   NO     #
    192.168.050.201   NO     #
    192.168.050.202   NO
-------------------------------------------------------------------------------

Meaning of the most important parameters:

IP1

1st router IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].

IP2

2nd router IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].

IP3

3rd router IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].

IP4

4th router IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].

IPRES

IP resource [#, Ip-1..Ip-999].

VRID

Virtual Router IDentifier: this is a number used to identify current router ID. Every different router which is going to handle MASTER and BACKUP functionalities on the same IP addresses must have also the same router ID.

PRIO

Virtual router priority used when sending datagrams to the other virtual routers. High values means higher priority.

PREEMPT

Enable/disable Preempt Mode [NO, YES].

ADV

Advertisement Interval [1..100 sec.].

INIT

Initial State of the VRRP Router [BACKUP, MASTER]. This value indicates if at start-up current virtual router must be MASTER or BACKUP.

DEP-RES

Virtual router dependency resource. Status of specified resource will affect status of virtual router: if the resource goes down, also virtual router will goes down allowing another backup virtual router to become active. Multiple resources can be specified separated by comma in DEP-RES: parameter, (e.g. S VRRP ID:0 DEP-RES:Ip-1,Ip-2,Ip-3,Ip-4).

[Note]Note

The VRRP entry can become active only if all the DEP-RES are UP.

CTRL-RES

VRRP Router controlled IP resources. # or up to 4 IpRes or IpRes ranges [Ip-nnn or Ip-nnn:nnn] joined using ',' (comma).

The controlled IpRes must be unique among VRRP routers.

Thanks to this parameter it is possible to enable PPP (and consequently Poecli) and AIPT2 resources in the Abilis which is currently MASTER and leave them disabled in the Abilis currently BACKUP. When the BACKUP becomes MASTER it will enable the desired PPP or AIPT2 resources.

[Note]Note

Currently supported only subtypes LAN, LAN-PT, PPP and AIPT2.

AUTH

Authentication method [NONE, PASSWORD, AH].

AUTH-DATA

Authentication key. Max 8 chars in the range [0x1F..0x7F].

HIDE-IPx

Hide IPx in RIP and OSPF updates.

The previous VRRP table can be managed with these commands:

The example below shows how to configure the Virtual router as BACKUP.

[15:28:20] ABILIS_CPX:d vrrp

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
-------------------------------------------------------------------------------
ID: [NAME:]
    IPRES:  VRID:  INIT:     PRIO: PREEMPT: ADV:  AUTH:    AUTH-DATA:
    IP1:              HIDE1: DEP-RES:
    IP2:              HIDE2: CTRL-RES:
    IP3:              HIDE3:
    IP4:              HIDE4:
--------------------------------------------------------------------------------
 0  VirtualID_1                     
    Ip-2    100    BACKUP    100   YES      1     NO  
    192.168.050.200   NO     #
    192.168.050.201   NO     #
    192.168.050.202   NO
-------------------------------------------------------------------------------
[Caution]Caution

To activate the changes made on the upper case parameters, execute the initialization command init res:vrrp; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command).