Lines Matching refs:link
44 ip link set dev $swp1 up
45 ip link set dev $swp2 up
52 ip link set dev $swp2 down
53 ip link set dev $swp1 down
72 ip link set dev $swp1 addr 00:11:22:33:44:55
83 ip link set dev $swp2 addr 00:11:22:33:44:66
90 ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null
92 ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \
101 ip link set dev $swp2 addr $swp2_mac
102 ip link set dev $swp1 addr $swp1_mac
111 ip link add name vrf-test type vrf table 10
112 ip link set dev $swp1 master vrf-test
121 ip link del dev vrf-test
133 ip link add name br1 up type bridge vlan_filtering 0
134 ip link set dev $swp2 master br1
139 ip link add name d up type dummy
140 ip link set dev d addr 00:11:22:33:44:55
144 ip link set dev d master br1 &>/dev/null
146 ip link set dev d master br1 2>&1 >/dev/null \
150 ip link set dev $swp2 addr 00:11:22:33:44:55 &>/dev/null
152 ip link set dev $swp2 addr 00:11:22:33:44:55 2>&1 >/dev/null \
158 ip link del dev d
159 ip link del dev br1
174 ip link add name br1 up type bridge vlan_filtering 0
175 ip link set dev br1 addr $swp2_mac
176 ip link set dev $swp2 master br1
181 ip link add name d up type dummy
182 ip link set dev d addr 00:11:22:33:44:55
186 ip link set dev d master br1 &>/dev/null
190 ip link set dev $swp2 addr 00:11:22:33:44:55
195 ip link set dev $swp2 addr $swp2_mac
196 ip link del dev d
197 ip link del dev br1
209 ip link add name br0 type bridge vlan_filtering 1
210 ip link set dev $swp1 master br0
212 ip link add link br0 name br0.10 type vlan id 10
214 ip link del dev br0.10
217 ip link add link br0 name br0.20 type vlan id 20
219 ip link del dev br0.20
223 ip link del dev br0
234 ip link add name br0 type bridge vlan_filtering 1
235 ip link set dev $swp1 master br0
238 ip link add link br0 name br0.10 type vlan id 10
241 ip link add link br0 name br0.20 type vlan id 20
244 ip link del dev br0
261 ip link add name br0 type bridge vlan_filtering 1
262 ip link set dev $swp1 master br0
268 ip link del dev br0
288 ip link add link $swp1 name $swp1.1 type vlan id 1
293 ip link del dev $swp1.1
303 ip link add name bond1 type bond mode 802.3ad
305 ip link add name br0 type bridge vlan_filtering 1
306 ip link set dev bond1 master br0
308 ip link set dev $swp1 down
309 ip link set dev $swp1 master bond1 &> /dev/null
319 ip link del dev br0
320 ip link del dev bond1
329 ip link add name br0 type bridge vlan_filtering 1
330 ip link set dev $swp1 master br0
333 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
337 ip link add link $swp1 name $swp1.10 type vlan id 10
344 ip link del dev $swp1.10
345 ip link del dev br0
355 ip link add name br0 type bridge vlan_filtering 1
356 ip link set dev $swp1 master br0
358 ip link set dev $swp1 up
359 ip link set dev br0 up
361 ip link add link br0 name br0.10 up type vlan id 10
378 ip link set dev $swp1 nomaster
385 ip link del dev br0.10
386 ip link set dev $swp1 down
387 ip link del dev br0
398 ip link add name bond1 type bond mode 802.3ad
399 ip link set dev $swp1 down
400 ip link set dev $swp2 down
401 ip link set dev $swp1 master bond1
402 ip link set dev $swp2 master bond1
404 ip link set dev bond1 up
405 ip link add link bond1 name bond1.10 up type vlan id 10
416 ip link set dev $swp1 nomaster
424 ip link set dev $swp2 nomaster
434 ip link del dev bond1.10
435 ip link del dev bond1
444 ip link add name br10 type bridge
445 ip link add name br20 type bridge
446 ip link add name br30 type bridge
447 ip link add link $swp1 name $swp1.10 type vlan id 10
448 ip link add link $swp1 name $swp1.20 type vlan id 20
449 ip link add link $swp1 name $swp1.30 type vlan id 30
450 ip link set dev $swp1.10 master br10
451 ip link set dev $swp1.20 master br20
452 ip link set dev $swp1.30 master br30
456 ip link set dev $swp1.30 nomaster
457 ip link del dev $swp1.20
463 ip link del dev $swp1.30
464 ip link del dev br30
465 ip link del dev br20
466 ip link del dev br10
471 ip link add name bond1 type bond mode 802.3ad
472 ip link set dev $swp1 down
473 ip link set dev $swp2 down
474 ip link set dev $swp1 master bond1
475 ip link set dev $swp2 master bond1
477 ip link add link bond1 name bond1.10 type vlan id 10
478 ip link add link bond1 name bond1.20 type vlan id 20
480 ip link add name br0 type bridge vlan_filtering 1
481 ip link set dev bond1 master br0
483 ip link add name br10 type bridge
484 ip link set dev bond1.10 master br10
486 ip link add name br20 type bridge
487 ip link set dev bond1.20 master br20
498 ip link set dev $swp1 nomaster
500 ip link set dev $swp2 nomaster
507 ip link add link $swp1 name $swp1.10 type vlan id 10
511 ip link add link $swp1 name $swp1.20 type vlan id 20
517 ip link del dev $swp1.20
518 ip link del dev $swp1.10
521 ip link del dev br20
522 ip link del dev br10
523 ip link del dev br0
524 ip link del dev bond1
535 ip link del dev bond1
539 ip link del dev br20
540 ip link del dev br10
541 ip link del dev br0
549 ip link add name br0 type bridge vlan_filtering 1
550 ip link set dev $swp1 master br0
552 ip link add link br0 name br0.10 type vlan id 10
553 ip link add link br0.10 name macvlan0 \
558 ip link add link br0.10 name macvlan0 type macvlan mode private
561 ip link del dev macvlan0
563 ip link add name vrf-test type vrf table 10
564 ip link set dev br0.10 master vrf-test
566 ip link del dev vrf-test
568 ip link add name br-test type bridge
569 ip link set dev br0.10 master br-test &> /dev/null
571 ip link del dev br-test
575 ip link del dev br0
584 ip link add name br0 type bridge
585 ip link set dev $swp1 master br0
595 ip link del dev br0
647 ip link set dev $swp2 down
657 ip link set dev $swp2 up