blob: 013462cef64090494e5aeb36a4e2b5f38d5e451f [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
30packet-generator new {
31 name flood
32 limit 1
33 no-recycle
34 node ethernet-input
35 interface GigabitEthernet2/1/0
36 data {
37 IP4: 0050.56b7.7c83 -> ffff.ffff.ffff vlan 1
38 GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast
39 }
40
41}
42