Fortinet white logo
Fortinet white logo

CLI Reference

config system pcp-server

config system pcp-server

Configure PCP server information.

config system pcp-server
    Description: Configure PCP server information.
    config pools
        Description: Configure PCP pools.
        edit <name>
            set allow-opcode {option1}, {option2}, ...
            set announcement-count {integer}
            set arp-reply [disable|enable]
            set client-mapping-limit {integer}
            set client-subnet <subnet1>, <subnet2>, ...
            set description {string}
            set ext-intf {string}
            set extip {user}
            set extport {user}
            set id {integer}
            set intl-intf <interface-name1>, <interface-name2>, ...
            set mapping-filter-limit {integer}
            set maximal-lifetime {integer}
            set minimal-lifetime {integer}
            set multicast-announcement [enable|disable]
            set recycle-delay {integer}
            set third-party [allow|disallow]
            set third-party-subnet <subnet1>, <subnet2>, ...
        next
    end
    set status [enable|disable]
end

config system pcp-server

Parameter

Description

Type

Size

Default

status

Enable/disable PCP server.

option

-

disable

Option

Description

enable

Enable PCP Server.

disable

Disable PCP Server.

config pools

Parameter

Description

Type

Size

Default

allow-opcode

Allowed PCP opcode.

option

-

map peer announce

Option

Description

map

Allow opcode MAP.

peer

Allow opcode PEER.

announce

Allow opcode ANNOUNCE.

announcement-count

Number of multicast announcements.

integer

Minimum value: 3 Maximum value: 10

3

arp-reply

Enable to respond to ARP requests for external IP.

option

-

enable

Option

Description

disable

Disable ARP reply.

enable

Enable ARP reply.

client-mapping-limit

Mapping limit per client.

integer

Minimum value: 0 Maximum value: 65535

0

client-subnet <subnet>

Subnets from which PCP requests are accepted.

Client subnets.

string

Maximum length: 79

description

Description.

string

Maximum length: 127

ext-intf

External interface name.

string

Maximum length: 35

extip

IP address or address range on the external interface that you want to map to an address on the internal network.

user

Not Specified

extport

Incoming port number range that you want to map to a port number on the internal network.

user

Not Specified

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

intl-intf <interface-name>

Internal interface name.

Interface name.

string

Maximum length: 79

mapping-filter-limit

Filter limit per mapping.

integer

Minimum value: 0 Maximum value: 5

1

maximal-lifetime

Maximal lifetime of a PCP mapping in seconds.

integer

Minimum value: 3600 Maximum value: 604800

86400

minimal-lifetime

Minimal lifetime of a PCP mapping in seconds.

integer

Minimum value: 60 Maximum value: 300

120

multicast-announcement

Enable/disable multicast announcements.

option

-

enable

Option

Description

enable

Enable multicast announcements.

disable

Disable multicast announcements.

name

PCP pool name.

string

Maximum length: 79

recycle-delay

Minimum delay.

integer

Minimum value: 0 Maximum value: 3600

0

third-party

Allow/disallow third party option.

option

-

disallow

Option

Description

allow

Allow third party option.

disallow

Disallow third party opiton.

third-party-subnet <subnet>

Subnets from which third party requests are accepted.

Third party subnets.

string

Maximum length: 79

config system pcp-server

config system pcp-server

Configure PCP server information.

config system pcp-server
    Description: Configure PCP server information.
    config pools
        Description: Configure PCP pools.
        edit <name>
            set allow-opcode {option1}, {option2}, ...
            set announcement-count {integer}
            set arp-reply [disable|enable]
            set client-mapping-limit {integer}
            set client-subnet <subnet1>, <subnet2>, ...
            set description {string}
            set ext-intf {string}
            set extip {user}
            set extport {user}
            set id {integer}
            set intl-intf <interface-name1>, <interface-name2>, ...
            set mapping-filter-limit {integer}
            set maximal-lifetime {integer}
            set minimal-lifetime {integer}
            set multicast-announcement [enable|disable]
            set recycle-delay {integer}
            set third-party [allow|disallow]
            set third-party-subnet <subnet1>, <subnet2>, ...
        next
    end
    set status [enable|disable]
end

config system pcp-server

Parameter

Description

Type

Size

Default

status

Enable/disable PCP server.

option

-

disable

Option

Description

enable

Enable PCP Server.

disable

Disable PCP Server.

config pools

Parameter

Description

Type

Size

Default

allow-opcode

Allowed PCP opcode.

option

-

map peer announce

Option

Description

map

Allow opcode MAP.

peer

Allow opcode PEER.

announce

Allow opcode ANNOUNCE.

announcement-count

Number of multicast announcements.

integer

Minimum value: 3 Maximum value: 10

3

arp-reply

Enable to respond to ARP requests for external IP.

option

-

enable

Option

Description

disable

Disable ARP reply.

enable

Enable ARP reply.

client-mapping-limit

Mapping limit per client.

integer

Minimum value: 0 Maximum value: 65535

0

client-subnet <subnet>

Subnets from which PCP requests are accepted.

Client subnets.

string

Maximum length: 79

description

Description.

string

Maximum length: 127

ext-intf

External interface name.

string

Maximum length: 35

extip

IP address or address range on the external interface that you want to map to an address on the internal network.

user

Not Specified

extport

Incoming port number range that you want to map to a port number on the internal network.

user

Not Specified

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

intl-intf <interface-name>

Internal interface name.

Interface name.

string

Maximum length: 79

mapping-filter-limit

Filter limit per mapping.

integer

Minimum value: 0 Maximum value: 5

1

maximal-lifetime

Maximal lifetime of a PCP mapping in seconds.

integer

Minimum value: 3600 Maximum value: 604800

86400

minimal-lifetime

Minimal lifetime of a PCP mapping in seconds.

integer

Minimum value: 60 Maximum value: 300

120

multicast-announcement

Enable/disable multicast announcements.

option

-

enable

Option

Description

enable

Enable multicast announcements.

disable

Disable multicast announcements.

name

PCP pool name.

string

Maximum length: 79

recycle-delay

Minimum delay.

integer

Minimum value: 0 Maximum value: 3600

0

third-party

Allow/disallow third party option.

option

-

disallow

Option

Description

allow

Allow third party option.

disallow

Disallow third party opiton.

third-party-subnet <subnet>

Subnets from which third party requests are accepted.

Third party subnets.

string

Maximum length: 79