SCTP Administrator's Guide
2 Troubleshooting and Monitoring the SCTP Product
This chapter describes how to use the various SCTP utilities for troubleshooting and
monitoring the SCTP product.
This chapter addresses the following topics:
• “Using the ndd Command” (page 27)
• “Using the netstat Command ” (page 30)
• “Using the nettl Command to Control Network Tracing and Logging” (page 37)
• “Using the /etc/rc.conf/sctprcconf File” (page 38)
• “Using the Start and Stop Script” (page 39)
Using the ndd Command
This section discusses the command-line options that ndd supports. It also provides a
sample output for each command-line option.
This section addresses the following topics:
• “Getting the Value of an SCTP Parameter” (page 27)
• “Setting the Value of an SCTP Parameter” (page 27)
• “Displaying the SCTP Parameter Information” (page 28)
• “Using the /etc/rc.config.d/nddconf File to Set the ndd Tunable Parameters”
(page 30)
Getting the Value of an SCTP Parameter
The following syntax for the ndd command enables you to get the value of an SCTP
parameter:
ndd -get network_device parameter
This command also prints the value of the SCTP parameter to the standard output.
Example 2-1 Command to Get the Value of an SCTP Parameter
To get the value of an SCTP parameter, enter the following command:
ndd –get /dev/sctp sctp_rto_max
The following output is displayed:
65000
Setting the Value of an SCTP Parameter
The following syntax for the ndd command enables you to set the value of an SCTP
parameter:
ndd -set network_device parameter value
Using the ndd Command 27