Hi,
LACP is using by default 30sec timer (which also acts as LACP hello), with a dead count of 3, this means up to 90 seconds of downtime before the link will be removed from the link-agg.
You will need a faster control plane protocol to perform a logical heart-beat between the 2 switches. Make sure the RRPP timer is set to a higher value as whatever option you select below, to ensure you do not get false detection of ring failures.
2 options here for comware5:
1/ make lacp link-aggregation, set the lacp short timer on the interface. This will reduce the LACP hello from 30 seconds to 1 second, to after 3 seconds the interface will transition to unselected state. RRPP hello+dead should be configured to be above 3 seconds.
2/ use ethernet oam, which allows for faster detection. OAM will use a keepalive packet to check remote switch reachability. Timers can be configured at global level. When timer expires, the link will be reported as DOWN (even when physical UP), so the link-agg application will immediately place the interface in unselected state, ensuring faster failover.
Example (must be done on both sides of the link)
[SW]int g1/0/1
[SW-GigabitEthernet1/0/1]oam enable
# review default timers
[SW]dis oam configuration
Configuration of the link event window/threshold :
--------------------------------------------------------------------------------
Errored-symbol Event period(in seconds) : 1
Errored-symbol Event threshold : 1
Errored-frame Event period(in seconds) : 1
Errored-frame Event threshold : 1
Errored-frame-period Event period(in ms) : 1000
Errored-frame-period Event threshold : 1
Errored-frame-seconds Event period(in seconds) : 60
Errored-frame-seconds Event threshold : 1
Configuration of the timer :
--------------------------------------------------------------------------------
Hello timer(in ms) : 1000
Keepalive timer(in ms) : 5000
[SW]
# change timers (example from a 5120, possible ranges vary per platform, use ? to see valid ranges)
[SW]oam timer hello 500
[SW]oam timer keepalive 1000
Hope this helps,
Best regards,Peter