blob: 50e73efabb43e6543fe3d322159ee374d5cb0404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
loop create
loop create
loop create
loop create
set int state loop0 up
set int state loop1 up
set int state loop2 up
set int state loop3 up
set int ip address loop0 2001::1/64
set int ip address loop1 2001:1::1/64
set int ip address loop2 2001:2::1/64
set int ip address loop3 2001:3::1/64
set ip6 neighbor loop1 2001:1::2 00:00:dd:ee:cc:d1
set ip6 neighbor loop2 2001:2::2 00:00:dd:ee:cc:d2
set ip6 neighbor loop3 2001:3::2 00:00:dd:ee:cc:d3
ip route 3001::1/128 via 2001:1::2 loop1
ip route 3001::2/128 via 2001:2::2 loop2
ip route 3001::3/128 via 2001:3::2 loop3
sr tunnel name SR1 src aaaa::2:1 dst ff19::1/128 next 3001::1 clean
sr tunnel name SR2 src aaaa::2:2 dst ff19::2/128 next 3001::2 clean
sr tunnel name SR3 src aaaa::2:3 dst ff19::3/128 next 3001::3 clean
sr policy name MCAST1 tunnel SR1 tunnel SR2 tunnel SR3
sr multicast-map address ff18::1 sr-policy MCAST1
packet-generator new {
name x
limit 1
node ethernet-input
size 64-64
no-recycle
data {
IP6: 1.2.3 -> 4.5.6
ICMP: 3002::2 -> ff18::1
ICMP echo_request
incrementing 100
}
}
trace add pg-input 100
sr multicast-map del address ff18::1 sr-policy MCAST1
sr policy del name MCAST1 tunnel SR1 tunnel SR2 tunnel SR3
ip route del 3001::1/128 via 2001:1::2 loop1
ip route del 3001::2/128 via 2001:2::2 loop2
ip route del 3001::3/128 via 2001:3::2 loop3
sr tunnel del name SR1 src aaaa::2:1 dst ff19::1/128 next 3001::1 clean
sr tunnel del name SR2 src aaaa::2:2 dst ff19::2/128 next 3001::2 clean
sr tunnel del name SR3 src aaaa::2:3 dst ff19::3/128 next 3001::3 clean
|