SCTP Administrator's Guide

Example 2-10 Setting the SCTP_ARGS Variable
To configure the autotimer for an interface and to enable debugging for sctpd
application, set the SCTP_ARGS variable in the /etc/rc.conf/sctprcconf file, as
follows:
SCTP_ARGS="-d t 60"
where:
-d Enables debugging for the sctpd application.
-t 60
Sets the autotimer to 60 seconds to poll for a new interface.
NOTE: By default, the t and d options are defined in the SCTP_ARGS variable,
and the t option is set to 60 seconds. You can modify the value of the t option to
set a different autotimer for an interface.
If you modify the /etc/rc.conf/sctprcconf file, HP recommends that the you
use the /sbin/init.d/sctprc script to start or stop the stcpd application. By
default, the /sbin/init.d/sctprc script is executed while installing the SCTP
product and after rebooting the system.
Using the Start and Stop Script
This section discusses commands to start and stop the sctpd application using the
/sbin/init.d/sctprc script.
This section addresses the following topics:
“Starting the sctpd Application ” (page 39)
“Stopping the sctpd Application ” (page 39)
Starting the sctpd Application
To start the sctpd application, enter the following command:
# /sbin/init.d/sctprc start
NOTE: When the sctpd application starts, it reads the /etc/rc.conf/sctprcconf
file and sets the options defined in theSCTP_ARGS variable.
Stopping the sctpd Application
To stop the sctpd application, enter the following command:
# /sbin/init.d/sctprc stop
Using the Start and Stop Script 39