Garp

Examples for High Availability (VRRP) — GARP timers

Test GARP Interval

Description

This scenario checks that an OSDx device can use VRRP configuring the delay between GARP packets sent on an interface per VRRP group.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 garp interval 5
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:03         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:13:16.383955983           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:13:16.495938610 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:13:16.667974230           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 4 2026-07-24 16:13:17.023981332 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 5 2026-07-24 16:13:17.087992468           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 6 2026-07-24 16:13:17.183982547           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 7 2026-07-24 16:13:17.476917938           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
 8 2026-07-24 16:13:17.480933644           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 9 2026-07-24 16:13:17.596926844 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
10 2026-07-24 16:13:17.793266267           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
11 2026-07-24 16:13:18.120953783           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
12 2026-07-24 16:13:18.208109642 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
13 2026-07-24 16:13:18.220029634 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:13:18.280945324 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
15 2026-07-24 16:13:18.505006086 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
16 2026-07-24 16:13:18.516944949 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
17 2026-07-24 16:13:18.688050026 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
18 2026-07-24 16:13:18.784040417 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
19 2026-07-24 16:13:19.080959402 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
20 2026-07-24 16:13:19.176979605 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
21 2026-07-24 16:13:19.703199000 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
22 2026-07-24 16:13:19.703234708 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:13:19.703243588 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:13:19.703245477 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:13:19.703247124 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:13:19.703248707 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
27 2026-07-24 16:13:20.703344579 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:13:24.313144691 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:13:24.313184338 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:13:25.313356466 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
31 2026-07-24 16:13:26.313472684 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
32 2026-07-24 16:13:27.313570995 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
33 2026-07-24 16:13:28.313676467 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
34 2026-07-24 16:13:29.313478144 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:13:29.313724535 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:13:30.313853462 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:13:31.313963404 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:13:32.314224772 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
39 2026-07-24 16:13:33.314310463 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
40 2026-07-24 16:13:34.313706642 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:13:34.314346597 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

GARP timestamps (in seconds with two decimals):

Show output
24.31
29.31
34.31
Interval[0]: 5.0
Interval[1]: 5.0000000000000036

Test GARP Interval Global

Description

This scenario checks that an OSDx device can use VRRP configuring the delay between GARP packets sent on an interface globally.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system vrrp global-parameters garp interval 5

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:03         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:13:44.040967457           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:13:44.172962262 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:13:44.364989918           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:13:44.597007476           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 5 2026-07-24 16:13:44.608967466           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 6 2026-07-24 16:13:45.089001254 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 7 2026-07-24 16:13:45.313996779           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:13:45.421941712 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 9 2026-07-24 16:13:45.621917290           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
10 2026-07-24 16:13:45.633176627 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
11 2026-07-24 16:13:45.645014752 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
12 2026-07-24 16:13:45.677989116           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
13 2026-07-24 16:13:46.081064671 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
14 2026-07-24 16:13:46.090023765           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:13:46.113061166 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
16 2026-07-24 16:13:46.410032116 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
17 2026-07-24 16:13:47.114071659 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
18 2026-07-24 16:13:47.126002622 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
19 2026-07-24 16:13:47.230044461 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:13:47.380854300 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
21 2026-07-24 16:13:47.380916953 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
22 2026-07-24 16:13:47.380929074 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:13:47.380932038 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:13:47.380934555 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:13:47.380939100 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:13:47.722040668 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
27 2026-07-24 16:13:48.381056411 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:13:51.990876521 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:13:51.990924477 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:13:52.991050714 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
31 2026-07-24 16:13:53.991115156 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
32 2026-07-24 16:13:54.991237559 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
33 2026-07-24 16:13:55.991313561 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
34 2026-07-24 16:13:56.991154432 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:13:56.991365465 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:13:57.991489230 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:13:58.991581051 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:13:59.991662772 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
39 2026-07-24 16:14:00.991763203 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
40 2026-07-24 16:14:01.991408603 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:14:01.991811252 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

GARP timestamps (in seconds with two decimals):

Show output
51.99
56.99
01.99
Interval[0]: 5.0
Interval[1]: 5.0

Test GARP Master Delay

Description

This scenario checks that an OSDx device can use VRRP configuring the delay of the second set of garp packets sent after transitioning to master per VRRP group.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 garp master-delay 2
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:03         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:14:10.809942197           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:14:10.925953436 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:14:11.093965080 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 4 2026-07-24 16:14:11.097950733           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 5 2026-07-24 16:14:11.361974775           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 6 2026-07-24 16:14:11.883750450           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 7 2026-07-24 16:14:11.910879362           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:14:11.970000275           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 9 2026-07-24 16:14:11.986893083 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
10 2026-07-24 16:14:12.146915358           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
11 2026-07-24 16:14:12.298924000 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
12 2026-07-24 16:14:12.386107351 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
13 2026-07-24 16:14:12.397961555 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:14:12.586933806           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:14:12.642017447 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
16 2026-07-24 16:14:12.802029244 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
17 2026-07-24 16:14:13.066983448           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
18 2026-07-24 16:14:13.611031301 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
19 2026-07-24 16:14:13.623000633 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:14:14.059013271 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
21 2026-07-24 16:14:14.136893635 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
22 2026-07-24 16:14:14.136935009 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:14:14.136942530 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:14:14.136944675 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:14:14.136946888 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:14:14.136949379 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
27 2026-07-24 16:14:14.251029331 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
28 2026-07-24 16:14:15.137097152 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:14:18.746903700 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
30 2026-07-24 16:14:18.746934826 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:14:18.746942978 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:14:18.746945330 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:14:18.746947329 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:14:18.746949862 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:14:19.747096406 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:14:20.747118856 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
37 2026-07-24 16:14:20.747140883 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
38 2026-07-24 16:14:20.747143396 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
39 2026-07-24 16:14:20.747145411 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:14:20.747159452 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:14:20.747162066 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
42 2026-07-24 16:14:21.747289262 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

GARP timestamps (in seconds with two decimals):

Show output
18.74
18.74
18.74
18.74
18.74
20.74
20.74
20.74
20.74
20.74

Note

The packages, by default, are sent in groups of five after transitioning to master

Master delay: 2.0

Test GARP Master Delay Global

Description

This scenario checks that an OSDx device can use VRRP configuring the delay of the second set of garp packets sent after transitioning to master globally.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system vrrp global-parameters garp master-delay 2

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:03         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:14:30.950717189           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:14:31.042667089 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:14:31.222692836           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:14:31.334749911           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 5 2026-07-24 16:14:31.458707151           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 6 2026-07-24 16:14:31.586697914 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 7 2026-07-24 16:14:32.019627505           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:14:32.099635246           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 9 2026-07-24 16:14:32.135665275 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
10 2026-07-24 16:14:32.255696415           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
11 2026-07-24 16:14:32.311665790           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
12 2026-07-24 16:14:32.482765080 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
13 2026-07-24 16:14:32.494742652 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:14:32.534723313 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
15 2026-07-24 16:14:32.683667674           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
16 2026-07-24 16:14:32.971688642 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
17 2026-07-24 16:14:33.186769004 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
18 2026-07-24 16:14:33.259726119 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
19 2026-07-24 16:14:33.271647544 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:14:33.803721843 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
21 2026-07-24 16:14:33.899728866 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
22 2026-07-24 16:14:34.252647074 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
23 2026-07-24 16:14:34.252697383 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:14:34.252708765 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:14:34.252711927 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:14:34.252714108 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
27 2026-07-24 16:14:34.252716735 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
28 2026-07-24 16:14:35.252867937 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:14:38.862662845 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
30 2026-07-24 16:14:38.862696193 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:14:38.862704363 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:14:38.862706934 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:14:38.862709308 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:14:38.862712016 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:14:39.862821338 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:14:40.862868559 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
37 2026-07-24 16:14:40.862890338 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
38 2026-07-24 16:14:40.862892204 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
39 2026-07-24 16:14:40.862893625 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:14:40.862906952 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:14:40.862908840 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
42 2026-07-24 16:14:41.863044157 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

GARP timestamps (in seconds with two decimals):

Show output
38.86
38.86
38.86
38.86
38.86
40.86
40.86
40.86
40.86
40.86

Note

The packages, by default, are sent in groups of five after transitioning to master

Master delay: 2.0

Test GARP Master Repeat

Description

This scenario checks that an OSDx device can use VRRP configuring the number of garp packets to send at a time after transitioning to master per VRRP group.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 garp master-repeat 3
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:02         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:14:51.575632920           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:14:51.719546051 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:14:51.927701773           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:14:52.107475635           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 5 2026-07-24 16:14:52.357183095           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 6 2026-07-24 16:14:52.707498031 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 7 2026-07-24 16:14:52.900411405           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:14:52.996432590 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 9 2026-07-24 16:14:53.156414626           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
10 2026-07-24 16:14:53.356460047 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
11 2026-07-24 16:14:53.379734529 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
12 2026-07-24 16:14:53.391534169 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
13 2026-07-24 16:14:53.447536638 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:14:53.676449566           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:14:53.676497232           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
16 2026-07-24 16:14:53.827534587 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
17 2026-07-24 16:14:54.700540243 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
18 2026-07-24 16:14:54.712436696 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
19 2026-07-24 16:14:54.926205410 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
20 2026-07-24 16:14:54.926278168 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
21 2026-07-24 16:14:54.926285673 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
22 2026-07-24 16:14:54.926287728 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:14:54.926289339 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:14:54.926292241 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:14:55.436506652 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
26 2026-07-24 16:14:55.664508215 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
27 2026-07-24 16:14:55.926447051 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:14:59.536270556 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:14:59.536308949 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:14:59.536318175 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:14:59.536336239 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:15:00.536489988 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
Number of packets sent at a time: 3

Test GARP Master Repeat Global

Description

This scenario checks that an OSDx device can use VRRP configuring the number of garp packets to send at a time after transitioning to master globally.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system vrrp global-parameters garp master-repeat 3

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:00         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:03         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:15:10.216187316           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:15:10.312125308 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:15:10.480125758           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:15:10.788146674           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 5 2026-07-24 16:15:11.172177534 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 6 2026-07-24 16:15:11.213120012           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 7 2026-07-24 16:15:11.236186650           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 8 2026-07-24 16:15:11.333102405 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 9 2026-07-24 16:15:11.513092961           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
10 2026-07-24 16:15:11.573085637           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
11 2026-07-24 16:15:11.812291550 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
12 2026-07-24 16:15:11.824190840 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
13 2026-07-24 16:15:12.036187388 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:15:12.141134429           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:15:12.173110054 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
16 2026-07-24 16:15:12.356211037 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
17 2026-07-24 16:15:13.165214004 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
18 2026-07-24 16:15:13.177114976 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
19 2026-07-24 16:15:13.517168137 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:15:13.521537860 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
21 2026-07-24 16:15:13.521618918 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
22 2026-07-24 16:15:13.521627709 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:15:13.521630228 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:15:13.521632634 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:15:13.521637150 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:15:13.933194059 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
27 2026-07-24 16:15:14.521779095 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:15:18.131574787 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:15:18.131608330 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:15:18.131614693 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:15:18.131617047 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:15:19.131786863 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
Number of packets sent at a time: 3

Test GARP Master Refresh

Description

This scenario checks that an OSDx device can use VRRP configuring the minimum time interval for refreshing garp while master per VRRP group.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 garp master-refresh 5
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:02         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:15:29.304882878           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:15:29.420833765 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:15:29.612819311           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:15:29.700854287           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 5 2026-07-24 16:15:29.956848277 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 6 2026-07-24 16:15:30.244891773           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 7 2026-07-24 16:15:30.629872342           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:15:30.724944325 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 9 2026-07-24 16:15:30.736877436 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
10 2026-07-24 16:15:30.760180537 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
11 2026-07-24 16:15:30.784926518 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
12 2026-07-24 16:15:30.953818515           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
13 2026-07-24 16:15:31.341844311           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
14 2026-07-24 16:15:31.469809168 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
15 2026-07-24 16:15:31.716922909 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
16 2026-07-24 16:15:31.917857126           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
17 2026-07-24 16:15:32.365901724 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
18 2026-07-24 16:15:32.377821877 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
19 2026-07-24 16:15:32.629264031 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
20 2026-07-24 16:15:32.629291693 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
21 2026-07-24 16:15:32.629299369 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
22 2026-07-24 16:15:32.629301831 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:15:32.629317525 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:15:32.629319698 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:15:32.781855004 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
26 2026-07-24 16:15:32.813838672 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
27 2026-07-24 16:15:33.629447754 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:15:37.239238800 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:15:37.239266642 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:15:37.239276737 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:15:37.239279481 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:15:37.239294345 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:15:37.239296444 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:15:38.239445762 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
35 2026-07-24 16:15:39.239540931 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:15:40.239690321 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:15:41.239797604 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:15:42.239566230 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
39 2026-07-24 16:15:42.239591913 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:15:42.239594933 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:15:42.239598266 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
42 2026-07-24 16:15:42.239613769 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
43 2026-07-24 16:15:42.239843831 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
44 2026-07-24 16:15:42.239855312 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
45 2026-07-24 16:15:43.239981675 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
46 2026-07-24 16:15:44.240089927 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
47 2026-07-24 16:15:45.240184173 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
48 2026-07-24 16:15:46.240321278 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
49 2026-07-24 16:15:47.240370099 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
50 2026-07-24 16:15:47.240395106 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
51 2026-07-24 16:15:48.240508644 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
52 2026-07-24 16:15:49.240591015 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
53 2026-07-24 16:15:50.240714531 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
54 2026-07-24 16:15:51.240836474 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
55 2026-07-24 16:15:52.240960921 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
56 2026-07-24 16:15:52.241004894 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
57 2026-07-24 16:15:53.241079470 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
58 2026-07-24 16:15:54.241219463 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

Two sets of GARP packets are sent in groups of five, by default, after transitioning to master. Since the master-refresh parameter configures the minimum time interval for refreshing garp while master, and not after transitioning to master, it affects the GARP packets sent by DUT0 after the first two sets of GARP packets.

Note

GARP timestamps (in seconds with two decimals):

Show output
42.23
47.24
52.24
Interval[0]: 5.010000000000005
Interval[1]: 5.0

Test GARP Master Refresh Global

Description

This scenario checks that an OSDx device can use VRRP configuring the minimum time interval for refreshing garp while master globally.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system vrrp global-parameters garp master-refresh 5

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:02         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:16:04.114103874           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:16:04.254102383 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:16:04.350129220           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 4 2026-07-24 16:16:04.406087974 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 5 2026-07-24 16:16:04.470121853           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 6 2026-07-24 16:16:05.350159589           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 7 2026-07-24 16:16:05.382271971 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 8 2026-07-24 16:16:05.394157626 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
 9 2026-07-24 16:16:05.423122843           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
10 2026-07-24 16:16:05.555067136 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
11 2026-07-24 16:16:05.567273584 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
12 2026-07-24 16:16:05.719067195           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
13 2026-07-24 16:16:05.898170948 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
14 2026-07-24 16:16:06.159122267           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:16:06.159160436           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
16 2026-07-24 16:16:06.246173867 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
17 2026-07-24 16:16:07.183189618 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
18 2026-07-24 16:16:07.199125076 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
19 2026-07-24 16:16:07.327157664 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:16:07.462253936 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
21 2026-07-24 16:16:07.462282742 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
22 2026-07-24 16:16:07.462289506 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:16:07.462291832 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:16:07.462304089 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:16:07.462306442 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:16:07.471121646 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
27 2026-07-24 16:16:08.462462275 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
28 2026-07-24 16:16:12.072325473 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:16:12.072364781 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
30 2026-07-24 16:16:12.072372881 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:16:12.072375323 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:16:12.072377224 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:16:12.072379571 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:16:13.072527249 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
35 2026-07-24 16:16:14.072649451 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:16:15.072767879 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:16:16.072881810 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:16:17.072675141 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
39 2026-07-24 16:16:17.072704554 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:16:17.072707244 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:16:17.072709609 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
42 2026-07-24 16:16:17.072724459 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
43 2026-07-24 16:16:17.072933282 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
44 2026-07-24 16:16:17.072950351 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
45 2026-07-24 16:16:18.073113212 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
46 2026-07-24 16:16:19.073227228 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
47 2026-07-24 16:16:20.073348167 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
48 2026-07-24 16:16:21.073450215 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
49 2026-07-24 16:16:22.073545689 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
50 2026-07-24 16:16:22.073572068 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
51 2026-07-24 16:16:23.073709140 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
52 2026-07-24 16:16:24.073863124 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
53 2026-07-24 16:16:25.073852999 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
54 2026-07-24 16:16:26.073970857 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
55 2026-07-24 16:16:27.074084898 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
56 2026-07-24 16:16:27.074125697 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
57 2026-07-24 16:16:28.074218910 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
58 2026-07-24 16:16:29.074314427 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)

Note

Two sets of GARP packets are sent in groups of five, by default, after transitioning to master. Since the master-refresh parameter configures the minimum time interval for refreshing garp while master, and not after transitioning to master, it affects the GARP packets sent by DUT0 after the first two sets of GARP packets.

Note

GARP timestamps (in seconds with two decimals):

Show output
17.07
22.07
27.07
Interval[0]: 5.0
Interval[1]: 5.0

Test GARP Master Refresh Repeat

Description

This scenario checks that an OSDx device can use VRRP configuring the number of garp packets to send at a time while master per VRRP group.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 garp master-refresh 5
set interfaces ethernet eth0 vrrp vrrp-group 1 garp master-refresh-repeat 3
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:02         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:02         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:16:38.379404345           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:16:38.491398185 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 3 2026-07-24 16:16:38.663344284           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 4 2026-07-24 16:16:38.683362471           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 5 2026-07-24 16:16:39.015418321           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 6 2026-07-24 16:16:39.271389662           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 7 2026-07-24 16:16:39.335399277 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 8 2026-07-24 16:16:39.677588126           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 9 2026-07-24 16:16:39.800301384 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
10 2026-07-24 16:16:39.984342776           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
11 2026-07-24 16:16:40.039458240 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
12 2026-07-24 16:16:40.051403015 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
13 2026-07-24 16:16:40.071410379 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
14 2026-07-24 16:16:40.176388829           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
15 2026-07-24 16:16:40.391439696 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
16 2026-07-24 16:16:40.656348344 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
17 2026-07-24 16:16:41.008381401           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
18 2026-07-24 16:16:41.201211995 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
19 2026-07-24 16:16:41.212391129 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:16:41.332450638 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
21 2026-07-24 16:16:41.376441434 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
22 2026-07-24 16:16:41.706354589 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
23 2026-07-24 16:16:41.706490898 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:16:41.706503375 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:16:41.706506681 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:16:41.706509204 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
27 2026-07-24 16:16:41.706512020 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
28 2026-07-24 16:16:42.706621602 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:16:46.316434609 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
30 2026-07-24 16:16:46.316466268 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:16:46.316475080 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:16:46.316477804 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:16:46.316491565 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:16:46.316497243 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:16:47.316675155 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:16:48.316782714 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:16:49.316931217 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:16:50.317042626 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
39 2026-07-24 16:16:51.316774544 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:16:51.316802229 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:16:51.316805278 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
42 2026-07-24 16:16:51.316807639 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
43 2026-07-24 16:16:51.316826182 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
44 2026-07-24 16:16:51.317073253 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
45 2026-07-24 16:16:51.317087028 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
46 2026-07-24 16:16:51.317090532 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
47 2026-07-24 16:16:51.317096643 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
48 2026-07-24 16:16:52.317210709 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
49 2026-07-24 16:16:53.317351253 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
50 2026-07-24 16:16:54.317445005 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
51 2026-07-24 16:16:55.317561556 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
52 2026-07-24 16:16:56.317694813 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
53 2026-07-24 16:16:56.317721262 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
54 2026-07-24 16:16:56.317727833 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
55 2026-07-24 16:16:56.317744481 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)

Note

Two sets of GARP packets are sent in groups of five, by default, after transitioning to master. Since the master-refresh-repeat parameter configures the number of garp packets to send at a time while master, and not after transitioning to master, it affects the GARP packets sent by DUT0 after the first two sets of GARP packets.

Number of packets sent at a time: 3

Test GARP Master Refresh Repeat Global

Description

This scenario checks that an OSDx device can use VRRP configuring the number of garp packets to send at a time while master globally.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address 192.168.100.101/24
set interfaces ethernet eth0 vrrp vrrp-group 1 preempt
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 200
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 192.168.100.100/24
set interfaces ethernet eth0 vrrp vrrp-group 1 priority 100
set interfaces ethernet eth0 vrrp vrrp-group 1 virtual-address 192.168.10.1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system vrrp global-parameters garp master-refresh 5
set system vrrp global-parameters garp master-refresh-repeat 3

Step 3: Run the command system vrrp show on DUT1 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Step 4: Run the command system vrrp show on DUT0 and check whether the output does not contain the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
  eth0       1    BACKUP       yes           no          0:00:02         none

Note

In order to force DUT0 to become MASTER, interface eth0 in DUT1 must be disabled (GARP packets are sent after a device becomes MASTER).

Step 5: Modify the following configuration lines in DUT1 :

set interfaces ethernet eth0 disable

Step 6: Run the command system vrrp show on DUT0 and check whether the output contains the following tokens:

MASTER
Show output
--------------------------------------------------------------------------------
Interface  Group  State   RFC Compliant  Addr Owner  Last Transition  Sync Group
--------------------------------------------------------------------------------
eth0       1    MASTER       yes           no          0:00:01         none

Note

Get DUT0’s MAC address to check that packets are sent from DUT0 (IP address is not showed).

Step 7: Get the MAC address of the eth0 interface:

admin@DUT0$ interfaces ethernet eth0 show detailed
Show output
----------------------------------------------------------------------------------------------------------------
Name  Idx           IP Address           Admin  Oper  Link  MTU   Vrf  Upper  Lower    Type        Phys addr
----------------------------------------------------------------------------------------------------------------
eth0  2    192.168.100.100/24            up     up    up    1500                     ethernet  de:ad:be:ef:6c:00
           192.168.10.1/32
           fe80::dcad:beff:feef:6c00/64

Note

Packets sent between DUT0 and DUT1:

Show output
 1 2026-07-24 16:17:06.092385516           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 2 2026-07-24 16:17:06.152375202           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 3 2026-07-24 16:17:06.204363595 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 4 2026-07-24 16:17:06.288377094           :: → ff02::1:ffef:6c10 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c10
 5 2026-07-24 16:17:06.388420013           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 6 2026-07-24 16:17:06.920400283           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
 7 2026-07-24 16:17:07.112418846 192.168.100.101 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
 8 2026-07-24 16:17:07.304465884 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
 9 2026-07-24 16:17:07.316437953 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
10 2026-07-24 16:17:07.325353709           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
11 2026-07-24 16:17:07.445366845 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
12 2026-07-24 16:17:07.528439301 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
13 2026-07-24 16:17:07.593329207 192.168.100.100 → 224.0.0.22   IGMPv3 54 Membership Report / Join group 224.0.0.18 for any sources
14 2026-07-24 16:17:07.621337350           :: → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
15 2026-07-24 16:17:07.801391181           :: → ff02::16     ICMPv6 130 Multicast Listener Report Message v2
16 2026-07-24 16:17:07.848433867 fe80::dcad:beff:feef:6c10 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
17 2026-07-24 16:17:07.889362121           :: → ff02::1:ffef:6c00 ICMPv6 86 Neighbor Solicitation for fe80::dcad:beff:feef:6c00
18 2026-07-24 16:17:08.913461015 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
19 2026-07-24 16:17:08.925378337 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
20 2026-07-24 16:17:09.169420144 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 90 Multicast Listener Report Message v2
21 2026-07-24 16:17:09.415284468 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
22 2026-07-24 16:17:09.415314202 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
23 2026-07-24 16:17:09.415320830 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
24 2026-07-24 16:17:09.415322631 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
25 2026-07-24 16:17:09.415324102 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
26 2026-07-24 16:17:09.415326506 de:ad:be:ef:6c:10 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request)
27 2026-07-24 16:17:09.617422767 fe80::dcad:beff:feef:6c00 → ff02::16     ICMPv6 150 Multicast Listener Report Message v2
28 2026-07-24 16:17:10.415459073 192.168.100.101 → 224.0.0.18   VRRP 54 Announcement (v2)
29 2026-07-24 16:17:14.025231385 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
30 2026-07-24 16:17:14.025258359 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
31 2026-07-24 16:17:14.025266247 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
32 2026-07-24 16:17:14.025268598 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
33 2026-07-24 16:17:14.025287631 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
34 2026-07-24 16:17:14.025289955 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
35 2026-07-24 16:17:15.025413485 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
36 2026-07-24 16:17:16.025526588 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
37 2026-07-24 16:17:17.025614118 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
38 2026-07-24 16:17:18.025737975 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
39 2026-07-24 16:17:19.025550322 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
40 2026-07-24 16:17:19.025570804 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
41 2026-07-24 16:17:19.025572797 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
42 2026-07-24 16:17:19.025574961 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
43 2026-07-24 16:17:19.025586435 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
44 2026-07-24 16:17:19.025769272 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
45 2026-07-24 16:17:19.025778540 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
46 2026-07-24 16:17:19.025780710 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
47 2026-07-24 16:17:19.025784344 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
48 2026-07-24 16:17:20.025917794 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
49 2026-07-24 16:17:21.026017614 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
50 2026-07-24 16:17:22.026115039 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
51 2026-07-24 16:17:23.026243303 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
52 2026-07-24 16:17:24.026371860 192.168.100.100 → 224.0.0.18   VRRP 54 Announcement (v2)
53 2026-07-24 16:17:24.026445284 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
54 2026-07-24 16:17:24.026495019 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)
55 2026-07-24 16:17:24.026512587 de:ad:be:ef:6c:00 → ff:ff:ff:ff:ff:ff ARP 42 Gratuitous ARP for 192.168.10.1 (Request) (duplicate use of 192.168.10.1 detected!)

Note

Two sets of GARP packets are sent in groups of five, by default, after transitioning to master. Since the master-refresh-repeat parameter configures the number of garp packets to send at a time while master, and not after transitioning to master, it affects the GARP packets sent by DUT0 after the first two sets of GARP packets.

Number of packets sent at a time: 3