Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


egress-protection (MPLS)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 10.4.

Options primary, protector, and metric introduced in Junos OS Release 11.4R3.

Option advertise-mode introduced in Junos OS Release 13.3.


Enables an Edge Protection Virtual Circuit (EPVC) for the MPLS protocol.


context-identifier context-id-ip-address(Optional) The context identifier IPv4 address.
metric igp-metric-value(Optional) The IGP metric value ranging from 2 through 16777215.
(primary | protector)On the primary PE router, configure as type primary. On the protector PE router, configure as type protector.

Required Privilege Level

routing—To view this statement in the configuration.

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