Configuring and managing IP interfaces and services 159
Nortel WLAN—Security Switch 2300 Series Configuration Guide

Adding a static route

To add a static route, use the following command:
set ip route {default | ip-addr mask | ip-addr/mask-length} default-router metric
The metric (cost) can be any number between 0 and 2,147,483,647. Lower-cost routes are preferred over higher-cost
routes. When you add multiple routes to the same destination, WSS Software groups the routes together and orders them
from lowest cost at the top of the group to highest cost at the bottom of the group. If you add a new route that has the
same destination and cost as a route already in the table, WSS Software places the new route at the top of the group of
routes with the same cost.
To add a default route that uses default router 10.5.4.1 and has a cost of 1, type the following command:
WSS# set ip route default 10.5.4.1 1
success: change accepted.
To add two default routes and configure WSS Software to always use the route through 10.2.4.69 when the WSS
interface to that default router is up, type the following commands:
WSS# set ip route default 10.2.4.69 1
success: change accepted.
WSS# set ip route default 10.2.4.17 2
success: change accepted.
To add an explicit route from a WSS to any host on the 192.168.4.x subnet through the local router 10.5.4.2, and give the
route a cost of 1, type the following command:
WSS# set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1
success: change accepted.