Fortinet white logo
Fortinet white logo

CLI Reference

config firewall internet-service-definition

config firewall internet-service-definition

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}
                config port-range
                    Description: Port ranges in the definition entry.
                    edit <id>
                        set end-port {integer}
                        set start-port {integer}
                    next
                end
                set protocol {integer}
            next
        end
    next
end

config firewall internet-service-definition

Parameter

Description

Type

Size

Default

id

Internet Service application list ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

config entry

Parameter

Description

Type

Size

Default

category-id

Internet Service category ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Internet Service name. Read-only.

string

Maximum length: 63

protocol

Integer value for the protocol type as defined by IANA. Read-only.

integer

Minimum value: 0 Maximum value: 255

0

seq-num

Entry sequence number.

integer

Minimum value: 0 Maximum value: 4294967295

0

config port-range

Parameter

Description

Type

Size

Default

end-port

Ending TCP/UDP/SCTP destination port (1 to 65535). Read-only.

integer

Minimum value: 1 Maximum value: 65535

65535

id

Custom entry port range ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-port

Starting TCP/UDP/SCTP destination port (1 to 65535). Read-only.

integer

Minimum value: 1 Maximum value: 65535

1

config firewall internet-service-definition

config firewall internet-service-definition

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}
                config port-range
                    Description: Port ranges in the definition entry.
                    edit <id>
                        set end-port {integer}
                        set start-port {integer}
                    next
                end
                set protocol {integer}
            next
        end
    next
end

config firewall internet-service-definition

Parameter

Description

Type

Size

Default

id

Internet Service application list ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

config entry

Parameter

Description

Type

Size

Default

category-id

Internet Service category ID. Read-only.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Internet Service name. Read-only.

string

Maximum length: 63

protocol

Integer value for the protocol type as defined by IANA. Read-only.

integer

Minimum value: 0 Maximum value: 255

0

seq-num

Entry sequence number.

integer

Minimum value: 0 Maximum value: 4294967295

0

config port-range

Parameter

Description

Type

Size

Default

end-port

Ending TCP/UDP/SCTP destination port (1 to 65535). Read-only.

integer

Minimum value: 1 Maximum value: 65535

65535

id

Custom entry port range ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

start-port

Starting TCP/UDP/SCTP destination port (1 to 65535). Read-only.

integer

Minimum value: 1 Maximum value: 65535

1