O'Reilly logo

Implementing Cisco Networking Solutions by Harpreet Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Static routing

Static routing is where the router is explicitly instructed to route packets for specific prefixes to a particular next hop.

A static route is configured by using the ip route command, as shown in the following figure. The configuration builds the routing table that was used to explain the longest prefix match:

Figure 41: Configuring static routes

Note that the last route configuration in the preceding example has a specific tag value assigned to it. This value is not relevant for routing purposes, but is used to identify a set of routes in the routing table. This can be used if a subset of the routes needs to be advertised ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required