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 | set int state tuntap-0 down |
| 5 | |
| 6 | |
| 7 | loop create |
| 8 | cre sub loop0 1 dot1q 1 |
| 9 | cre sub loop0 2 dot1q 2 |
| 10 | cre sub loop0 3 dot1q 3 |
| 11 | cre sub GigabitEthernet2/1/0 1 dot1q 1 |
| 12 | |
| 13 | |
| 14 | set int l2 bridge loop0.1 7 |
| 15 | set int l2 bridge loop0.2 7 |
| 16 | set int l2 bridge loop0.3 7 |
| 17 | set int l2 bridge GigabitEthernet2/1/0.1 7 |
| 18 | |
| 19 | loop cre |
| 20 | set int l2 bridge loop1 7 bvi |
| 21 | |
| 22 | set int state GigabitEthernet2/1/0.1 up |
| 23 | |
| 24 | trace add pg-input 6 |
| 25 | |
| 26 | clear error |
| 27 | clear run |
| 28 | clear int |
| 29 | |
| 30 | packet-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 | |