The next policy function would be used when you do policy chaining in order to have single modular policies that are easier to maintain.
- Create a single policy for each criteria that can be reused in multiple peers examples:
- read a community and perform the desired function
- perform an import or export based on protocol
- reject all policy to terminate chains
- Instead of having a single policy with all the terms on a peer arrange the chain of policies in the desired order ending with reject all
- Now any changes to your policies already created only need to occur in the one single policy and are immediately in use by all peers.
The next term function would be used if you want to prevent a policy exit and perform a second function on an event matching the criteria
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 09-23-2022 01:58
From: Unknown User
Subject: Question on next-policy and next-term actions of a routing policy
Hi.
Can anyone please provide examples of the use of the next-term and next-policy actions of a routing policy?
Thanks,
Deepak
Juniper Business Use Only