DSCP Marking

Table 1. Feature History

Feature Name

Release Information

Description

DSCP Marking

2025.03.0

AMF applies DSCP marking to outgoing packets on the N2/SCTP and N26/GTPC interfaces, ensuring that traffic is handled appropriately.

Command introduced:

  • config { instance instance-id instance_id { endpoint sctp { dscp dscp_value } } } — Used to configure the DSCP value for N2-SCTP interface.

  • config { instance instance-id instance_id { endpoint gtp { dscp dscp_value } } } — Used to configure the DSCP value for N26-GTPC interface.

Default Setting: Disabled – Configuration Required

Differentiated Services Code Point (DSCP) marking allows network devices to prioritize different types of traffic based on their DSCP value. AMF supports updating the IP headers with configured DSCP information on outgoing packets on N2/SCTP interface and N26/GTPC interface.

Usage Guidelines for DSCP Marking

To configure DSCP marking:

  • Use CLI commands to set DSCP values for N2/SCTP and N26/GTPC interfaces.

  • DSCP values can be configured as hexadecimal (e.g., 0x0-0x3F) or decimal (range: 0-63).

  • If DSCP value is not specified in the configuration then the default DSCP value is set to 0.

  • Configured values apply to all outgoing requests and responses on the specified interface.

  • DSCP marking is configured per interface, not per peer or session.

  • Supports runtime changes to DSCP values.

Configure DSCP for N2/SCTP Interface

Procedure

SUMMARY STEPS

  1. Enter the instance configuration mode.
  2. Configure the endpoint for the instance.
  3. Configure the DSCP value for the SCTP endpoint.
  4. Save and commit the configuration.

DETAILED STEPS


Step 1

Enter the instance configuration mode.

instance instance-id instance_id

Step 2

Configure the endpoint for the instance.

endpoint endpoint_name

Specify sctp as the endpoint type for the instance.

Step 3

Configure the DSCP value for the SCTP endpoint.

dscp dscp_value

DSCP value is either in hexadecimal string (range 0x0-0x3F) eg:0x3F or decimal value (range 0-63) eg:12.

Following is an example of the sample CLI output for the DSCP marking.

[amf] amf# show running-config instance instance-id 1 endpoint sctp
instance instance-id 1
 endpoint sctp
  replicas     2
  nodes        1
  internal-vip 29.29.29.29
  dscp         10
  service sctp-1
   interface sctp
    internal-port metrics 9705 admin 9703 ipc 9701 pprof 9707 keepalived 29001
    internal-vip 29.29.29.29
    vip-ip 29.29.29.29 vip-port 1000
   exit
  exit
  service sctp-2
   interface sctp
    internal-port metrics 9715 admin 9713 ipc 9711 pprof 9717 keepalived 29011
    internal-vip 29.29.29.29
    vip-ip 29.29.29.29 vip-port 1001
   exit
  exit
 exit
exit

Step 4

Save and commit the configuration.


Configure DSCP for N26/GTPC Interface

Procedure

SUMMARY STEPS

  1. Enter the instance configuration mode.
  2. Configure the endpoint for the instance.
  3. Configure the DSCP value for the GTPC endpoint.
  4. Save and commit the configuration.

DETAILED STEPS


Step 1

Enter the instance configuration mode.

instance instance-id instance_id

Step 2

Configure the endpoint for the instance.

endpoint endpoint_name

Specify gtp as the endpoint type for the instance.

Step 3

Configure the DSCP value for the GTPC endpoint.

dscp dscp_value

DSCP value is either in hexadecimal string (range 0x0-0x3F) eg:0x3F or decimal value (range 0-63) eg:12.

Following is an example of the sample CLI output for the DSCP marking.

[amf] amf# show running-config instance instance-id 1 endpoint gtp
instance instance-id 1
 endpoint gtp
  nodes        2
  retransmission timeout 4 max-retry 5
  internal-vip 27.27.27.27
  dscp         46
  vip-ip 27.27.27.27
  interface n26
   vip-ip 27.27.27.27
  exit
 exit
exit

Step 4

Save and commit the configuration.