Checklist :
- Check the times of disconnect , are they every 10-20 seconds the same ( could be timers )
- show interfaces gigabitethernet 2/0/23 check for Errors
- Was this switch recently replaced / power problem – Raise a TAC
- Replace Cables/Ports
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/23, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/23, changed state to down
%LINK-3-UPDOWN: Interface GigabitEthernet2/0/23, changed state to down
%LINK-3-UPDOWN: Interface GigabitEthernet2/0/23, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/23, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/23, changed state to down
%LINK-3-UPDOWN: Interface GigabitEthernet2/0/23, changed state to down
%LINK-3-UPDOWN: Interface GigabitEthernet2/0/23, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/23, changed state to up