blob: 41c8697511915b69e2c744e04d551de5440203d4 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001
2set int ip address GigabitEthernet2/1/0 1.2.3.4/24
3set int state GigabitEthernet2/1/0 up
4set int state tuntap-0 down
5
6
7loop create
8cre sub loop0 1 dot1q 1
9cre sub loop0 2 dot1q 2
10cre sub loop0 3 dot1q 3
11cre sub GigabitEthernet2/1/0 1 dot1q 1
12
13
14set int l2 bridge loop0.1 7
15set int l2 bridge loop0.2 7
16set int l2 bridge loop0.3 7
17set int l2 bridge GigabitEthernet2/1/0.1 7
18
19loop cre
20set int l2 bridge loop1 7 bvi
21
22set int state GigabitEthernet2/1/0.1 up
23
24trace add pg-input 6
25
26clear error
27clear run
28clear int
29
Damjan Marion3153f002022-05-14 00:14:02 +020030packet-generator new { \
31 name flood \
32 limit 1 \
33 node ethernet-input \
34 interface GigabitEthernet2/1/0 \
35 data { \
36 IP4: 0050.56b7.7c83 -> ffff.ffff.ffff vlan 1 \
37 GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast \
38 } \
Ed Warnickecb9cada2015-12-08 15:45:58 -070039}
40