![Cyclades AlterPath ACS Command Reference Manual Download Page 369](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907369.png)
The Routing Table
|
353
Having arrived at the location where text should be changed, use these commands to
modify the text (note commands “i” and “o” will move you into edit mode and
everything typed will be taken literally until you press the <ESC> key to return to the
command mode).
After you have finished modifying a file, enter line mode (by typing “:” from command
mode) and use one of the following commands:
A.6 The Routing Table
The ACS has a static routing table that can be seen using the commands:
# route
or
# netstat -rn
The file
/etc/network/st_routes
is the ACS’s method for configuring static routes. Routes
should be added to the file (which is a script run when the ACS is initialized) or at the
prompt (for temporary routes) using the following syntax:
route [add|del] [-net|-host] target netmask nt_msk [gw gt_way] interf
i
Inserts text before the cursor position (everything to the right of the cursor is
shifted right).
o
Creates a new line below the current line and insert text (all lines are shifted
down).
dd
Removes the entire current line.
x
Deletes the letter at the cursor position.
Table A.3: vi file modification commands
w
Saves the file (w is for write).
wq
Saves and closes the file (q is for quit).
q!
Closes the file without saving.
w file
Saves the file with the name <file>.
e file
Opens the file named <file>.
Table A.4: vi line mode commands
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...