From 08b5ff7ebbeed699b08930d106e98dab5e3d2a13 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 12 Sep 2023 12:04:09 +0200 Subject: [PATCH] sigtran: Document SCTP INIT VTY parameters Related: SYS#6558 Change-Id: I2a8c2b3708d72bf0974b17bf018f2c667ae6b824 --- common/chapters/sigtran.adoc | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/common/chapters/sigtran.adoc b/common/chapters/sigtran.adoc index d1cc6f0..75767e3 100644 --- a/common/chapters/sigtran.adoc +++ b/common/chapters/sigtran.adoc @@ -442,6 +442,49 @@ net.sctp.auth_enable=1 net.sctp.addip_enable=1 ---- +==== SCTP INIT Parameters + +Several SCTP INIT parameters can be configured through VTY, which will be passed +to the Linux Kernel SCTP stack and used whenever an association is being +established. + +On the client side (see <>), the parameters are configured in the `asp` node: +---- +cs7 instance 0 + asp my-asp 2905 0 m3ua + sctp-role client + sctp-param init num-ostreams 250 <1> + sctp-param init max-instreams 300 <2> + sctp-param init max-attempts 3 <3> + sctp-param init timeout 10000 <4> + ... +---- +<1> The number of streams from the server to the client. This value is +transmitted during SCTP INIT ACK packet. +<2> Announce to the server that a maximum of up to 300 inbound SCTP streams are +supported. This value is transmitted during SCTP INIT packet. +<3> Initial SCTP handshake will be attempted 3 times before considering the +connection failed. +<4> Retransmit an SCTP INIT message after 10000 ms if no answer is received. + +On the server side (see <>), the parameters are configured in the `listen` node: +---- +cs7 instance 0 + asp my-asp 2905 0 m3ua + sctp-role server + listen m3ua 2905 + sctp-param init num-ostreams 250 <1> + sctp-param init max-instreams 300 <2> + ... +---- +<1> Announce to the server that up to 250 outbound SCTP streams (server to +client) may be requested. This value is transmitted during SCTP INIT packet, and +should be equal or lower to the `max-instreams` value received from the client +during SCTP INIT packet. +<2> Announce to the server that a maximum of up to 300 inbound SCTP streams are +supported. This value is transmitted during SCTP INIT ACK packet. + +[[sctp_role]] ==== SCTP role The _SCTP role_ defines which of the two L4 protocol roles SCTP assumes: