This article illustrates the behaviour of MC-AE interface upon ICCP Down with and without prefer-status-control-active configuration.
Upon ICCP Down, all mc-lag port flap and below is how MC-LAG should behaves from URL below:
https://www.juniper.net/documentation/us/en/software/junos/mc-lag/topics/concept/best-practices-usage-notes.html
et-0/0/50 { ether-options { 802.3ad ae0; } } et-0/0/51 { ether-options { 802.3ad ae0; ae0 { description Inter-Link_for_ICCP_ICL; aggregated-ether-options { lacp { active; } }
ae1 { aggregated-ether-options { lacp { active; periodic fast; system-id 00:11:00:22:00:01; admin-key 1; } mc-ae { mc-ae-id 1; redundancy-group 2; chassis-id 1; mode active-active; status-control active; init-delay-time 240;
ae1 { aggregated-ether-options { lacp { active; periodic fast; system-id 00:11:00:22:00:01; admin-key 1; } mc-ae { mc-ae-id 1; redundancy-group 2; chassis-id 0; mode active-active; status-control standby; init-delay-time 240;
labroot@QFX5110-1> show lacp interfaces ae1 extensive Sep 12 15:42:22 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 00:11:00:22:00:01 127 32769 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 1 1 labroot@QFX5110-2> show lacp interfaces ae1 extensive Sep 12 15:42:28 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 00:11:00:22:00:01 127 1 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 2 1
labroot@QFX5110-1> show lacp interfaces ae1 extensive Sep 12 15:44:09 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 d8:53:9a:56:f3:20 127 32769 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 1 1 labroot@QFX5110-2> show lacp interfaces ae1 extensive Sep 12 15:44:15 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No No No Yes Yes Fast Active ge-0/0/0 Partner No No No No No Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Attached LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 d8:53:9a:56:53:20 127 1 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 2 1
labroot@QFX5110-1> show lacp interfaces ae1 extensive Sep 12 15:47:44 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 00:11:00:22:00:01 127 32769 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 1 1 labroot@QFX5110-2> show lacp interfaces ae1 extensive Sep 12 15:47:40 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 00:11:00:22:00:01 127 1 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 2 1
#ICCP ae0 down when et-0/0/50 and et-0/0/51 disabled labroot@QFX5110-1> show log messages | match SNMP_TRAP_LINK | match ae0 Sep 12 15:48:14 ep 12 15:43:27 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_DOWN: ifIndex 4147, ifAdminStatus up(1), ifOperStatus down(2), ifName ae0 Sep 12 15:45:45 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_UP: ifIndex 4147, ifAdminStatus up(1), ifOperStatus up(1), ifName ae0 #QFX5110-1 ae1 flap twice during LACP ID change to default and then back configured Value labroot@QFX5110-1> show log messages | match SNMP_TRAP_LINK | match ae1$ Sep 12 15:48:23 Sep 12 15:43:28 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_DOWN: ifIndex 4148, ifAdminStatus up(1), ifOperStatus down(2), ifName ae1 Sep 12 15:43:31 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_UP: ifIndex 4148, ifAdminStatus up(1), ifOperStatus up(1), ifName ae1 Sep 12 15:46:52 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_DOWN: ifIndex 4148, ifAdminStatus up(1), ifOperStatus down(2), ifName ae1 Sep 12 15:46:54 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_UP: ifIndex 4148, ifAdminStatus up(1), ifOperStatus up(1), ifName ae1 #QFX5110-2 ae1 down when ae0 down and coming back up when ae0+ICCP restore. labroot@QFX5110-2> show log messages | match SNMP_TRAP_LINK | match ae1$ Sep 12 15:49:54 Sep 12 15:43:28 QFX5110-2 mib2d[9502]: SNMP_TRAP_LINK_DOWN: ifIndex 4144, ifAdminStatus up(1), ifOperStatus down(2), ifName ae1 Sep 12 15:46:54 QFX5110-2 mib2d[9502]: SNMP_TRAP_LINK_UP: ifIndex 4144, ifAdminStatus up(1), ifOperStatus up(1), ifName ae1
set interfaces ae1 aggregated-ether-options mc-ae events iccp-peer-down prefer-status-control-active
labroot@QFX5110-1> show lacp interfaces ae1 extensive Sep 12 15:57:52 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 00:11:00:22:00:01 127 32769 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 1 1 labroot@QFX5110-2> show lacp interfaces ae1 extensive Sep 12 15:58:06 Aggregated interface: ae1 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No No No Yes Yes Fast Active ge-0/0/0 Partner No No No No No Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Attached LACP info: Role System System Port Port Port priority identifier priority number key ge-0/0/0 Actor 127 d8:53:9a:56:53:20 127 1 1 ge-0/0/0 Partner 127 68:22:8e:64:fa:40 127 2 1
labroot@QFX5110-1> show log messages | match SNMP_TRAP_LINK | match ae0 Sep 12 16:00:59 Sep 12 15:57:48 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_DOWN: ifIndex 4147, ifAdminStatus up(1), ifOperStatus down(2), ifName ae0 Sep 12 15:59:48 QFX5110-1 mib2d[11099]: SNMP_TRAP_LINK_UP: ifIndex 4147, ifAdminStatus up(1), ifOperStatus up(1), ifName ae0 #QFX5110-1 No flapping in ae1 labroot@QFX5110-1> show log messages | match SNMP_TRAP_LINK | match ae1$ Sep 12 16:00:59 #QFX5110-2 ae1 down when ae0 down and coming back up when ae0+ICCP restore. labroot@QFX5110-2> show log messages | match SNMP_TRAP_LINK | match ae1$ Sep 12 16:01:10 Sep 12 15:57:49 QFX5110-2 mib2d[9502]: SNMP_TRAP_LINK_DOWN: ifIndex 4144, ifAdminStatus up(1), ifOperStatus down(2), ifName ae1 Sep 12 16:00:07 QFX5110-2 mib2d[9502]: SNMP_TRAP_LINK_UP: ifIndex 4144, ifAdminStatus up(1), ifOperStatus up(1), ifName ae1