Home > Configuration > Pcp > addpcpprofile

addpcpprofile

Use this method to creates a pcp profile.

Syntax



Parameters

name

Name for the PCP Profile. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my pcpProfile" or my pcpProfile).
This is mandatory parameter.

mapping

This argument is for enabling/disabling the MAP opcode of current PCP Profile
Default value = ENABLED.

peer

This argument is for enabling/disabling the PEER opcode of current PCP Profile
Default value = ENABLED.

minmaplife

Integer value that identify the minimum mapping lifetime (in seconds) for a pcp profile. default(120s)
Minimum value = 1.
Maximum value = 2147483647.

maxmaplife

Integer value that identify the maximum mapping lifetime (in seconds) for a pcp profile. default(86400s = 24Hours).
Minimum value = 1.
Maximum value = 2147483647.

announcemulticount

Integer value that identify the number announce message to be send.
Default value = 10.
Minimum value = 0.
Maximum value = 65535.

thirdparty

This argument is for enabling/disabling the THIRD PARTY opcode of current PCP Profile
Default value = DISABLED.

Return Value

Returns simpleResult

See Also