Lines Matching refs:ip
49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
57 ip link set dev $swp2 down
58 ip link set dev $swp1 down
67 ip link add name vrf-test type vrf table 10
68 ip link set dev $swp1 master vrf-test
70 ip -4 address add 192.0.2.1/24 dev vrf-test
72 ip -6 address add 2001:db8:1::1/64 dev vrf-test
77 ip link del dev vrf-test
87 ip addr add dev $swp1 192.0.2.1/28
91 ip link add name br1 up type bridge vlan_filtering 0
92 ip link set dev br1 addr $swp2_mac
93 ip link set dev $swp2 master br1
94 ip addr add dev br1 192.0.2.17/28
98 ip link add name d up type dummy
99 ip link set dev d addr 00:11:22:33:44:55
103 ip link set dev d master br1 &>/dev/null
107 ip link set dev $swp2 addr 00:11:22:33:44:55
112 ip link set dev $swp2 addr $swp2_mac
113 ip link del dev d
114 ip link del dev br1
115 ip addr del dev $swp1 192.0.2.1/28
126 ip link add name br0 type bridge vlan_filtering 1
127 ip link set dev $swp1 master br0
129 ip link add link br0 name br0.10 type vlan id 10
130 ip -6 address add 2001:db8:1::1/64 dev br0.10
131 ip link del dev br0.10
134 ip link add link br0 name br0.20 type vlan id 20
135 ip -6 address add 2001:db8:1::1/64 dev br0.20
136 ip link del dev br0.20
140 ip link del dev br0
151 ip link add name br0 type bridge vlan_filtering 1
152 ip link set dev $swp1 master br0
153 ip -6 address add 2001:db8::1/64 dev br0
155 ip link add link br0 name br0.10 type vlan id 10
156 ip -6 address add 2001:db8:1::1/64 dev br0.10
158 ip link add link br0 name br0.20 type vlan id 20
159 ip -6 address add 2001:db8:2::1/64 dev br0.20
161 ip link del dev br0
164 ip -6 address add 2001:db8:1::1/64 dev $swp1
165 ip -6 address del 2001:db8:1::1/64 dev $swp1
178 ip link add name br0 type bridge vlan_filtering 1
179 ip link set dev $swp1 master br0
185 ip link del dev br0
205 ip link add link $swp1 name $swp1.1 type vlan id 1
210 ip link del dev $swp1.1
219 ip link add name br0 type bridge vlan_filtering 1
220 ip link set dev $swp1 master br0
223 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
227 ip link add link $swp1 name $swp1.10 type vlan id 10
234 ip link del dev $swp1.10
235 ip link del dev br0
245 ip link add name br0 type bridge vlan_filtering 1
246 ip link set dev $swp1 master br0
248 ip link set dev $swp1 up
249 ip link set dev br0 up
251 ip link add link br0 name br0.10 up type vlan id 10
252 ip -6 address add 2001:db8:1::1/64 dev br0.10
255 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
260 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
265 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
268 ip link set dev $swp1 nomaster
270 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
275 ip link del dev br0.10
276 ip link set dev $swp1 down
277 ip link del dev br0
288 ip link add name bond1 type bond mode 802.3ad
289 ip link set dev $swp1 down
290 ip link set dev $swp2 down
291 ip link set dev $swp1 master bond1
292 ip link set dev $swp2 master bond1
294 ip link set dev bond1 up
295 ip link add link bond1 name bond1.10 up type vlan id 10
296 ip -6 address add 2001:db8:1::1/64 dev bond1
297 ip -6 address add 2001:db8:2::1/64 dev bond1.10
300 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
303 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
306 ip link set dev $swp1 nomaster
308 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
311 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
314 ip link set dev $swp2 nomaster
316 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
319 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
324 ip link del dev bond1.10
325 ip link del dev bond1
336 ip link add name bond1 type bond mode 802.3ad
337 ip link set dev $swp1 down
338 ip link set dev $swp2 down
339 ip link set dev $swp1 master bond1
340 ip link set dev $swp2 master bond1
342 ip link set dev bond1 up
343 ip -6 address add 2001:db8:1::1/64 dev bond1
346 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
349 ip link set dev $swp1 nomaster
351 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
354 ip link set dev $swp1 master bond1
355 ip link set dev $swp2 nomaster
357 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
360 ip link set dev $swp1 nomaster
362 ip -6 route get fibmatch 2001:db8:1::2 dev bond1
367 ip link del dev bond1
376 ip link add name br10 type bridge
377 ip link add name br20 type bridge
378 ip link add name br30 type bridge
379 ip link add link $swp1 name $swp1.10 type vlan id 10
380 ip link add link $swp1 name $swp1.20 type vlan id 20
381 ip link add link $swp1 name $swp1.30 type vlan id 30
382 ip link set dev $swp1.10 master br10
383 ip link set dev $swp1.20 master br20
384 ip link set dev $swp1.30 master br30
388 ip link set dev $swp1.30 nomaster
389 ip link del dev $swp1.20
395 ip link del dev $swp1.30
396 ip link del dev br30
397 ip link del dev br20
398 ip link del dev br10
403 ip link add name bond1 type bond mode 802.3ad
404 ip link set dev $swp1 down
405 ip link set dev $swp2 down
406 ip link set dev $swp1 master bond1
407 ip link set dev $swp2 master bond1
409 ip link add link bond1 name bond1.10 type vlan id 10
410 ip link add link bond1 name bond1.20 type vlan id 20
412 ip link add name br0 type bridge vlan_filtering 1
413 ip link set dev bond1 master br0
415 ip link add name br10 type bridge
416 ip link set dev bond1.10 master br10
418 ip link add name br20 type bridge
419 ip link set dev bond1.20 master br20
430 ip link set dev $swp1 nomaster
432 ip link set dev $swp2 nomaster
436 ip -6 address add 2001:db8:1::1/64 dev $swp1
439 ip link add link $swp1 name $swp1.10 type vlan id 10
440 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
443 ip link add link $swp1 name $swp1.20 type vlan id 20
444 ip -6 address add 2001:db8:20::1/64 dev $swp1.20
449 ip link del dev $swp1.20
450 ip link del dev $swp1.10
451 ip address flush dev $swp1
453 ip link del dev br20
454 ip link del dev br10
455 ip link del dev br0
456 ip link del dev bond1
467 ip link del dev bond1
471 ip link del dev br20
472 ip link del dev br10
473 ip link del dev br0
481 ip link add name br0 type bridge vlan_filtering 1
482 ip link set dev $swp1 master br0
484 ip link add link br0 name br0.10 type vlan id 10
486 ip -6 address add 2001:db8:1::1/64 dev br0.10
487 ip link add link br0.10 name macvlan0 type macvlan mode private
490 ip link del dev macvlan0
492 ip link add name vrf-test type vrf table 10
493 ip link set dev br0.10 master vrf-test
495 ip link del dev vrf-test
497 ip link add name br-test type bridge
498 ip link set dev br0.10 master br-test &> /dev/null
500 ip link del dev br-test
504 ip link del dev br0
513 ip link add name br0 type bridge
514 ip link set dev $swp1 master br0
524 ip link del dev br0
532 ip -4 address add 192.0.2.1/24 dev $swp1
533 ip -6 address add 2001:db8:1::1/64 dev $swp1
535 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
536 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
540 ip -4 neigh show dev $swp1 192.0.2.2
543 ip -6 neigh show dev $swp1 2001:db8:1::2
548 ip -6 neigh del 2001:db8:1::2 dev $swp1
549 ip -4 neigh del 192.0.2.2 dev $swp1
550 ip -6 address del 2001:db8:1::1/64 dev $swp1
551 ip -4 address del 192.0.2.1/24 dev $swp1
564 ip -4 route add 198.51.100.0/24 vrf v$swp1 \
566 ip -6 route add 2001:db8:2::/64 vrf v$swp1 \
570 ip -4 route show 198.51.100.0/24 vrf v$swp1
573 ip -6 route show 2001:db8:2::/64 vrf v$swp1
576 ip link set dev $swp2 down
580 ip -4 route show 198.51.100.0/24 vrf v$swp1
583 ip -6 route show 2001:db8:2::/64 vrf v$swp1
586 ip link set dev $swp2 up
590 ip -4 route show 198.51.100.0/24 vrf v$swp1
593 ip -6 route show 2001:db8:2::/64 vrf v$swp1
598 ip -6 route del 2001:db8:2::/64 vrf v$swp1
599 ip -4 route del 198.51.100.0/24 vrf v$swp1
615 ip nexthop add id 1 via 192.0.2.3 fdb
618 ip nexthop add id 1 encap mpls 200/300 via 192.0.2.3 dev $swp1
621 ip nexthop add id 1 dev $swp1
622 ip nexthop add id 2 dev $swp1
623 ip nexthop add id 3 via 192.0.2.3 dev $swp1
624 ip nexthop add id 10 group 1/2
627 ip nexthop add id 10 group 3 type resilient buckets 7
630 ip nexthop add id 10 group 3 type resilient buckets 129
633 ip nexthop add id 10 group 1/2 type resilient buckets 32
636 ip nexthop add id 10 group 3 type resilient buckets 32
638 ip nexthop replace id 3 dev $swp1
643 ip nexthop del id 10
644 ip nexthop del id 3
645 ip nexthop del id 2
646 ip nexthop del id 1
661 ip nexthop add id 1 via 192.0.2.2 dev $swp1
662 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
666 ip nexthop show id 1
669 ip neigh replace 192.0.2.2 nud failed dev $swp1
671 ip nexthop show id 1
674 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
677 ip nexthop show id 1
680 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
682 ip nexthop show id 1
685 ip nexthop replace id 1 via 192.0.2.2 dev $swp1
687 ip nexthop show id 1
692 ip neigh del 192.0.2.2 dev $swp1
693 ip nexthop del id 1
708 ip nexthop add id 1 via 192.0.2.2 dev $swp1
709 ip nexthop add id 2 via 2001:db8:1::2 dev $swp1
710 ip nexthop add id 10 group 1/2
711 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
713 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
715 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
719 ip nexthop show id 1
722 ip nexthop show id 2
725 ip nexthop show id 10
729 ip neigh replace 192.0.2.2 nud failed dev $swp1
731 ip nexthop show id 10
735 ip neigh replace 2001:db8:1::2 nud failed dev $swp1
737 ip nexthop show id 10
741 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
743 ip nexthop show id 10
748 ip neigh del 2001:db8:1::2 dev $swp1
749 ip neigh del 192.0.2.3 dev $swp1
750 ip neigh del 192.0.2.2 dev $swp1
751 ip nexthop del id 10
752 ip nexthop del id 2
753 ip nexthop del id 1
768 ip nexthop add id 1 via 192.0.2.2 dev $swp1
769 ip nexthop add id 2 via 2001:db8:1::2 dev $swp1
770 ip nexthop add id 10 group 1/2 type resilient buckets 32 idle_timer 0
771 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
773 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
775 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
779 ip nexthop bucket show nhid 1
782 ip nexthop bucket show nhid 2
786 ip neigh replace 192.0.2.2 nud failed dev $swp1
788 ip nexthop bucket show nhid 1
792 ip neigh replace 2001:db8:1::2 nud failed dev $swp1
794 ip nexthop bucket show nhid 2
798 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
800 ip nexthop bucket show nhid 1
804 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
807 ip nexthop bucket show nhid 2
812 ip neigh del 2001:db8:1::2 dev $swp1
813 ip neigh del 192.0.2.3 dev $swp1
814 ip neigh del 192.0.2.2 dev $swp1
815 ip nexthop del id 10
816 ip nexthop del id 2
817 ip nexthop del id 1
828 ip nexthop add id 1 blackhole
830 ip nexthop show id 1
833 ip nexthop add id 10 group 1
835 ip nexthop show id 10
840 ip nexthop del id 10
841 ip nexthop del id 1
853 ip nexthop add id 1 via 192.0.2.2 dev $swp1
854 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
856 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
859 ip route replace 198.51.100.0/24 nhid 1
861 ip route show 198.51.100.0/24
864 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
866 ip route show 198.51.100.0/24
869 ip nexthop replace id 1 via 192.0.2.4 dev $swp1
871 ip route show 198.51.100.0/24
874 ip nexthop replace id 1 via 192.0.2.2 dev $swp1
876 ip route show 198.51.100.0/24
881 ip route del 198.51.100.0/24
882 ip neigh del 192.0.2.3 dev $swp1
883 ip neigh del 192.0.2.2 dev $swp1
884 ip nexthop del id 1
894 ip link add name br1 up type bridge vlan_filtering 0
896 ip link add link $swp1 name $swp1.10 type vlan id 10
897 ip link set dev $swp1.10 master br1
902 ip link set dev $swp1.10 nomaster
903 ip link set dev $swp1 master br1
908 ip link del dev $swp1.10
911 ip link add link $swp1 name $swp1.10 type vlan id 10
916 ip link del dev $swp1.10 &> /dev/null
917 ip link del dev br1