rule (PCP)
Syntax
rule rule-name { match-direction (input | output); term term-name { from { application-sets set-name; applications [ application-name ]; destination-address address <except>; destination-address-range high maximum-value low minimum-value <except>; destination-port high maximum-value low minimum-value; destination-prefix-list list-name <except>; source-address address <except>; source-address-range high maximum-value low minimum-value <except>; source-prefix-list list-name <except>; } then { pcp-server server-name; } } } }
Hierarchy Level
[edit services pcp]
Description
Configure a rule to assign the port control protocol (PCP) server that handles selected traffic. PCP enables hosts to operate servers for a long time (as in the case of a webcam) or a short time (for example, while playing a game or on a phone call) when behind a NAT device, including when behind a carrier-grade NAT operated by their ISP. PCP enables applications to create mappings from an external IP address and port to an internal IP address and port.
PCP is supported on the MS-DPC, MS-100, MS-400, and MS-500 MultiServices PICS. Starting in Junos OS Release 17.4R1, PCP is also supported on the MS-MPC and MS-MIC.
Options
rule-name | Rule name |
The remaining statements are explained separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 13.2R1.