在 M、MX 或 T 系列路由器上配置策略选项
当您在监控组中使用一组下一跃点时,如果配置了策略选项,则可以对流量进行负载均衡并将其分发到导出接口。要配置,请在 load-balance per-packet
层次结构级别包含语句 [edit policy-options policy-statement policy-name then]
。您还可以在层次结构级别包含 reject
语句来拒绝 VRF 路由的 [edit policy-options policy-statement policy-name then]
导入和导出。
[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; } } }