User manual

23: Virtual Router Redundancy Protocol (VRRP)
_______________________________________________________________________________________________________
~# uci show vrrp
vrrp.main=vrrp
vrrp.main.enabled=yes
vrrp.g1=vrrp_group
vrrp.g1.enabled=yes
vrrp.g1.interface=lan1
vrrp.g1.track_iface=lan
vrrp.g1.init_state=BACKUP
vrrp.g1.router_id=1
vrrp.g1.priority=115
vrrp.g1.advert_int_sec=2
vrrp.g1.password=secret
vrrp.g1.virtual_ipaddr=10.1.10.150/16
vrrp.g1.garp_delay_sec=5
vrrp.g1.ipsec_connection=Test
Name Type Required Default Description
enabled yes Blank Enables VRRP
vrrp_group Text Yes Blank VRRP GROUP ID number
enabled yes Blank Enables VRRP Group
interface text yes Blank
Interface name where VRRP should
run. Interface name taken from
package network
track_iface text yes Blank
Interface name that should be
tracked/monitored
init_state text Yes BACKUP Initial VRRP state
priority
Numeric
value
yes Blank
VRRP Priority number. Available
values 0-255
advert_int_sec
Numeric
value
yes Blank
VRRP hello value. This value needs
to match what is set on a peer.
password
Text
No
Blank
VRRP clear text password
virtual_ipaddr
IP
address
Yes Blank VRRP IP address
garp_delay_sec
Numeric
value
No Blank Delay for gratuitous ARP messages
ipsec_connection
Ipsec connection text yes Blank
IPsec connection name to bring
down/up when VRRP entering
BACKUP/MASTER state
Table 2: Config interface fields and their descriptions
To change any of the above values use uci set command.
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 158 of 255