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