chassis {
    aggregated-devices {
        ethernet {
            device-count 4;
        }
    }
}
interfaces {
    xe-0/0/0 {
        description "to edge xe-0/2/1";
        ether-options {
            802.3ad ae2;
        }
    }
    et-0/0/48 {
        description "to core1 et-2/1/2";
        ether-options {
            802.3ad ae3;
        }
    }
    et-0/0/49 {
        description "to core2 et-2/1/2";
        ether-options {
            802.3ad ae3;
        }
    }
    et-0/0/52 {
        description "to agg1 et-0/0/52";
        hold-time up 100 down 3000;
        ether-options {
            802.3ad ae0;
        }
    }
    et-0/0/53 {
        description "to agg1 et-0/0/53";
        hold-time up 100 down 3000;
        ether-options {
            802.3ad ae0;
        }
    }
    ae0 {
        description “agg1-agg2”;
        aggregated-ether-options {
            minimum-links 1;
            link-speed 40g;
        }
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }
    ae3 {
        description “to cores mcae1”;
        aggregated-ether-options {
            minimum-links 1;
            link-speed 40g;
            lacp {
                active;
                system-id 00:00:00:00:00:03;
                admin-key 3;
            }
            mc-ae {
                mc-ae-id 3;
                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 ];
                }
            }
        }
    }
    ae2 {
        description “to edge ae0”;
        aggregated-ether-options {
            minimum-links 1;
            link-speed 10g;
            lacp {
                active;
                system-id 00:00:00:00:00:02;
                admin-key 2;
            }
            mc-ae {
                mc-ae-id 2;
                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 12 {
            description iccp-com;
            family inet {
                address 192.168.250.2/30 {
                    arp 192.168.250.1 l2-interface ae0.0 mac <agg1 MAC>;
                }
            }
        }
    }
}
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 <agg1 mgmt IP>;
            }
            liveness-detection {
                minimum-interval 1000;
            }
        }
    }
}
switch-options {
    service-id 1;
}
vlans {
    vlan12 {
        description iccp-com;
        vlan-id 12;
        l3-interface irb.12;
    }
    vlan100 {
        description vlan100;
        vlan-id 100;
    }
    vlan200 {
        description vlan200;
        vlan-id 200;
    }
}