Ways to create static IPv4 routes

Create a static route using the next hop

This is also known as a recusive route.

R(config)# ip route {destination network ip} {destination mask} {next-hop ip-address}

Create a static route using an interface

This is also known as a directly connected route.

R(config)# ip route {destination network ip} {destination mask} {exit interface}

Create a floating static route

This is also known as a backup route.

R(config)# ip route {destination network ip} {destination mask} {next-hop ip} {metric>1}

Ways to create static IPv6 routes

Create a static route using the next hop

This is also known as a recusive route.

R(config)# ipv6 route {prefix/length} {next-hop ipv6}

Create a static route

R(config)# ipv6 route {prefix/length} {exit interface type} {exit interface number}

Dynamic Routing

Dynamic routing includes OSPFv3, OSPv4, RIP and various others.

For OSPF examples click here