Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

switch-controller qos qos-policy

Use this command to configure the overall QoS policy that will be applied to the switch ports. The overall QoS policy includes selecting a previously configured trust dot1p map, DSCP map, queue policy and so on.

config switch-controller qos qos-policy
    edit {name}
    # Configure FortiSwitch QoS policy.
        set name {string}   QoS policy name. size[63]
        set default-cos {integer}   Default cos queue for untagged packets. range[0-7]
        set trust-dot1p-map {string}   QoS trust 802.1p map. size[63] - datasource(s): switch-controller.qos.dot1p-map.name
        set trust-ip-dscp-map {string}   QoS trust ip dscp map. size[63] - datasource(s): switch-controller.qos.ip-dscp-map.name
        set queue-policy {string}   QoS egress queue policy. size[63] - datasource(s): switch-controller.qos.queue-policy.name
    next
end

switch-controller qos qos-policy

Use this command to configure the overall QoS policy that will be applied to the switch ports. The overall QoS policy includes selecting a previously configured trust dot1p map, DSCP map, queue policy and so on.

config switch-controller qos qos-policy
    edit {name}
    # Configure FortiSwitch QoS policy.
        set name {string}   QoS policy name. size[63]
        set default-cos {integer}   Default cos queue for untagged packets. range[0-7]
        set trust-dot1p-map {string}   QoS trust 802.1p map. size[63] - datasource(s): switch-controller.qos.dot1p-map.name
        set trust-ip-dscp-map {string}   QoS trust ip dscp map. size[63] - datasource(s): switch-controller.qos.ip-dscp-map.name
        set queue-policy {string}   QoS egress queue policy. size[63] - datasource(s): switch-controller.qos.queue-policy.name
    next
end