blob: dd5c5a803f845b5d5f2e93c448a7a568d743c5f7 [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
4
5set int state GigabitEthernet2/2/0 up
6cre sub GigabitEthernet2/2/0 1 dot1q 9
7set int state GigabitEthernet2/2/0.1 up
8set int state tuntap-0 down
9
10set int acl input GigabitEthernet2/1/0
11set int acl output GigabitEthernet2/1/0
12set int acl input GigabitEthernet2/2/0.1
13set int acl output GigabitEthernet2/2/0.1
14
15set int l2 bridge GigabitEthernet2/1/0 0
16set int l2 bridge GigabitEthernet2/2/0.1 0
17
18set int l2 tag-rewrite GigabitEthernet2/1/0 push dot1q 50
19set int l2 tag-rewrite GigabitEthernet2/2/0.1 pop 1
20
21
22trace add pg-input 6
23
24clear error
25clear run
26clear int
27
28packet-generator new {
29 name new_input_if_index_mac_move
30 limit 4
Ed Warnickecb9cada2015-12-08 15:45:58 -070031 node ethernet-input
32 interface GigabitEthernet2/1/0
33 size 98-98
34 data { hex 0x00010203040500020406080a080045006402b46b96000100096978676265000500bf436973636f20494f5320536f6674776172652c2040160011000000010101cc000400000000001a00100000000100000000ffffffff }
35}
36
37packet-generator new {
38 name dmac_hit
39 limit 7
Ed Warnickecb9cada2015-12-08 15:45:58 -070040 node ethernet-input
41 interface GigabitEthernet2/2/0
42 size 98-98
43 data { hex 0x00020406080a00224406080a8100000981000011080045006402b46b96000100096978676265000500bf436973636f20494f5320536f6674776172652c2040160011000000010101cc000400000000001a00100000000100000000ffffffff }
44}