Lines Matching refs:ip
15 ip link set dev $h1 master vrf-h1
17 ip link set dev vrf-h1 up
18 ip link set dev $h1 up
20 ip address add 192.0.2.2/24 dev $h1
21 ip address add 2001:db8:1::2/64 dev $h1
23 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
29 ip route del 2001:db8:2::/64 vrf vrf-h1
30 ip route del 198.51.100.0/24 vrf vrf-h1
32 ip address del 2001:db8:1::2/64 dev $h1
33 ip address del 192.0.2.2/24 dev $h1
35 ip link set dev $h1 down
42 ip link set dev $h2 master vrf-h2
44 ip link set dev vrf-h2 up
45 ip link set dev $h2 up
47 ip address add 198.51.100.2/24 dev $h2
48 ip address add 2001:db8:2::2/64 dev $h2
50 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
51 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
56 ip route del 2001:db8:1::/64 vrf vrf-h2
57 ip route del 192.0.2.0/24 vrf vrf-h2
59 ip address del 2001:db8:2::2/64 dev $h2
60 ip address del 198.51.100.2/24 dev $h2
62 ip link set dev $h2 down
69 ip link set dev $rp11 master vrf-r1
70 ip link set dev $rp12 master vrf-r1
71 ip link set dev $rp13 master vrf-r1
73 ip link set dev vrf-r1 up
74 ip link set dev $rp11 up
75 ip link set dev $rp12 up
76 ip link set dev $rp13 up
78 ip address add 192.0.2.1/24 dev $rp11
79 ip address add 2001:db8:1::1/64 dev $rp11
81 ip address add 169.254.2.12/24 dev $rp12
82 ip address add fe80:2::12/64 dev $rp12
84 ip address add 169.254.3.13/24 dev $rp13
85 ip address add fe80:3::13/64 dev $rp13
90 ip route del 2001:db8:2::/64 vrf vrf-r1
91 ip route del 198.51.100.0/24 vrf vrf-r1
93 ip address del fe80:3::13/64 dev $rp13
94 ip address del 169.254.3.13/24 dev $rp13
96 ip address del fe80:2::12/64 dev $rp12
97 ip address del 169.254.2.12/24 dev $rp12
99 ip address del 2001:db8:1::1/64 dev $rp11
100 ip address del 192.0.2.1/24 dev $rp11
102 ip nexthop del id 103
103 ip nexthop del id 101
104 ip nexthop del id 102
105 ip nexthop del id 106
106 ip nexthop del id 104
107 ip nexthop del id 105
109 ip link set dev $rp13 down
110 ip link set dev $rp12 down
111 ip link set dev $rp11 down
119 ip link set dev $rp21 master vrf-r2
120 ip link set dev $rp22 master vrf-r2
121 ip link set dev $rp23 master vrf-r2
123 ip link set dev vrf-r2 up
124 ip link set dev $rp21 up
125 ip link set dev $rp22 up
126 ip link set dev $rp23 up
128 ip address add 198.51.100.1/24 dev $rp21
129 ip address add 2001:db8:2::1/64 dev $rp21
131 ip address add 169.254.2.22/24 dev $rp22
132 ip address add fe80:2::22/64 dev $rp22
134 ip address add 169.254.3.23/24 dev $rp23
135 ip address add fe80:3::23/64 dev $rp23
140 ip route del 2001:db8:1::/64 vrf vrf-r2
141 ip route del 192.0.2.0/24 vrf vrf-r2
143 ip address del fe80:3::23/64 dev $rp23
144 ip address del 169.254.3.23/24 dev $rp23
146 ip address del fe80:2::22/64 dev $rp22
147 ip address del 169.254.2.22/24 dev $rp22
149 ip address del 2001:db8:2::1/64 dev $rp21
150 ip address del 198.51.100.1/24 dev $rp21
152 ip nexthop del id 201
153 ip nexthop del id 202
154 ip nexthop del id 204
155 ip nexthop del id 205
157 ip link set dev $rp23 down
158 ip link set dev $rp22 down
159 ip link set dev $rp21 down
166 ip nexthop add id 101 via 169.254.2.22 dev $rp12
167 ip nexthop add id 102 via 169.254.3.23 dev $rp13
168 ip nexthop add id 103 group 101/102 type resilient buckets 512 \
170 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
172 ip nexthop add id 104 via fe80:2::22 dev $rp12
173 ip nexthop add id 105 via fe80:3::23 dev $rp13
174 ip nexthop add id 106 group 104/105 type resilient buckets 512 \
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
178 ip nexthop add id 201 via 169.254.2.12 dev $rp22
179 ip nexthop add id 202 via 169.254.3.13 dev $rp23
180 ip nexthop add id 203 group 201/202 type resilient buckets 512 \
182 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
184 ip nexthop add id 204 via fe80:2::12 dev $rp22
185 ip nexthop add id 205 via fe80:3::13 dev $rp23
186 ip nexthop add id 206 group 204/205 type resilient buckets 512 \
188 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
207 ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
254 ip nexthop replace id 103 group 101/102 type resilient idle_timer 0
255 ip nexthop replace id 106 group 104/105 type resilient idle_timer 0
258 ip nexthop replace id 103 group 101,1/102,1 type resilient
260 ip nexthop replace id 103 group 101,2/102,1 type resilient
262 ip nexthop replace id 103 group 101,11/102,45 type resilient
265 ip nexthop replace id 103 group 101,1/102,1 type resilient
268 ip nexthop replace id 106 group 104,1/105,1 type resilient
270 ip nexthop replace id 106 group 104,2/105,1 type resilient
272 ip nexthop replace id 106 group 104,11/105,45 type resilient
275 ip nexthop replace id 106 group 104,1/105,1 type resilient
280 ip nexthop replace id 103 group 101/102 type resilient idle_timer 120
281 ip nexthop replace id 106 group 104/105 type resilient idle_timer 120
284 ip nexthop replace id 103 group 101,1/102,1 type resilient
286 ip nexthop replace id 103 group 101,2/102,1 type resilient
288 ip nexthop replace id 103 group 101,11/102,45 type resilient
291 ip nexthop replace id 103 group 101,1/102,1 type resilient
294 ip nexthop replace id 106 group 104,1/105,1 type resilient
296 ip nexthop replace id 106 group 104,2/105,1 type resilient
298 ip nexthop replace id 106 group 104,11/105,45 type resilient
301 ip nexthop replace id 106 group 104,1/105,1 type resilient
306 ip nexthop replace id 103 group 101/102 type resilient idle_timer 5
307 ip nexthop replace id 106 group 104/105 type resilient idle_timer 5
311 ip nexthop replace id 103 group 101,1/102,1 type resilient
314 ip nexthop replace id 103 group 101,2/102,1 type resilient
317 ip nexthop replace id 103 group 101,11/102,45 type resilient
320 ip nexthop replace id 103 group 101,1/102,1 type resilient
324 ip nexthop replace id 106 group 104,1/105,1 type resilient
327 ip nexthop replace id 106 group 104,2/105,1 type resilient
330 ip nexthop replace id 106 group 104,11/105,45 type resilient
333 ip nexthop replace id 106 group 104,1/105,1 type resilient
386 ip nexthop ls >/dev/null 2>&1