SCTP Administrator's Guide

Example 2-9 Sample Tracing and Logging Commands
Following are sample nettl commands used for performing tracing and logging
operations:
To initialize the tracing and logging facility, enter the following command:
nettl -start
To check the network logging and tracing status, enter the following command:
nettl -status
To start the inbound and outbound Protocol Data Unit (PDU) tracing for the SCTP
subsystems and to send the binary trace messages to the /var/adm/tracefile
file, enter the following command:
nettl -traceon pduin pduout-entity ns_ls_sctp -f
/var/adm/tracefile
To stop tracing for the SCTP subsystem, enter the following command:
nettl -entity ns_ls_sctp -traceoff
To terminate the tracing and logging facility, enter the following command:
nettl -stop
To format the SCTP trace file and move the content of the file to
the/tmp/traceout file, enter the following command:
netfmt -f /tmp/tracefile.TRC000 >/tmp/traceout
NOTE: By default, the/etc/rc.config.d/nettl is configured with the SCTP
subsystem information. You need not modify any of the settings in the
/etc/rc.config.d/nettl file to configure the nettl command.
Using the /etc/rc.conf/sctprcconf File
You can use the /etc/rc.conf/sctprcconf file to perform the following tasks:
Configure an autotimer for an interface
Enable debugging in an sctpd application
The SCTP_ARGS variable in the /etc/rc.conf/sctprcconf file enables you to set
these options. Following is the syntax for defining the SCTP_ARGS variable:
SCTP_ARGS="[option_name1] [option_name2 <value>]"
38 Troubleshooting and Monitoring the SCTP Product