When you use a group of next hops in your monitoring group, you can load-balance traffic and distribute it to the export interfaces if you configure policy options. To configure, include the load-balance per-packet statement at the [edit policy-options policy-statement policy-name then] hierarchy level. You can also reject import and export of VRF routes by including the reject statement at the [edit policy-options policy-statement policy-name then] hierarchy level.
- [edit]
- routing-options {
-
- forwarding-table {
- export pplb;
- }
- }
- policy-options {
-
- policy-statement monitoring-vrf-import {
-
- then {
- reject;
- }
- }
-
- policy-statement monitoring-vrf-export {
-
- then {
- reject;
- }
- }
-
- policy-statement pplb {
-
- then {
- load-balance per-packet;
- }
- }
- }