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 l2 bridge GigabitEthernet2/1/0 0 |
| 11 | set int l2 bridge GigabitEthernet2/2/0.1 0 |
| 12 | |
| 13 | l2fib add 00:22:44:06:08:0a 0 GigabitEthernet2/1/0 static |
| 14 | l2fib add 00:02:04:06:08:0a 0 GigabitEthernet2/2/0.1 static |
| 15 | |
| 16 | cle er |
| 17 | cle int |
| 18 | cle run |
| 19 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 20 | packet-generator new { \ |
| 21 | name perf \ |
| 22 | limit 9111003 \ |
| 23 | node ethernet-input \ |
| 24 | interface GigabitEthernet2/2/0.1 \ |
| 25 | size 98-98 \ |
| 26 | data { hex 0x00224406080a00020406080a81000009080045006402b46b96000100096978676265000500bf436973636f20494f5320536f6674776172652c2040160011000000010101cc000400000000001a00100000000100000000ffffffff } \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 27 | } |
| 28 | |