Fortinet black 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 description {string}
            set id {integer}
            set client-subnet <subnet1>, <subnet2>, ...
            set ext-intf {string}
            set arp-reply [disable|enable]
            set extip {user}
            set extport {user}
            set minimal-lifetime {integer}
            set maximal-lifetime {integer}
            set client-mapping-limit {integer}
            set mapping-filter-limit {integer}
            set allow-opcode {option1}, {option2}, ...
            set third-party [allow|disallow]
            set third-party-subnet <subnet1>, <subnet2>, ...
            set multicast-announcement [enable|disable]
            set announcement-count {integer}
            set intl-intf <interface-name1>, <interface-name2>, ...
            set recycle-delay {integer}
        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

name

PCP pool name.

string

Maximum length: 79

description

Description.

string

Maximum length: 127

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

client-subnet <subnet>

Subnets from which PCP requests are accepted.

Client subnets.

string

Maximum length: 79

ext-intf

External interface name.

string

Maximum length: 35

arp-reply

Enable to respond to ARP requests for external IP.

option

-

enable

Option

Description

disable

Disable ARP reply.

enable

Enable ARP reply.

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

minimal-lifetime

Minimal lifetime of a PCP mapping in seconds.

integer

Minimum value: 60 Maximum value: 300

120

maximal-lifetime

Maximal lifetime of a PCP mapping in seconds.

integer

Minimum value: 3600 Maximum value: 604800

86400

client-mapping-limit

Mapping limit per client.

integer

Minimum value: 0 Maximum value: 65535

0

mapping-filter-limit

Filter limit per mapping.

integer

Minimum value: 0 Maximum value: 5

1

allow-opcode

Allowed PCP opcode.

option

-

map peer announce

Option

Description

map

Allow opcode MAP.

peer

Allow opcode PEER.

announce

Allow opcode ANNOUNCE.

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

multicast-announcement

Enable/disable multicast announcements.

option

-

enable

Option

Description

enable

Enable multicast announcements.

disable

Disable multicast announcements.

announcement-count

Number of multicast announcements.

integer

Minimum value: 3 Maximum value: 10

3

intl-intf <interface-name>

Internal interface name.

Interface name.

string

Maximum length: 79

recycle-delay

Minimum delay.

integer

Minimum value: 0 Maximum value: 3600

0

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 description {string}
            set id {integer}
            set client-subnet <subnet1>, <subnet2>, ...
            set ext-intf {string}
            set arp-reply [disable|enable]
            set extip {user}
            set extport {user}
            set minimal-lifetime {integer}
            set maximal-lifetime {integer}
            set client-mapping-limit {integer}
            set mapping-filter-limit {integer}
            set allow-opcode {option1}, {option2}, ...
            set third-party [allow|disallow]
            set third-party-subnet <subnet1>, <subnet2>, ...
            set multicast-announcement [enable|disable]
            set announcement-count {integer}
            set intl-intf <interface-name1>, <interface-name2>, ...
            set recycle-delay {integer}
        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

name

PCP pool name.

string

Maximum length: 79

description

Description.

string

Maximum length: 127

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

client-subnet <subnet>

Subnets from which PCP requests are accepted.

Client subnets.

string

Maximum length: 79

ext-intf

External interface name.

string

Maximum length: 35

arp-reply

Enable to respond to ARP requests for external IP.

option

-

enable

Option

Description

disable

Disable ARP reply.

enable

Enable ARP reply.

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

minimal-lifetime

Minimal lifetime of a PCP mapping in seconds.

integer

Minimum value: 60 Maximum value: 300

120

maximal-lifetime

Maximal lifetime of a PCP mapping in seconds.

integer

Minimum value: 3600 Maximum value: 604800

86400

client-mapping-limit

Mapping limit per client.

integer

Minimum value: 0 Maximum value: 65535

0

mapping-filter-limit

Filter limit per mapping.

integer

Minimum value: 0 Maximum value: 5

1

allow-opcode

Allowed PCP opcode.

option

-

map peer announce

Option

Description

map

Allow opcode MAP.

peer

Allow opcode PEER.

announce

Allow opcode ANNOUNCE.

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

multicast-announcement

Enable/disable multicast announcements.

option

-

enable

Option

Description

enable

Enable multicast announcements.

disable

Disable multicast announcements.

announcement-count

Number of multicast announcements.

integer

Minimum value: 3 Maximum value: 10

3

intl-intf <interface-name>

Internal interface name.

Interface name.

string

Maximum length: 79

recycle-delay

Minimum delay.

integer

Minimum value: 0 Maximum value: 3600

0