Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | set int state TenGigabitEthernet4/0/0 up |
| 2 | set int state TenGigabitEthernet5/0/0 up |
| 3 | |
| 4 | set int ip address TenGigabitEthernet4/0/0 1.0.0.1/24 |
| 5 | set int ip address TenGigabitEthernet5/0/0 2.0.0.1/24 |
| 6 | |
| 7 | ip route table 0 1.0.0.2/32 via TenGigabitEthernet4/0/0 IP4: 00:1b:21:74:5b:04 -> 00:1b:21:79:8e:bc |
| 8 | ip route table 0 2.0.0.2/32 via TenGigabitEthernet5/0/0 IP4: 00:1b:21:79:8e:bc -> 00:1b:21:74:5b:04 |
| 9 | ip route table 1 2.0.0.2/32 via local |
| 10 | ip route table 1 1.0.0.2/32 via local |
| 11 | |
| 12 | set int ip table TenGigabitEthernet5/0/0 1 |
| 13 | set int ip table TenGigabitEthernet4/0/0 1 |
| 14 | |
| 15 | comment { trace add rtt-test-tx 100 } |
| 16 | comment { trace add ixge-input 100 } |
| 17 | comment { te rtt { 1.0.0.2 -> 2.0.0.2 count 1e4 rate 1e9 size 100 histogram-time 1e-5 } } |
| 18 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 19 | packet-generator new { \ |
| 20 | name x \ |
| 21 | limit 1 \ |
| 22 | node ip4-input \ |
| 23 | size 170-170 \ |
| 24 | data { \ |
| 25 | ICMP: 1.0.0.2 -> 2.0.0.2 \ |
| 26 | ICMP echo_request \ |
| 27 | incrementing 100 \ |
| 28 | } \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | |