Fortinet white logo
Fortinet white logo

CLI Reference

switch-controller traffic-policy

Configure FortiSwitch traffic policy.

  config switch-controller traffic-policy
      Description: Configure FortiSwitch traffic policy.
      edit <name>
          set description {string}
          set policer-status [enable|disable]
          set guaranteed-bandwidth {integer}
          set guaranteed-burst {integer}
          set maximum-burst {integer}
          set type [ingress|egress]
          set cos-queue {integer}
      next
  end

config switch-controller traffic-policy

Parameter Name Description Type Size
description Description of the traffic policy. string Maximum length: 63
policer-status Enable/disable policer config on the traffic policy.
enable: Enable policer config on the traffic policy.
disable: Disable policer config on the traffic policy.
option -
guaranteed-bandwidth Guaranteed bandwidth in kbps (max value = 524287000). integer Minimum value: 0 Maximum value: 524287000
guaranteed-burst Guaranteed burst size in bytes (max value = 4294967295). integer Minimum value: 0 Maximum value: 4294967295
maximum-burst Maximum burst size in bytes (max value = 4294967295). integer Minimum value: 0 Maximum value: 4294967295
type Configure type of policy(ingress/egress).
ingress: Ingress policy.
egress: Egress policy.
option -
cos-queue COS queue(0 - 7), or unset to disable. integer Minimum value: 0 Maximum value: 7

switch-controller traffic-policy

Configure FortiSwitch traffic policy.

  config switch-controller traffic-policy
      Description: Configure FortiSwitch traffic policy.
      edit <name>
          set description {string}
          set policer-status [enable|disable]
          set guaranteed-bandwidth {integer}
          set guaranteed-burst {integer}
          set maximum-burst {integer}
          set type [ingress|egress]
          set cos-queue {integer}
      next
  end

config switch-controller traffic-policy

Parameter Name Description Type Size
description Description of the traffic policy. string Maximum length: 63
policer-status Enable/disable policer config on the traffic policy.
enable: Enable policer config on the traffic policy.
disable: Disable policer config on the traffic policy.
option -
guaranteed-bandwidth Guaranteed bandwidth in kbps (max value = 524287000). integer Minimum value: 0 Maximum value: 524287000
guaranteed-burst Guaranteed burst size in bytes (max value = 4294967295). integer Minimum value: 0 Maximum value: 4294967295
maximum-burst Maximum burst size in bytes (max value = 4294967295). integer Minimum value: 0 Maximum value: 4294967295
type Configure type of policy(ingress/egress).
ingress: Ingress policy.
egress: Egress policy.
option -
cos-queue COS queue(0 - 7), or unset to disable. integer Minimum value: 0 Maximum value: 7