blob: 7709ce4d584f651f3e7737dc14d6d02fc0da4ec7 [file] [log] [blame]
Dave Barach7e55d362016-05-14 18:38:48 -04001comment { local client facing interface }
Ed Warnickecb9cada2015-12-08 15:45:58 -07002comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
3
4set int ip table GigabitEthernet2/4/0 1
5set int ip address GigabitEthernet2/4/0 6.0.4.1/24
6set int state GigabitEthernet2/4/0 up
7
Dave Barach7e55d362016-05-14 18:38:48 -04008comment { tunnel to leftpeer }
Ed Warnickecb9cada2015-12-08 15:45:58 -07009set int ip address GigabitEthernet2/3/0 6.0.3.3/24
10set int state GigabitEthernet2/3/0 up
11
12mpls encap add label 30 fib 1 dest 6.0.2.1
13mpls decap add label 30 fib 1
14
15create mpls ethernet tunnel dst 00:50:56:b7:05:bf adj 6.0.2.1/24 tx-intfc GigabitEthernet2/3/0 fib-id 1