Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

switch-controller qos ip-dscp-map

Use this command to configure a DSCP map. A DSCP map defines a mapping between IP precedence or DSCP values and the egress queue values. For IP precedence, you have the following choices:

  • network-control—Network control
  • internetwork-control—Internetwork control
  • critic-ecp—Critic and emergency call processing (ECP)
  • flashoverride—Flash override
  • flash—Flash
  • immediate—Immediate
  • priority—Priority
  • routine—Routine
config switch-controller qos ip-dscp-map
    edit {name}
    # Configure FortiSwitch QoS IP precedence/DSCP.
        set name {string}   Dscp map name. size[63]
        set description {string}   Description of the ip-dscp map name. size[63]
        config map
            edit {name}
            # Maps between IP-DSCP value to COS queue.
                set name {string}   Dscp mapping entry name. size[63]
                set cos-queue {integer}   COS queue number. range[0-7]
                set diffserv {option}   Differentiated service.
                        CS0   DSCP CS0.
                        CS1   DSCP CS1.
                        AF11  DSCP AF11.
                        AF12  DSCP AF12.
                        AF13  DSCP AF13.
                        CS2   DSCP CS2.
                        AF21  DSCP AF21.
                        AF22  DSCP AF22.
                        AF23  DSCP AF23.
                        CS3   DSCP CS3.
                        AF31  DSCP AF31.
                        AF32  DSCP AF32.
                        AF33  DSCP AF33.
                        CS4   DSCP CS4.
                        AF41  DSCP AF41.
                        AF42  DSCP AF42.
                        AF43  DSCP AF43.
                        CS5   DSCP CS5.
                        EF    DSCP EF.
                        CS6   DSCP CS6.
                        CS7   DSCP CS7.
                set ip-precedence {option}   IP Precedence.
                        network-control       Network control.
                        internetwork-control  Internetwork control.
                        critic-ecp            Critic ECP.
                        flashoverride         Flash override.
                        flash                 Flash.
                        immediate             Immediate.
                        priority              Priority.
                        routine               Routine.
                set value {string}   Raw values of DSCP (0 - 63).
            next
    next
end

switch-controller qos ip-dscp-map

Use this command to configure a DSCP map. A DSCP map defines a mapping between IP precedence or DSCP values and the egress queue values. For IP precedence, you have the following choices:

  • network-control—Network control
  • internetwork-control—Internetwork control
  • critic-ecp—Critic and emergency call processing (ECP)
  • flashoverride—Flash override
  • flash—Flash
  • immediate—Immediate
  • priority—Priority
  • routine—Routine
config switch-controller qos ip-dscp-map
    edit {name}
    # Configure FortiSwitch QoS IP precedence/DSCP.
        set name {string}   Dscp map name. size[63]
        set description {string}   Description of the ip-dscp map name. size[63]
        config map
            edit {name}
            # Maps between IP-DSCP value to COS queue.
                set name {string}   Dscp mapping entry name. size[63]
                set cos-queue {integer}   COS queue number. range[0-7]
                set diffserv {option}   Differentiated service.
                        CS0   DSCP CS0.
                        CS1   DSCP CS1.
                        AF11  DSCP AF11.
                        AF12  DSCP AF12.
                        AF13  DSCP AF13.
                        CS2   DSCP CS2.
                        AF21  DSCP AF21.
                        AF22  DSCP AF22.
                        AF23  DSCP AF23.
                        CS3   DSCP CS3.
                        AF31  DSCP AF31.
                        AF32  DSCP AF32.
                        AF33  DSCP AF33.
                        CS4   DSCP CS4.
                        AF41  DSCP AF41.
                        AF42  DSCP AF42.
                        AF43  DSCP AF43.
                        CS5   DSCP CS5.
                        EF    DSCP EF.
                        CS6   DSCP CS6.
                        CS7   DSCP CS7.
                set ip-precedence {option}   IP Precedence.
                        network-control       Network control.
                        internetwork-control  Internetwork control.
                        critic-ecp            Critic ECP.
                        flashoverride         Flash override.
                        flash                 Flash.
                        immediate             Immediate.
                        priority              Priority.
                        routine               Routine.
                set value {string}   Raw values of DSCP (0 - 63).
            next
    next
end