egress-protection (BGP)
Syntax
egress-protection { context-identifier context-id-ip-address; keep-import policy-name; }
Hierarchy Level
[edit protocols bgp group group-name family inet labeled-unicast], [edit protocols bgp group group-name family inet-vpn unicast], [edit protocols bgp group group-name family inet6-vpn unicast], [edit protocols bgp group group-name family iso-vpn unicast]
Description
Enable egress protection for the configured BGP Network Layer Reachability Information (NLRI).
Options
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.