chassis {
    aggregated-devices {
        ethernet {
            device-count 2;
        }
    }
}
interfaces {
    et-0/0/48 {
        description "to agg1 et-0/0/49";
        ether-options {
            802.3ad ae1;
        }
    }
    et-0/0/49 {
        description "to agg2 et-0/0/49";
        ether-options {
            802.3ad ae1;
        }
    }
    et-0/0/52 {
        description "to core1 et-0/0/52";
        hold-time up 100 down 3000;
        ether-options {
            802.3ad ae0;
        }
    }
    et-0/0/53 {
        description "to core1 et-0/0/53";
        hold-time up 100 down 3000;
        ether-options {
            802.3ad ae0;
        }
    }
    ae0 {
        description “core1-core2”;
        aggregated-ether-options {
            minimum-links 1;
            link-speed 40g;
        }
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    ae1 {
        description “to agg mcae1”;
        aggregated-ether-options {
            minimum-links 1;
            link-speed 40g;
            lacp {
                active;
                system-id 00:00:00:00:00:01;
                admin-key 1;
            }
            mc-ae {
                mc-ae-id 1;
                chassis-id 1;
                mode active-active;
                status-control standby;
                init-delay-time 240;
            }
        }
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ vlan100 vlan200 ];
                }
            }
        }
    }
    irb {
        arp-l2-validate;
        unit 11 {
            description iccp-com;
            family inet {
                address 192.168.250.2/24 {
                    arp 192.168.250.1 l2-interface ae0.0 mac <core1 MAC>;
                }
            }
        }
        unit 100 {
            description vlan100;
            family inet {
                address 10.0.100.3/24 {
                    arp 10.0.100.2 l2-interface ae0.0 mac <core1 MAC>;
                    vrrp-group 1 {
                        virtual-address 10.0.100.1;
                        priority 100;
                        accept-data;
                        authentication-type md5;
                        authentication-key "xxx"; ## SECRET-DATA
                    }
                }
            }
        }
        unit 200 {
            description vlan200;
            family inet {
                address 10.0.200.3/24 {
                    arp 10.0.200.2 l2-interface ae0.0 mac <core1 MAC>;
                    vrrp-group 1 {
                        virtual-address 10.0.200.1;
                        priority 100;
                        accept-data;
                        authentication-type md5;
                        authentication-key "xxx"; ## SECRET-DATA
                    }
                }
            }
        }

    }
}
multi-chassis {
    multi-chassis-protection 192.168.250.1 {
        interface ae0;
    }
}
protocols {
    iccp {
        local-ip-addr 192.168.250.2;
        peer 192.168.250.1 {
            session-establishment-hold-time 50;
            backup-liveness-detection {
                backup-peer-ip <core1 mgmt ip>;
            }
            liveness-detection {
                minimum-interval 1000;
            }
        }
    }
}
switch-options {
    service-id 1;
}
vlans {
    vlan11 {
        description iccp-com;
        vlan-id 11;
        l3-interface irb.11;
    }
    vlan100 {
        description vlan100;
        vlan-id 100;
        l3-interface irb.100;
    }
    vlan200 {
        description vlan200;
        vlan-id 200;
        l3-interface irb.200;
    }
}