Switch - ip default gateway

What we do when our switch has different subnet with administrator's subnet
This answer is
Set Default gateway's ip address to Switch
Ex.
       switch1#conf t
       switch1(config)#int vlan1
       switch1(config-if)#ip address 10.10.10.1 255.255.255.0 //This is Switch's ip and Type Exit
       switch1(config)#ip default-gateway 10.10.10.254 //10.10.10.254 is default gateway's IP