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: PRIO: PREEMPT:
ADVER-INT: INIT-STATE: AUTH: AUTH-DATA:
IP1: IP2: IP3: IP4:
HIDE-IP1: HIDE-IP2: HIDE-IP3: HIDE-IP4:
DEP-RES:
-------------------------------------------------------------------------------
*** 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: PRIO: PREEMPT:
ADVER-INT: INIT-STATE: AUTH: AUTH-DATA:
IP1: IP2: IP3: IP4:
HIDE-IP1: HIDE-IP2: HIDE-IP3: HIDE-IP4:
DEP-RES:
-------------------------------------------------------------------------------
0 VirtualID_1 1 NONE 100 YES
1 MASTER NONE
192.168.050.200 192.168.050.201 192.168.050.202 #
NO NO NO NO
NONE
-------------------------------------------------------------------------------
Meaning of the most important parameters:
IP
IP resource where virtual IPs will be applied to.
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.
INIT-STATE
Initial state of the VRRP router. 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 | |
---|---|
The VRRP entry can become active only if all the DEP-RES are UP. |
IPx
Virtual router IP address assigned to specific IP: resource.
HIDE-IPx
Hide IPx in RIP and OSPF updates.
The previous VRRP table can be managed with these commands:
d vrrp : display all VRRP table entries;
a vrrp id:val [par:val] : add a VRRP table entry;
c vrrp id:val : clear a VRRP table entry;
s vrrp id:val [par:val] : set parameters of a VRRP table entry.
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: PRIO: PREEMPT:
ADVER-INT: INIT-STATE: AUTH: AUTH-DATA:
IP1: IP2: IP3: IP4:
HIDE-IP1: HIDE-IP2: HIDE-IP3: HIDE-IP4:
DEP-RES:
-------------------------------------------------------------------------------
0 VirtualID_1 1 NONE 100 YES
1 MASTER NONE
192.168.050.200 192.168.050.201 192.168.050.202 #
NO NO NO NO
NONE
-------------------------------------------------------------------------------
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). |