Specifications
Configuring and Managing IP Routes
5-8 Configuring and Managing IP Interfaces and Services
0.0.0.0/ 0 Static 1 Router 10.0.1.17 Down
0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip
10.0.2.1/24 IP 0 Direct vlan:2:ip
10.0.2.1/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
10.0.2.255/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
224.0.0.0/ 4 IP 0 Local MULTICAST
Formoreinformationaboutthefieldsintheoutput,seetheRoamAboutMobilitySystemSoftware
CommandLineInterfaceReference.
Adding a Static Route
Toaddastaticroute,usethefollowingcommand:
set ip route {default | ip-addr mask | ip-addr/mask-length} default-router metric
Themetric(cost)canbeanynumberbetween0and2,147,483,647.Lower‐costroutesarepreferred
overhigher‐costroutes.Whenyouaddmultipleroutestothesamedestination,MSSgroupsthe
routestogetherandordersthemfromlowestcostatthetopofthegrouptohighestcostatthe
bottomofthegroup.Ifyouaddanewroutethathasthesamedestinationandcostasaroute
alreadyinthetable,MSSplacesthenewrouteatthetopofthegroupofrouteswiththesamecost.
Examples
Toaddadefaultroutethatusesdefaultrouter10.5.4.1,andhasacostof1,typethefollowing
command:
RBT-8100# set ip route default 10.5.4.1 1
success: change accepted.
ToaddtwodefaultroutesandconfigureMSStoalwaysusetheroutethrough10.2.4.69whenthe
RoamAboutSwitchinterfacetothatdefaultrouterisup,typethefollowingcommands:
RBT-8100# set ip route default 10.2.4.69 1
success: change accepted.
RBT-8100# set ip route default 10.2.4.17 2
success: change accepted.
ToaddanexplicitroutefromaRoamAboutSwitchtoanyhostonthe192.168.4.xsu bnetthrough
thelocalrouter10.5.4.2,andgivetherouteacostof1,typethefollowingcommand:
RBT-8100# set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1
success: change accepted.