XBee ZNet 2.5 (formerly Series 2)

After upgrading the xbee firmware to 1241 for router/ end device, how to set a particular xbee to act as as a router or end device. Cant find any commnad or setting for that
Please guide..