How to change default external gateway

Hi all, sorry but I just did something wrong.

On the F5 LTM VE, I change the external default gateway and I lost connection to the GUI. From the F5 VM console, how do I use command based to change it back ?

Assuming you mean management routes:

View management routes: tmsh list /sys management-route

Create management route: create /sys management-route default gateway 192.168.1.254