
A12-42
893-741-B
Internet Protocol (IP) Routing
The following are sample subnet...end blocks:
subnet 132.245.33.0
route add default 132.245.33.22 1
end
subnet 132.245.66.0
route add –h default 132.245.66.22.1
end
Entering Routes using the route Command
The CLI superuser route command lets you define static routes during the Model 5390 session,
thereby avoiding the need to change the configuration file and reboot. However, the route remains
defined only for the duration of the session. If the Model 5390 server is rebooted, the route
disappears.
You can also use route to define a default route, but this is not recommended (see Risks When Adding
or Deleting Default Routes on page A12-45).
The arguments for route are shown in Table A12-8. The syntax is:
route [–fF] add [–h] dest mask gateway [metric]
route [–fF] add [–h] default gateway [metric]
route [–fF] delete {default | dest}
route [–fF] expire [–h] {default | dest}
route [–fF] replace [–h] {default | dest} gateway [metric]
Specify routes as hardwired (by using the –h argument) if you do not want RIP to replace them with
routes it learns over the network.
NOTE:
Changes made using the route command take effect immedi-
ately; you do not need to reboot.
Table A12-8. Arguments for route Command
Argument
Description
–f
Flushes (deletes) all static and learned routes from the routing
table and all static routes from the route cache.
Summary of Contents for 5390
Page 28: ...893 741 B Figures xxviii ...
Page 44: ...893 741 B Preface xliv ...
Page 45: ......
Page 48: ......
Page 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Page 106: ...A3 18 893 741 B Configuring Ports ...
Page 142: ...A5 12 893 741 B Printers ...
Page 152: ...A6 10 893 741 B Modems ...
Page 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Page 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Page 258: ...A11 12 893 741 B Dial up Networking ...
Page 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Page 506: ...A15 86 893 741 B Using Model 5390 Security ...
Page 507: ......
Page 544: ...B1 36 893 741 B Network Administration ...
Page 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Page 575: ......
Page 606: ...C1 30 893 741 B na Commands ...
Page 676: ...C2 70 893 741 B Configuration Parameters ...
Page 772: ...C3 96 893 741 B Using the CLI Commands ...
Page 794: ...C5 12 893 741 B Network Protocols ...
Page 795: ......
Page 796: ... Appendix D1 Software Reference Part D Appendixes ...