Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure Internet Service definition.

  config firewall internet-service-definition
      Description: Configure Internet Service definition.
      edit <id>
          config entry
              Description: Protocol and port information in an Internet Service entry.
              edit <seq-num>
                  set category-id {integer}
                  set name {string}
                  set protocol {integer}
                  config port-range
                      Description: Port ranges in the definition entry.
                      edit <id>
                          set start-port {integer}
                          set end-port {integer}
                      next
                  end
              next
          end
      next
  end

config entry

Parameter Name Description Type Size
category-id Internet Service category ID. integer Minimum value: 0 Maximum value: 4294967295
name Internet Service name. string Maximum length: 63
protocol Integer value for the protocol type as defined by IANA (0 - 255). integer Minimum value: 0 Maximum value: 255

config port-range

Parameter Name Description Type Size
start-port Starting TCP/UDP/SCTP destination port (1 to 65535). integer Minimum value: 1 Maximum value: 65535
end-port Ending TCP/UDP/SCTP destination port (1 to 65535). integer Minimum value: 1 Maximum value: 65535

Configure Internet Service definition.

  config firewall internet-service-definition
      Description: Configure Internet Service definition.
      edit <id>
          config entry
              Description: Protocol and port information in an Internet Service entry.
              edit <seq-num>
                  set category-id {integer}
                  set name {string}
                  set protocol {integer}
                  config port-range
                      Description: Port ranges in the definition entry.
                      edit <id>
                          set start-port {integer}
                          set end-port {integer}
                      next
                  end
              next
          end
      next
  end

config entry

Parameter Name Description Type Size
category-id Internet Service category ID. integer Minimum value: 0 Maximum value: 4294967295
name Internet Service name. string Maximum length: 63
protocol Integer value for the protocol type as defined by IANA (0 - 255). integer Minimum value: 0 Maximum value: 255

config port-range

Parameter Name Description Type Size
start-port Starting TCP/UDP/SCTP destination port (1 to 65535). integer Minimum value: 1 Maximum value: 65535
end-port Ending TCP/UDP/SCTP destination port (1 to 65535). integer Minimum value: 1 Maximum value: 65535