Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

firewall internet-service

Use this command to configure existing Internet Service objects.

config firewall internet-service
    edit {id}
    # Show Internet Service application.
        set id {integer}   Internet Service ID. range[0-4294967295]
        set name {string}   Internet Service name. size[63]
        set reputation {integer}   Reputation level of the Internet Service. range[0-4294967295]
        set icon-id {integer}   Icon ID of Internet Service. range[0-4294967295]
        set sld-id {integer}   Second Level Domain. range[0-4294967295]
        set direction {src | dst | both}   How this service may be used in a firewall policy (source, destination or both).
                src   As source in the firewall policy.
                dst   As destination in the firewall policy.
                both  Both directions in the firewall policy.
        set database {isdb | irdb}   Database name this Internet Service belongs to.
                isdb  Internet Service Database.
                irdb  Internet RRR Database.
        set offset {integer}   Offset of Internet Service ID. range[0-4294967295]
        config entry
            edit {id}
            # Entries in the Internet Service database.
                set id {integer}   Entry ID. range[0-4294967295]
                set protocol {integer}   Integer value for the protocol type as defined by IANA (0 - 255). range[0-255]
                set port {integer}   Integer value for the TCP/IP port (0 - 65535). range[0-65535]
                set ip-range-number {integer}   Total number of IP ranges. range[0-4294967295]
                set ip-number {integer}   Total number of IP addresses. range[0-65535]
            next
    next
end

firewall internet-service

Use this command to configure existing Internet Service objects.

config firewall internet-service
    edit {id}
    # Show Internet Service application.
        set id {integer}   Internet Service ID. range[0-4294967295]
        set name {string}   Internet Service name. size[63]
        set reputation {integer}   Reputation level of the Internet Service. range[0-4294967295]
        set icon-id {integer}   Icon ID of Internet Service. range[0-4294967295]
        set sld-id {integer}   Second Level Domain. range[0-4294967295]
        set direction {src | dst | both}   How this service may be used in a firewall policy (source, destination or both).
                src   As source in the firewall policy.
                dst   As destination in the firewall policy.
                both  Both directions in the firewall policy.
        set database {isdb | irdb}   Database name this Internet Service belongs to.
                isdb  Internet Service Database.
                irdb  Internet RRR Database.
        set offset {integer}   Offset of Internet Service ID. range[0-4294967295]
        config entry
            edit {id}
            # Entries in the Internet Service database.
                set id {integer}   Entry ID. range[0-4294967295]
                set protocol {integer}   Integer value for the protocol type as defined by IANA (0 - 255). range[0-255]
                set port {integer}   Integer value for the TCP/IP port (0 - 65535). range[0-65535]
                set ip-range-number {integer}   Total number of IP ranges. range[0-4294967295]
                set ip-number {integer}   Total number of IP addresses. range[0-65535]
            next
    next
end