Lines Matching refs:dev
69 bridge vlan add vid 10 dev br0 self
70 bridge vlan add vid 20 dev br0 self
71 ip link set dev br0 up
73 ip link set dev $swp1 master br0
74 ip link set dev $swp1 up
75 bridge vlan add vid 10 dev $swp1
76 bridge vlan add vid 20 dev $swp1
78 ip link set dev $swp2 master br0
79 ip link set dev $swp2 up
80 bridge vlan add vid 10 dev $swp2
81 bridge vlan add vid 20 dev $swp2
83 tc qdisc add dev br0 clsact
84 tc qdisc add dev $h2 clsact
89 tc qdisc del dev $h2 clsact
90 tc qdisc del dev br0 clsact
92 bridge vlan del vid 20 dev $swp2
93 bridge vlan del vid 10 dev $swp2
94 ip link set dev $swp2 down
95 ip link set dev $swp2 nomaster
97 bridge vlan del vid 20 dev $swp1
98 bridge vlan del vid 10 dev $swp1
99 ip link set dev $swp1 down
100 ip link set dev $swp1 nomaster
102 ip link set dev br0 down
103 bridge vlan del vid 20 dev br0 self
104 bridge vlan del vid 10 dev br0 self
105 ip link del dev br0
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 \
160 &> /dev/null
163 bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \
164 &> /dev/null
167 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
168 filter_mode exclude &> /dev/null
171 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
172 source_list $src &> /dev/null
175 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \
176 proto 123 &> /dev/null
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 \
207 &> /dev/null
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
226 bridge mdb add dev br0 port $swp1 $grp_key permanent
227 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
229 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null
232 bridge mdb del dev br0 port $swp1 $grp_key permanent
233 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
235 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null
239 ip link set dev $swp1 down
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
249 ip link set dev $swp1 up
253 ip link set dev br0 down
254 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 \
255 &> /dev/null
257 ip link set dev br0 up
259 ip link set dev br0 type bridge mcast_snooping 0
260 bridge mdb add dev br0 port $swp1 $grp_key permanent vid \
261 10 &> /dev/null
263 ip link set dev br0 type bridge mcast_snooping 1
265 bridge mdb add dev br0 port $swp1 $grp_key permanent vid 5000 \
266 &> /dev/null
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 | \
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" | \
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 \
519 &> /dev/null
522 bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \
523 source_list $grp &> /dev/null
526 bridge mdb add dev br0 port $swp1 grp $grp vid 10 \
527 source_list $src &> /dev/null
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 \
533 source_list $src1 &> /dev/null
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 \
539 source_list $src1,$src2,$src3 &> /dev/null
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" | \
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 \
554 &> /dev/null
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 \
603 filter_mode include &> /dev/null
606 bridge mdb add dev br0 port $swp1 $grp_key vid 10 \
607 filter_mode include source_list $src &> /dev/null
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 | \
644 bridge mdb del dev br0 port $swp1 $grp_key vid 10
645 bridge mdb del dev br0 port $swp2 grp $grp vid 10
673 bridge meb add dev br0 port $swp grp 00:01:02:03:04:05 \
674 permanent vid 10 &> /dev/null
677 bridge mdb add dev br0 port $swp grp $grp src 00:01:02:03:04:05 \
678 permanent vid 10 &> /dev/null
681 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
682 filter_mode include &> /dev/null
685 bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \
686 source_list 00:01:02:03:04:05 &> /dev/null
777 num_entries=$(bridge mdb show dev br-test${i} | \
786 ip link del dev br-test${i}
788 ip link del dev br-test${i}-du${j}
832 tc filter add dev br0 ingress protocol 802.1q pref 1 handle 1 flower \
845 bridge mdb add dev br0 port $swp2 grp $grp temp vid 10
851 bridge mdb add dev br0 port br0 grp $grp temp vid 10
858 bridge mdb del dev br0 port br0 grp $grp vid 10
863 bridge mdb del dev br0 port $swp2 grp $grp vid 10
865 tc filter del dev br0 ingress protocol 802.1q pref 1 handle 1 flower
882 tc filter add dev br0 ingress protocol all pref 1 handle 1 flower \
893 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
899 bridge mdb add dev br0 port br0 grp $dmac permanent vid 10
906 bridge mdb del dev br0 port br0 grp $dmac permanent vid 10
911 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
913 tc filter del dev br0 ingress protocol all pref 1 handle 1 flower
922 ip link set dev br0 type bridge mcast_router 0
927 ip link set dev br0 type bridge mcast_router 1
960 tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 1 flower \
963 tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 2 flower \
975 bridge mdb add dev br0 port $swp2 grp $grp vid 10 \
986 bridge mdb replace dev br0 port $swp2 grp $grp vid 10 \
997 bridge mdb del dev br0 port $swp2 grp $grp vid 10
1007 tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 2 flower
1008 tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 1 flower
1029 tc filter add dev $h2 ingress protocol all pref 1 handle 1 flower \
1036 bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10
1041 bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10
1046 tc filter del dev $h2 ingress protocol all pref 1 handle 1 flower
1055 bridge link set dev $swp2 mcast_flood off
1060 bridge link set dev $swp2 mcast_flood on
1071 ip link set dev br0 type bridge mcast_query_response_interval 100
1077 ip -6 address add fe80::1/64 nodad dev br0
1078 ip link set dev br0 type bridge mcast_querier 1
1084 ip link set dev br0 type bridge mcast_querier 0
1085 ip -6 address del fe80::1/64 dev br0
1086 ip link set dev br0 type bridge mcast_query_response_interval 1000
1095 bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 \
1102 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1108 bridge mdb replace dev br0 port $swp1 grp 239.1.1.1 temp vid 10 \
1115 bridge -d mdb get dev br0 grp 239.1.1.1 vid 10 | grep -q 192.0.2.2
1118 bridge mdb get dev br0 grp 239.1.1.1 src 192.0.2.2 vid 10 &> /dev/null
1121 bridge mdb del dev br0 port $swp1 grp 239.1.1.1 vid 10
1132 bridge mdb add dev br0 port $swp1 grp ff0e::1 permanent vid 10 \
1140 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1146 bridge mdb replace dev br0 port $swp1 grp ff0e::1 temp vid 10 \
1153 bridge -d mdb get dev br0 grp ff0e::1 vid 10 | grep -q 2001:db8:1::2
1156 bridge mdb get dev br0 grp ff0e::1 src 2001:db8:1::2 vid 10 &> /dev/null
1159 bridge mdb del dev br0 port $swp1 grp ff0e::1 vid 10