lcp lcp-sync on
lcp lcp-auto-subint off

comment { Create a loopback interface }
create loopback interface instance 0
lcp create loop0 host-if loop0
set interface state loop0 up

comment { Create Linux Control Plane interfaces }
# Create a bond interface in LACP mode
create bond mode lacp id 1 hw-addr 12:e8:79:9e:d6:94 load-balance l34

# Add physical interfaces to the bond
bond add BondEthernet1 FiftySixGigabitEthernet87/0/0
bond add BondEthernet1 FiftySixGigabitEthernet87/0/1

# Set MTU
set interface mtu 9000 BondEthernet1
lcp create BondEthernet1 host-if b1
set interface state BondEthernet1 up
set interface state FiftySixGigabitEthernet87/0/0 up
set interface state FiftySixGigabitEthernet87/0/1 up

create sub-interfaces BondEthernet1 10
lcp create BondEthernet1.10 host-if pdx0
set interface mtu packet 1500 BondEthernet1.10
set interface ip address BondEthernet1.10 aa.aa.aa.aa/24
set interface ip address BondEthernet1.10 bbbb:bbbb:bbbb:bbbb::bbbb/48
set interface state BondEthernet1.10 up

create sub-interfaces BondEthernet1 64
lcp create BondEthernet1.64 host-if up0
set interface mtu packet 1500 BondEthernet1.64
set interface ip address BondEthernet1.64 cc.cc.cc.cc/24
set interface ip address BondEthernet1.64 cccc:cccc:cccc:cccc::cccc/48
ip6 nd BondEthernet1.64 ra-cease
ip6 nd BondEthernet1.64 ra-suppress
ip6 nd BondEthernet1.64 no-send-solicitation
ip6 nd address autoconfig BondEthernet1.64 disable
set interface state BondEthernet1.64 up

## Upstream 2
create sub-interfaces BondEthernet1 500
lcp create BondEthernet1.500 host-if up1
set interface mtu packet 1500 BondEthernet1.500
set interface ip address BondEthernet1.500 dd.dd.dd.dd/27
set interface ip address BondEthernet1.500 eeee:eeee:eeee:eeee::eeee/48
set interface state BondEthernet1.500 up

create sub-interfaces BondEthernet1 521
lcp create BondEthernet1.521 host-if publan0
set interface mtu packet 1500 BondEthernet1.521
set interface ip address BondEthernet1.521 ff.ff.ff.ff/26
set interface ip address BondEthernet1.521 gggg:gggg:gggg:gggg::gggg/64
set interface state BondEthernet1.521 up

create sub-interfaces BondEthernet1 522
lcp create BondEthernet1.522 host-if privlan0
set interface mtu packet 1500 BondEthernet1.522
set interface ip address BondEthernet1.521 hh.hh.hh.hh/26
set interface state BondEthernet1.522 up

create sub-interfaces BondEthernet1 523
lcp create BondEthernet1.523 host-if cluslan0
set interface mtu packet 1500 BondEthernet1.523
set interface ip address BondEthernet1.523 iiii:iiii:iiii:iiii::iiii/64
set interface state BondEthernet1.523 up
