Viewing static route information

The show ip route static command displays the current static route configuration on the routing switch. Example of an ECMP set with the same destination but different next-hop routers shows the configuration resulting from the static routes configured in the example above.

Example:

Displaying the currently configured static routes

Displaying the currently configured static routes

Configuring the default route

You can also assign the default route and enter it in the routing table. The default route is used for all traffic that has a destination network not reachable through any other IP routing table entry. For example, if 208.45.228.35 is the IP address of your ISP router, all non-local traffic could be directed to the ISP by entering this command:

HP Switch(config)# ip route 0.0.0.0/0 208.45.228.35