Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | comment { vpe_phase2 configuration } |
| 2 | |
| 3 | comment { local client facing interface on vlan 100 } |
| 4 | comment { configure lc2 eth1 at e.g. 6.0.2.2/24 } |
| 5 | |
| 6 | set int ip address GigabitEthernet2/2/0 6.0.2.1/24 |
| 7 | set int state GigabitEthernet2/2/0 up |
| 8 | |
Dave Barach | 7e55d36 | 2016-05-14 18:38:48 -0400 | [diff] [blame^] | 9 | comment { tunnel to rightpeer on vlan 101 } |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 10 | set int ip address GigabitEthernet2/3/0 6.0.3.1/24 |
| 11 | set int state GigabitEthernet2/3/0 up |
| 12 | |
| 13 | nsh gre tunnel src 6.0.3.1 dst 6.0.3.3 c1 1 c2 2 c3 3 c4 4 spi 1133 si 0 next-ip4 |
| 14 | set int ip address nsh_gre_tunnel0 6.0.4.1/24 |
| 15 | set int state nsh_gre_tunnel0 up |
| 16 | |
| 17 | nsh gre tunnel src 6.0.3.3 dst 6.0.3.1 c1 1 c2 2 c3 3 c4 4 spi 3311 si 0 next-ip4 |
| 18 | set int stat nsh_gre_tunnel1 up |