Lines Matching refs:swp1

46 	swp1=${NETIFS[p1]}
49 ip link set dev $swp1 up
58 ip link set dev $swp1 down
68 ip link set dev $swp1 master vrf-test
87 ip addr add dev $swp1 192.0.2.1/28
115 ip addr del dev $swp1 192.0.2.1/28
127 ip link set dev $swp1 master br0
152 ip link set dev $swp1 master 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
179 ip link set dev $swp1 master br0
181 bridge vlan add vid 10 dev $swp1 pvid untagged
182 bridge vlan add vid 10 dev $swp1 untagged
183 bridge vlan add vid 10 dev $swp1 pvid
184 bridge vlan add vid 10 dev $swp1
205 ip link add link $swp1 name $swp1.1 type vlan id 1
210 ip link del dev $swp1.1
225 ip link set dev $swp1 down
226 ip link set dev $swp1 master bond1 &> /dev/null
231 ip -6 address add 2001:db8:1::1/64 dev $swp1
232 ip -6 address del 2001:db8:1::1/64 dev $swp1
247 ip link set dev $swp1 master br0
248 bridge vlan add vid 10 dev $swp1
250 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
253 bridge vlan del vid 10 dev $swp1
254 ip link add link $swp1 name $swp1.10 type vlan id 10
256 bridge vlan add vid 10 dev $swp1 &> /dev/null
261 ip link del dev $swp1.10
273 ip link set dev $swp1 master br0
275 ip link set dev $swp1 up
285 bridge vlan add vid 10 dev $swp1
290 bridge vlan del vid 10 dev $swp1
295 ip link set dev $swp1 nomaster
303 ip link set dev $swp1 down
316 ip link set dev $swp1 down
318 ip link set dev $swp1 master bond1
333 ip link set dev $swp1 nomaster
364 ip link set dev $swp1 down
366 ip link set dev $swp1 master bond1
376 ip link set dev $swp1 nomaster
381 ip link set dev $swp1 master bond1
387 ip link set dev $swp1 nomaster
406 ip link add link $swp1 name $swp1.10 type vlan id 10
407 ip link add link $swp1 name $swp1.20 type vlan id 20
408 ip link add link $swp1 name $swp1.30 type vlan id 30
409 ip link set dev $swp1.10 master br10
410 ip link set dev $swp1.20 master br20
411 ip link set dev $swp1.30 master br30
415 ip link set dev $swp1.30 nomaster
416 ip link del dev $swp1.20
418 vconfig rem $swp1.10 &> /dev/null
422 ip link del dev $swp1.30
431 ip link set dev $swp1 down
433 ip link set dev $swp1 master bond1
457 ip link set dev $swp1 nomaster
458 check_err $? "lag slave $swp1 was not unlinked from master"
463 ip -6 address add 2001:db8:1::1/64 dev $swp1
464 check_err $? "failed to configure ip address on $swp1"
466 ip link add link $swp1 name $swp1.10 type vlan id 10
467 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
468 check_err $? "failed to configure ip address on $swp1.10"
470 ip link add link $swp1 name $swp1.20 type vlan id 20
471 ip -6 address add 2001:db8:20::1/64 dev $swp1.20
472 check_err $? "failed to configure ip address on $swp1.20"
476 ip link del dev $swp1.20
477 ip link del dev $swp1.10
478 ip address flush dev $swp1
509 ip link set dev $swp1 master br0
544 ip link set dev $swp1 master br0
546 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn
549 bridge fdb show brport $swp1 de:ad:be:ef:13:37
562 ip -4 address add 192.0.2.1/24 dev $swp1
563 ip -6 address add 2001:db8:1::1/64 dev $swp1
565 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
567 dev $swp1
570 ip -4 neigh show dev $swp1 192.0.2.2
573 ip -6 neigh show dev $swp1 2001:db8:1::2
578 ip -6 neigh del 2001:db8:1::2 dev $swp1
579 ip -4 neigh del 192.0.2.2 dev $swp1
580 ip -6 address del 2001:db8:1::1/64 dev $swp1
581 ip -4 address del 192.0.2.1/24 dev $swp1
590 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
594 ip -4 route add 198.51.100.0/24 vrf v$swp1 \
595 nexthop via 192.0.2.2 dev $swp1
596 ip -6 route add 2001:db8:2::/64 vrf v$swp1 \
597 nexthop via 2001:db8:1::2 dev $swp1
600 ip -4 route show 198.51.100.0/24 vrf v$swp1
603 ip -6 route show 2001:db8:2::/64 vrf v$swp1
610 ip -4 route show 198.51.100.0/24 vrf v$swp1
613 ip -6 route show 2001:db8:2::/64 vrf v$swp1
620 ip -4 route show 198.51.100.0/24 vrf v$swp1
623 ip -6 route show 2001:db8:2::/64 vrf v$swp1
628 ip -6 route del 2001:db8:2::/64 vrf v$swp1
629 ip -4 route del 198.51.100.0/24 vrf v$swp1
632 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64
641 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
648 ip nexthop add id 1 encap mpls 200/300 via 192.0.2.3 dev $swp1
651 ip nexthop add id 1 dev $swp1
652 ip nexthop add id 2 dev $swp1
653 ip nexthop add id 3 via 192.0.2.3 dev $swp1
668 ip nexthop replace id 3 dev $swp1
679 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64
687 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
691 ip nexthop add id 1 via 192.0.2.2 dev $swp1
693 dev $swp1
699 ip neigh replace 192.0.2.2 nud failed dev $swp1
705 dev $swp1
710 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
715 ip nexthop replace id 1 via 192.0.2.2 dev $swp1
722 ip neigh del 192.0.2.2 dev $swp1
726 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64
734 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
738 ip nexthop add id 1 via 192.0.2.2 dev $swp1
739 ip nexthop add id 2 via 2001:db8:1::2 dev $swp1
742 dev $swp1
744 dev $swp1
746 dev $swp1
759 ip neigh replace 192.0.2.2 nud failed dev $swp1
765 ip neigh replace 2001:db8:1::2 nud failed dev $swp1
771 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
778 ip neigh del 2001:db8:1::2 dev $swp1
779 ip neigh del 192.0.2.3 dev $swp1
780 ip neigh del 192.0.2.2 dev $swp1
786 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64
794 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
798 ip nexthop add id 1 via 192.0.2.2 dev $swp1
799 ip nexthop add id 2 via 2001:db8:1::2 dev $swp1
802 dev $swp1
804 dev $swp1
806 dev $swp1
816 ip neigh replace 192.0.2.2 nud failed dev $swp1
822 ip neigh replace 2001:db8:1::2 nud failed dev $swp1
828 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
835 dev $swp1
842 ip neigh del 2001:db8:1::2 dev $swp1
843 ip neigh del 192.0.2.3 dev $swp1
844 ip neigh del 192.0.2.2 dev $swp1
850 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64
879 simple_if_init $swp1 192.0.2.1/24 2001:db8:1::1/64
883 ip nexthop add id 1 via 192.0.2.2 dev $swp1
885 dev $swp1
887 dev $swp1
894 ip nexthop replace id 1 via 192.0.2.3 dev $swp1
899 ip nexthop replace id 1 via 192.0.2.4 dev $swp1
904 ip nexthop replace id 1 via 192.0.2.2 dev $swp1
912 ip neigh del 192.0.2.3 dev $swp1
913 ip neigh del 192.0.2.2 dev $swp1
917 simple_if_fini $swp1 192.0.2.1/24 2001:db8:1::1/64