Lines Matching full:ip
56 ip link set dev $h1 master vrf-h1
58 ip link set dev vrf-h1 up
59 ip link set dev $h1 up
61 ip address add 192.0.2.2/24 dev $h1
62 ip address add 2001:db8:1::2/64 dev $h1
64 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
65 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
70 ip route del 2001:db8:2::/64 vrf vrf-h1
71 ip route del 198.51.100.0/24 vrf vrf-h1
73 ip address del 2001:db8:1::2/64 dev $h1
74 ip address del 192.0.2.2/24 dev $h1
76 ip link set dev $h1 down
83 ip link set dev $h2 master vrf-h2
85 ip link set dev vrf-h2 up
86 ip link set dev $h2 up
88 ip address add 198.51.100.2/24 dev $h2
89 ip address add 2001:db8:2::2/64 dev $h2
91 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
92 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
97 ip route del 2001:db8:1::/64 vrf vrf-h2
98 ip route del 192.0.2.0/24 vrf vrf-h2
100 ip address del 2001:db8:2::2/64 dev $h2
101 ip address del 198.51.100.2/24 dev $h2
103 ip link set dev $h2 down
110 ip link set dev $rp11 master vrf-r1
111 ip link set dev $rp12 master vrf-r1
112 ip link set dev $rp13 master vrf-r1
114 ip link set dev vrf-r1 up
115 ip link set dev $rp11 up
116 ip link set dev $rp12 up
117 ip link set dev $rp13 up
119 ip address add 192.0.2.1/24 dev $rp11
120 ip address add 2001:db8:1::1/64 dev $rp11
122 ip address add 169.254.2.12/24 dev $rp12
123 ip address add fe80:2::12/64 dev $rp12
125 ip address add 169.254.3.13/24 dev $rp13
126 ip address add fe80:3::13/64 dev $rp13
131 ip route del 2001:db8:2::/64 vrf vrf-r1
132 ip route del 198.51.100.0/24 vrf vrf-r1
134 ip address del fe80:3::13/64 dev $rp13
135 ip address del 169.254.3.13/24 dev $rp13
137 ip address del fe80:2::12/64 dev $rp12
138 ip address del 169.254.2.12/24 dev $rp12
140 ip address del 2001:db8:1::1/64 dev $rp11
141 ip address del 192.0.2.1/24 dev $rp11
143 ip nexthop del id 103
144 ip nexthop del id 101
145 ip nexthop del id 102
146 ip nexthop del id 106
147 ip nexthop del id 104
148 ip nexthop del id 105
150 ip link set dev $rp13 down
151 ip link set dev $rp12 down
152 ip link set dev $rp11 down
160 ip link set dev $rp21 master vrf-r2
161 ip link set dev $rp22 master vrf-r2
162 ip link set dev $rp23 master vrf-r2
164 ip link set dev vrf-r2 up
165 ip link set dev $rp21 up
166 ip link set dev $rp22 up
167 ip link set dev $rp23 up
169 ip address add 198.51.100.1/24 dev $rp21
170 ip address add 2001:db8:2::1/64 dev $rp21
172 ip address add 169.254.2.22/24 dev $rp22
173 ip address add fe80:2::22/64 dev $rp22
175 ip address add 169.254.3.23/24 dev $rp23
176 ip address add fe80:3::23/64 dev $rp23
181 ip route del 2001:db8:1::/64 vrf vrf-r2
182 ip route del 192.0.2.0/24 vrf vrf-r2
184 ip address del fe80:3::23/64 dev $rp23
185 ip address del 169.254.3.23/24 dev $rp23
187 ip address del fe80:2::22/64 dev $rp22
188 ip address del 169.254.2.22/24 dev $rp22
190 ip address del 2001:db8:2::1/64 dev $rp21
191 ip address del 198.51.100.1/24 dev $rp21
193 ip nexthop del id 201
194 ip nexthop del id 202
195 ip nexthop del id 204
196 ip nexthop del id 205
198 ip link set dev $rp23 down
199 ip link set dev $rp22 down
200 ip link set dev $rp21 down
207 ip nexthop add id 101 via 169.254.2.22 dev $rp12
208 ip nexthop add id 102 via 169.254.3.23 dev $rp13
209 ip nexthop add id 103 group 101/102
210 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
212 ip nexthop add id 104 via fe80:2::22 dev $rp12
213 ip nexthop add id 105 via fe80:3::23 dev $rp13
214 ip nexthop add id 106 group 104/105
215 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
217 ip nexthop add id 201 via 169.254.2.12 dev $rp22
218 ip nexthop add id 202 via 169.254.3.13 dev $rp23
219 ip nexthop add id 203 group 201/202
220 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
222 ip nexthop add id 204 via fe80:2::12 dev $rp22
223 ip nexthop add id 205 via fe80:3::13 dev $rp23
224 ip nexthop add id 206 group 204/205
225 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
242 ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13
247 ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
259 ip nexthop replace id 103 group 101/102
278 ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13
294 ip nexthop replace id 106 group 104/105
307 ip nexthop replace id 101 via fe80:2::22 dev $rp12
308 ip nexthop replace id 102 via fe80:3::23 dev $rp13
314 ip nexthop replace id 102 via 169.254.3.23 dev $rp13
315 ip nexthop replace id 101 via 169.254.2.22 dev $rp12
344 ip nexthop add id 1001 blackhole
345 ip nexthop add id 1002 group 1001
347 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001
351 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002
355 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103
361 ip nexthop del id 1002
362 ip nexthop del id 1001
369 ip -6 nexthop add id 1001 blackhole
370 ip nexthop add id 1002 group 1001
372 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001
376 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002
380 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 106
386 ip nexthop del id 1002
387 ip -6 nexthop del id 1001
450 ip nexthop ls >/dev/null 2>&1