Configuring and Managing IP Interfaces and Services 121Nortel WLAN Security Switch 2300 Series Configuration GuideAdding a Static RouteTo add a static route, use the following command:set ip route {default | ip-addr mask | ip-addr/mask-length} gateway metricThe metric (cost) can be any number between 0 and 2,147,483,647. Lower-cost routes are preferred over higher-costroutes. When you add multiple routes to the same destination, WSS Software groups the routes together and orders themfrom 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 thesame destination and cost as a route already in the table, WSS Software places the new route at the top of the group ofroutes with the same cost.To add a default route that uses gateway 10.5.4.1 and has a cost of 1, type the following command:23x0# set ip route default 10.5.4.1 1success: change accepted.To add two default routes and configure WSS Software to always use the route through 10.2.4.69 when the WSSinterface to that gateway router is up, type the following commands:23x0# set ip route default 10.2.4.69 1success: change accepted.23x0# set ip route default 10.2.4.17 2success: change accepted.To add an explicit route from an WSS switch to any host on the 192.168.4.x subnet through the local router 10.5.4.2, andgive the route a cost of 1, type the following command:23x0# set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1success: change accepted.