Lines Matching +full:- +full:10
2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
6 # | + $h1.10 | | + $h2.10 |
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
21 # | | vid 10 vid 10 | |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
40 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64
47 vlan_destroy $h1 10
54 vlan_create $h2 10 v$h2 192.0.2.2/28
61 vlan_destroy $h2 10
69 bridge vlan add vid 10 dev br0 self
75 bridge vlan add vid 10 dev $swp1
80 bridge vlan add vid 10 dev $swp2
93 bridge vlan del vid 10 dev $swp2
98 bridge vlan del vid 10 dev $swp1
104 bridge vlan del vid 10 dev br0 self
147 bridge mdb add dev br0 port br0 grp $grp $state vid 10
148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null
154 bridge mdb del dev br0 port br0 grp $grp $state vid 10
155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
159 bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \
163 bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \
167 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
171 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
175 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
202 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10
203 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
206 bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \
210 bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10
211 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
215 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10
216 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static"
219 bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \
221 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "123"
223 bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10
227 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
228 check_err $? "$name entry with VLAN 10 not added when VLAN was not specified"
233 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
234 check_fail $? "$name entry with VLAN 10 not deleted when VLAN was not specified"
241 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10
244 bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10
246 bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 &> /dev/null
254 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 \
261 10 &> /dev/null
283 echo $src_list | cut -c 2-
300 bridge mdb add dev br0 port $swp1 grp $grp vid 10
301 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
303 bridge mdb del dev br0 port $swp1 grp $grp vid 10
306 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
308 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
312 bridge mdb del dev br0 port $swp1 grp $grp vid 10
313 bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
321 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
324 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent"
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
327 grep -q "permanent"
330 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
332 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
335 bridge mdb del dev br0 port $swp1 grp $grp vid 10
339 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
342 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
347 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
349 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
352 bridge mdb del dev br0 port $swp1 grp $grp vid 10
356 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
359 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
364 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00"
366 bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00"
369 bridge mdb del dev br0 port $swp1 grp $grp vid 10
372 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
375 bridge -d -s mdb get dev br0 grp $grp src $src1 vid 10 | grep -q " 0.00"
378 bridge mdb del dev br0 port $swp1 grp $grp vid 10
384 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
387 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include"
389 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
392 bridge mdb del dev br0 port $swp1 grp $grp vid 10
396 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
399 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
401 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
404 bridge mdb del dev br0 port $swp1 grp $grp vid 10
410 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
413 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "zebra"
415 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "zebra"
418 bridge mdb del dev br0 port $swp1 grp $grp vid 10
423 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
426 bridge mdb replace dev br0 port $swp1 grp $grp permanent vid 10 \
428 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent"
430 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "permanent"
433 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
435 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp"
437 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
440 bridge mdb del dev br0 port $swp1 grp $grp vid 10
443 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
446 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
448 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include"
450 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
453 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
455 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude"
457 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked"
460 bridge mdb del dev br0 port $swp1 grp $grp vid 10
463 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
466 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
468 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
470 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
472 bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null
475 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
477 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
479 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
481 bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null
484 bridge mdb del dev br0 port $swp1 grp $grp vid 10
487 bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \
490 bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \
492 bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "bgp"
494 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "bgp"
497 bridge mdb del dev br0 port $swp1 grp $grp vid 10
504 bridge mdb add dev br0 port $swp2 grp $grp vid 10 \
506 bridge mdb add dev br0 port $swp1 grp $grp vid 10
507 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep "$swp1" | \
508 grep -q "added_by_star_ex"
510 bridge mdb del dev br0 port $swp1 grp $grp vid 10
511 bridge mdb del dev br0 port $swp2 grp $grp src $src1 vid 10
515 bridge mdb add dev br0 port $swp1 grp $invalid_grp vid 10 &> /dev/null
518 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
522 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
526 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
530 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
532 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
535 bridge mdb del dev br0 port $swp1 grp $grp vid 10
537 bridge mdb add dev br0 port $swp1 grp $grp src $src2 vid 10
538 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
541 bridge mdb del dev br0 port $swp1 grp $grp src $src2 vid 10
544 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
546 num_srcs=$(bridge -d mdb show dev br0 vid 10 | grep "$grp" | \
547 grep "src" | wc -l)
548 [[ $num_srcs -eq $max_srcs ]]
550 bridge mdb del dev br0 port $swp1 grp $grp vid 10
552 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \
563 log_info "# Port group entries configuration tests - (*, G)"
580 bridge mdb add dev br0 port $swp1 $grp_key vid 10
581 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "include"
583 bridge mdb del dev br0 port $swp1 $grp_key vid 10
587 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10
588 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent"
590 bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00"
592 bridge mdb del dev br0 port $swp1 $grp_key vid 10
594 bridge mdb add dev br0 port $swp1 $grp_key temp vid 10
595 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp"
597 bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00"
599 bridge mdb del dev br0 port $swp1 $grp_key vid 10
602 bridge mdb add dev br0 port $swp1 $grp_key vid 10 \
606 bridge mdb add dev br0 port $swp1 $grp_key vid 10 \
610 bridge mdb add dev br0 port $swp1 grp $grp src $grp vid 10 &> /dev/null
613 bridge mdb add dev br0 port $swp1 $grp_key vid 10 temp
614 bridge mdb add dev br0 port $swp1 $grp_key vid 10 permanent &> /dev/null
616 bridge mdb del dev br0 port $swp1 $grp_key vid 10
619 bridge mdb add dev br0 port $swp1 $grp_key vid 10 proto 123
620 bridge mdb replace dev br0 port $swp1 $grp_key vid 10 proto 111
621 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "111"
624 bridge mdb replace dev br0 port $swp1 $grp_key vid 10 permanent
625 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent"
627 bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00"
630 bridge mdb replace dev br0 port $swp1 $grp_key vid 10 temp
631 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp"
633 bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00"
635 bridge mdb del dev br0 port $swp1 $grp_key vid 10
639 bridge mdb add dev br0 port $swp2 grp $grp vid 10
640 bridge mdb add dev br0 port $swp1 $grp_key vid 10
641 bridge mdb get dev br0 $grp_key vid 10 | grep $swp2 | \
642 grep -q "added_by_star_ex"
644 bridge mdb del dev br0 port $swp1 $grp_key vid 10
645 bridge mdb del dev br0 port $swp2 grp $grp vid 10
653 log_info "# Port group entries configuration tests - (S, G)"
674 permanent vid 10 &> /dev/null
678 permanent vid 10 &> /dev/null
681 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
685 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
695 log_info "# Port group entries configuration tests - L2"
713 for i in $(seq 0 $((max_grps - 1))); do
723 for i in $(seq 0 $((max_grps - 1))); do
733 for i in $(seq 0 $((max_grps - 1))); do
754 ip link add name br-test${i} up type bridge vlan_filtering 1 \
757 ip link add name br-test${i}-du${j} up \
758 master br-test${i} type dummy
767 echo "mdb add dev br-test${i} \
768 port br-test${i}-du${j} grp $grp \
775 bridge -b $batch_file
777 num_entries=$(bridge mdb show dev br-test${i} | \
778 grep "permanent" | wc -l)
779 [[ $num_entries -eq $((max_grps * max_ports)) ]]
780 check_err $? "Wrong number of entries in br-test${i}"
786 ip link del dev br-test${i}
788 ip link del dev br-test${i}-du${j}
815 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
816 bridge mdb add dev br0 port $swp2 grp 239.1.1.2 vid 10
819 bridge mdb add dev br0 port $swp1 grp 239.1.1.3 vid 10
823 bridge mdb add dev br0 port $swp1 grp 239.1.1.5 vid 10 proto bgp
824 bridge mdb add dev br0 port $swp1 grp 239.1.1.6 vid 10 proto zebra
827 bridge mdb add dev br0 port $swp1 grp 239.1.1.7 vid 10 permanent
828 bridge mdb add dev br0 port $swp1 grp 239.1.1.8 vid 10 temp
831 num_entries=$(bridge mdb show dev br0 | wc -l)
832 [[ $num_entries -eq 0 ]]
838 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
839 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10
840 bridge mdb add dev br0 port br0 grp 239.1.1.1 vid 10
844 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
846 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
848 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
853 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
861 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10
862 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10
866 bridge mdb flush dev br0 vid 10
868 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
878 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10
879 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10
883 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
885 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
893 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10
894 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10
898 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
900 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
908 bridge mdb add dev br0 port br0 grp 01:02:03:04:05:06 permanent vid 10
912 bridge mdb get dev br0 grp 01:02:03:04:05:06 vid 10 &> /dev/null
917 bridge mdb get dev br0 grp 01:02:03:04:05:06 vid 10 &> /dev/null
925 bridge mdb add dev br0 port br0 grp 239.1.1.1 temp vid 10
929 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
934 bridge mdb get dev br0 grp 239.1.1.1 vid 10 &> /dev/null
942 bridge mdb add dev br0 port br0 grp ff0e::1 temp vid 10
946 bridge mdb get dev br0 grp ff0e::1 vid 10 &> /dev/null
951 bridge mdb get dev br0 grp ff0e::1 vid 10 &> /dev/null
959 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 proto bgp
960 bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 proto zebra
961 bridge mdb add dev br0 port br0 grp 239.1.1.1 vid 10
965 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp1"
967 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port $swp2"
969 bridge mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q "port br0"
977 bridge mdb flush dev br0 src_vni 10 &> /dev/null
986 bridge mdb flush dev br0 vni 10 &> /dev/null
1011 if [[ $mode == "-4" ]]; then
1020 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp src_ip $src \
1026 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1032 bridge mdb add dev br0 port $swp2 grp $grp temp vid 10
1033 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1038 bridge mdb add dev br0 port br0 grp $grp temp vid 10
1039 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1045 bridge mdb del dev br0 port br0 grp $grp vid 10
1046 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q
1050 bridge mdb del dev br0 port $swp2 grp $grp vid 10
1059 __fwd_test_host_ip "239.1.1.1" "01:00:5e:01:01:01" "192.0.2.1" "-4"
1060 __fwd_test_host_ip "ff0e::1" "33:33:00:00:00:01" "2001:db8:1::1" "-6"
1074 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1080 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1081 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1086 bridge mdb add dev br0 port br0 grp $dmac permanent vid 10
1087 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1093 bridge mdb del dev br0 port br0 grp $dmac permanent vid 10
1094 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1098 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
1131 if [[ $mode == "-4" ]]; then
1148 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \
1151 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \
1154 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1158 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1162 bridge mdb add dev br0 port $swp2 grp $grp vid 10 \
1165 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1169 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1173 bridge mdb replace dev br0 port $swp2 grp $grp vid 10 \
1176 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1180 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1184 bridge mdb del dev br0 port $swp2 grp $grp vid 10
1186 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q
1190 $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q
1202 __fwd_test_port_ip "239.1.1.1" "01:00:5e:01:01:01" "192.0.2.1" "192.0.2.2" "-4" "exclude"
1203 __fwd_test_port_ip "ff0e::1" "33:33:00:00:00:01" "2001:db8:1::1" "2001:db8:1::2" "-6" \
1205 __fwd_test_port_ip "239.1.1.1" "01:00:5e:01:01:01" "192.0.2.1" "192.0.2.2" "-4" "include"
1206 __fwd_test_port_ip "ff0e::1" "33:33:00:00:00:01" "2001:db8:1::1" "2001:db8:1::2" "-6" \
1219 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1223 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1224 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1228 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
1229 $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q
1262 # as the querier and assign it a valid IPv6 link-local address to be
1264 ip -6 address add fe80::1/64 nodad dev br0
1266 sleep 10
1272 ip -6 address del fe80::1/64 dev br0
1282 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 \
1286 $MZ $h1.10 -c 1 -a own -b 01:00:5e:01:01:01 -A 192.0.2.1 -B 239.1.1.1 \
1287 -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q
1289 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1295 bridge mdb replace dev br0 port $swp1 grp 239.1.1.1 temp vid 10 \
1299 $MZ $h1.10 -a own -b 01:00:5e:01:01:01 -c 1 -A 192.0.2.1 -B 239.1.1.1 \
1300 -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q
1302 bridge -d mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q 192.0.2.2
1305 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1308 bridge mdb del dev br0 port $swp1 grp 239.1.1.1 vid 10
1319 bridge mdb add dev br0 port $swp1 grp ff0e::1 permanent vid 10 \
1324 $MZ -6 $h1.10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \
1325 -t ip hop=1,next=0,p="$p" -q
1327 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1333 bridge mdb replace dev br0 port $swp1 grp ff0e::1 temp vid 10 \
1337 $MZ -6 $h1.10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \
1338 -t ip hop=1,next=0,p="$p" -q
1340 bridge -d mdb get dev br0 grp ff0e::1 vid 10 | grep -q 2001:db8:1::2
1343 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1346 bridge mdb del dev br0 port $swp1 grp ff0e::1 vid 10
1360 if ! bridge mdb help 2>&1 | grep -q "flush"; then