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}

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

Description

Type

Size

Default

category-id

Internet Service category ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

0

config port-range

Parameter

Description

Type

Size

Default

start-port

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

integer

Minimum value: 1 Maximum value: 65535

1

end-port

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

integer

Minimum value: 1 Maximum value: 65535

65535

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}

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

Description

Type

Size

Default

category-id

Internet Service category ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

0

config port-range

Parameter

Description

Type

Size

Default

start-port

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

integer

Minimum value: 1 Maximum value: 65535

1

end-port

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

integer

Minimum value: 1 Maximum value: 65535

65535