Configuring IP
To display the maximum value for your device, enter the show default values command. The maximum number of static IP routes the system can hold is listed in the
The
The
The null0 parameter indicates that this is a null route. You must specify this parameter to make this a null route.
The <metric> parameter adds a cost to the route. You can specify from 1 – 16. The default is 1.
The distance <num> parameter configures the administrative distance for the route. You can specify a value from 1 – 255. The default is 1. The value 255 makes the route unusable.
NOTE: The last two parameters are optional and do not affect the null route, unless you configure the administrative distance to be 255. In this case, the route is not used and the traffic might be forwarded instead of dropped.
USING THE WEB MANAGEMENT INTERFACE
You cannot configure a null IP static route using the Web management interface.
Configuring Load Balancing and Redundancy Using Multiple Static Routes to the Same Destination
You can configure multiple static IP routes to the same destination, for the following benefits:
•IP load sharing – If you configure more than one static route to the same destination, and the routes have different
•Backup Routes – If you configure multiple static IP routes to the same destination, but give the routes different
NOTE: You also can bias the routing switch to select one of the routes by configuring them with different administrative distances. However, make sure you do not give a static route a higher administrative distance than other types of routes, unless you want those other types to be preferred over the static route. For a list of the default administrative distances, see “Changing Administrative Distances” on page
The steps for configuring the static routes are the same as described in the previous section. The following sections provide examples.
USING THE CLI
To configure multiple static IP routes, enter commands such as the following.
HP9300(config)# ip route 192.128.2.69 255.255.255.0 209.157.22.1 HP9300(config)# ip route 192.128.2.69 255.255.255.0 192.111.10.1
The commands in the example above configure two static IP routes. The routes go to different
6 - 41