![Cyclades AlterPath ACS Скачать руководство пользователя страница 135](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907135.png)
AlterPath ACS Command Reference Guide
119
Network
4.8 TCP Keepalive
The objective of this feature is to allow the ACS to recognize when the socket client
(SSH or Telnet) goes down without closing the connection properly. Currently, if this
happens in a serial port the system administrator must close the connection manually or
nobody else can access that port anymore.
How it works
The TCP engine of ACS will send a tcp keepalive message (ACK) to the client. If the
maximum retry number is reached without an answer from the client, the connection is
closed.
VI mode
The configuration is done in the file
/bin/init_proc_fs
using the linux proc filesystem.
CLI Method - TCP Keep Alive
Step 1 - .Open the CLI interface by issuing the command:
# CLI
# Enable TCP keepalive timer in ACS (six retries with ten seconds
# of interval from each other).
# keepalive interval when the client is answering
echo 20 > /proc/sys/net/ipv4/tcp_keepalive_time
# keepalive interval when the client is not answering.
echo 10 > /proc/sys/net/ipv4/tcp_keepalive_intvl
# number of retries
echo 6 > /proc/sys/net/ipv4/tcp_keepalive_probes
# Enable TCP keepalive timer (six retries with twenty seconds
# of interval from each other).
echo 20 > /proc/sys/net/ipv4/tcp_keepalive_time
echo 6 > /proc/sys/net/ipv4/tcp_keepalive_probes
File Description 4.9: /bin/init_proc_fs
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...