Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


egress-protection (BGP)


Hierarchy Level


Enable egress protection for the configured BGP Network Layer Reachability Information (NLRI).


context-identifier context-id-ip-address

(Optional) The IPv4 address of the context identifier.

keep-import policy-name

The import policy that contains routes with the configured route target community. BGP keeps all these routes in the VPN routing table. The protector PE router scans the policy and builds the remote instance with the configured community name from the policy.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.4R3.

Statement introduced for labeled unicast in Junos OS Release 14.1.