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