redundancy-policy (Interchassis Services Redundancy)
Syntax
redundancy-policy policy-name { redundancy-events [event-list] { then { acquire-mastership; <add-static-route destination { (next-hop next-hop | receive); routing-instance routing-instance }> <broadcast-warning> ; <delete-static-route destination { routing-instance routing-instance; }> <(release-mastership | release-mastership-force);> } } }
Hierarchy Level
[edit policy-options]
Description
Specify the actions to be taken for redundancy events. These include acquiring or releasing primary role and adding or deleting static routes.
Options
acquire-mastership | Switch from standby to primary role. |
add-static-route destination | (Optional) Use the specified destination IP address and prefix for an added signal route. |
broadcast-warning | (Optional) Switch status from Standby to Standby (Warned). |
delete-static-route destination | (Optional) Use the specified destination IP address and prefix for a deleted signal route. |
event-list | List of names of one or more monitored events that trigger the actions specified in this policy. |
next-hop | Interface name for the next hop for an added signal route. |
policy-name | Name of the redundancy policy. |
receive | Use the added signal route as a receive route. |
release-mastership | (Optional) Switch from primary to standby role. |
release-mastership-force | (Optional) Force switch from primary to standby role. |
routing-instance routing-instance | (Optional) Name of the vrf used for the added signal route. |
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 17.1.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.