Is it the only VLAN you have on the switch?
If so, just use the ip default-gateway command for 10.10.10.1
If you're actually routing on the switch, then you'd use ip route commands.
Ensure you have ip routing turned on, if this is what you are trying to accomplish.
Else, ip default-gateway 10.10.10.1 should suffice.