帮助我们改善您的体验。

让我们了解您的想法。

您是否能抽出两分钟的时间完成一份问卷调查?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
keyboard_arrow_right

机器翻译对您有帮助吗?

starstarstarstarstar
Go to English page
免责声明:

我们将使用第三方机器翻译软件翻译本页面。瞻博网络虽已做出相当大的努力提供高质量译文,但无法保证其准确性。如果对译文信息的准确性有任何疑问,请参阅英文版本. 可下载的 PDF 仅提供英文版.

在路由策略中配置路由过滤器和源类

date_range 18-Jan-25

通过在策略语句中创建前缀路由过滤器来开始配置 SCU。这些前缀指示要监控的 IPv4 或 IPv6 源地址。在策略语句中,必须定义并命名附加到过滤器的源类。

content_copy zoom_out_map
[edit policy-options]
policy-statement policy-name {
    term term-name {
        from {
            route-filter address/prefix;
        }
        then source-class class-name;
    }
}
注:

配置策略操作语句时,只能为每个匹配路由配置一个源类。换句话说,不能将多个源类应用于同一路由。

使用策略操作的 forwarding-class 替代配置方法更加灵活。它允许您的 IPv4 或 IPv6 路由过滤器同时应用于 SCU 配置文件和/或 DCU 配置文件。此外,如果只有一个术语,则可以在[edit policy-options policy-statement policy-name]层次结构级别实现fromthen语句。

content_copy zoom_out_map
[edit policy-options]
policy-statement policy-name {
    from {
        route-filter 105.15.0.0/16 orlonger;
    }
    then forwarding-class class-name;
}

第三个选项是 的 destination-class现有 DCU 参数。有关 DCU 的详细信息,请参阅 Junos 策略框架配置指南

footer-navigation