Specify the IPv4 destination address, the address mask, and the IPv4 address of the next hop.
device# configure terminal
device(config)# ip route 10.0.0.0/24 10.1.1.1
Note
Prefix lengths must be used as part of the address. Network masks cannot be used. The prefix length of /8 is equivalent to a network mask of 255.0.0.0. The prefix length of /24 (equivalent to the mask 255.255.255.0) matches all hosts in the Class C subnet address in the destination IP address.