Hello,
you could use an EEM script that shuts/no shuts the interface every five minutes:
event manager applet LINK_FLAP
event timer cron cron-entry "0,5,10,15,20,25,30,35,40,45,50,55 * * * *"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "interface GigabitEthernet0/0"
action 4.0 cli command "shut"
action 5.0 wait 5
action 6.0 cli command "no shut"
action 7.0 cli command "end"