cgnv6 template pcp

Configure a template to set Port Control Protocol (PCP) options.

pcp Specification

Type Collection
Object Key(s) name
Collection Name pcp-list
Collection URI /axapi/v3/cgnv6/template/pcp/
Element Name pcp
Element URI /axapi/v3/cgnv6/template/pcp/{name}
Element Attributes pcp_attributes
Schema pcp schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/cgnv6/template/pcp/

pcp Attributes

Create List

POST

/axapi/v3/cgnv6/template/pcp/

pcp Attributes

Get Object

GET

/axapi/v3/cgnv6/template/pcp/{name}

pcp Attributes

Get List

GET

/axapi/v3/cgnv6/template/pcp/

pcp-list

Modify Object

POST

/axapi/v3/cgnv6/template/pcp/{name}

pcp Attributes

Replace Object

PUT

/axapi/v3/cgnv6/template/pcp/{name}

pcp Attributes

Replace List

PUT

/axapi/v3/cgnv6/template/pcp/

pcp-list

Delete Object

DELETE

/axapi/v3/cgnv6/template/pcp/{name}

pcp Attributes

pcp-list

pcp-list is JSON List of pcp Attributes

pcp-list : [

pcp Attributes

allow-third-party-from-lan

Description: Enables support for the third-party option in MAP requests received on the LAN. This option instructs the ACOS device to use the address specified in the MAP request, instead of the source address of the request packet, as the internal address for the mapping.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

allow-third-party-from-wan

Description: Enables support for the third-party option in MAP requests received on the WAN. This option instructs the ACOS device to use the address specified in the MAP request, instead of the source address of the request packet, as the internal address for the mapping.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

announce

Description: PCP ANNOUNCE Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

check-client-nonce

Description: Enable validation of the PCP MAP NONCE.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

disable-map-filter

Description: Disable the process to FILTER in PCP MAP.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

map

Description: PCP MAP Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

maximum

Description: To set maximum lifetime of PCP mappings (default 1440 minutes)

Type: number

Range: 2-1440

Default: 1440

minimum

Description: To set minimum lifetime of PCP mappings (default 2 minutes)

Type: number

Range: 2-1440

Default: 2

name

Description: PCP Template name

Type: string

Format: string-rlx

Required: Yes

pcp-server-port

Description: PCP server listening port (default 5351) (PCP UDP destination port)

Type: number

Range: 1024-65535

Default: 5351

peer

Description: PCP PEER Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

source-ip

Description: Specify source IP address for IPv4 ANNOUNCE message

Type: string

Format: ipv4-address

source-ipv6

Description: Specify source IPv6 address for IPv6 ANNOUNCE message

Type: string

Format: ipv6-address

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string