帮助我们改善您的体验。

让我们了解您的想法。

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

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 仅提供英文版.

在 ACX 系列路由器上配置聚合父监管器和子监管器

date_range 18-Jan-25

在 ACX 系列路由器上,支持两级入口分层管制。单级监管器定义单个带宽配置文件。您必须首先定义子监管器或从属监管器,并将它们与全局适用于整个系统的聚合父监管器关联或链接。您可以为子监管器配置分层或聚合监管模式,例如峰值模式、保证模式或混合监管模式。

注:

分层监管器不适用于 ACX5048、ACX5096、ACX7332、ACX7348、ACX7059、ACX7024、ACX7024X 和 ACX7100 路由器。

注:

ACX 路由器上的分层管制机制不同于 MX 系列路由器支持的层次管制功能。在具有分层监管器的 MX 系列路由器上,只能在父顶级监管器下配置一个子监管器或从属监管器,而在 ACX 系列路由器上,您可以在层次结构级别的单个父监管器 [edit firewall] 下聚合和指定多个子监管器。ACX 路由器上的分层管制方法也称为聚合管制。hierarchical-policer MX 系列路由器上支持的层次结构级别的语句及其子语句[edit firewall]不适用于 ACX 系列路由器。

要为聚合父监管器配置子监管器或微型监管器,并将父监管器与子监管器关联:

  1. 将一个普通监管器配置为子监管器,并指定聚合监管模式。
    content_copy zoom_out_map
    user@host# set policer mi_pol_1 if-exceeding bandwidth-limit 25m 
    user@host# set policer mi_pol_1 if-exceeding burst-size-limit 3k 
    user@host# set policer mi_pol_1 if-exceeding aggregate-policing policer mi_pol_x aggregate-sharing-mode peak;
    user@host# set policer mi_pol_1 then discard
    
  2. 将另一个普通监管器配置为子监管器,并指定聚合监管模式。该 aggregate-sharing-mode 选项是数据包转发引擎语句。
    content_copy zoom_out_map
    user@host# set policer mi_pol_2 if-exceeding bandwidth-limit 30m 
    user@host# set policer mi_pol_2 if-exceeding burst-size-limit 30k 
    user@host# set policer mi_pol_2 if-exceeding aggregate-policing policer mi_pol_x aggregate-sharing-mode peak;
    user@host# set policer mi_pol_2 then discard
    
  3. 将聚合父监管器定义为系统的全局监管器。该 aggregate-sharing-mode 选项是数据包转发引擎语句。
    content_copy zoom_out_map
    user@host# set policer mi_pol_x if-exceeding bandwidth-limit 55m 
    user@host# set policer mi_pol_x if-exceeding burst-size-limit 35k
    user@host# set policer mi_pol_x aggregate global
    
  4. 验证使用 show filter policer template 命令配置的所有监管器模板的设置。
    content_copy zoom_out_map
    user@host# show filter policer template
    AppType Template name       Bw limit-bits/sec      Burst-bytes     Action Options
    ------- -------------       -----------------      -----------     --------------
          0 mi_pol_1
                                25000000                3000             DROP
             Aggregate Child of mi_pol_x mode=2
          0 mi_pol_2
                                30000000                30000            DROP
             Aggregate Child of mi_pol_x mode=2
          0 mi_pol_x
                                55000000                35000            DROP
             Aggregate Parent
    
  5. 使用 show filter aggregate-policer 命令查看链接到聚合父监管器的已配置监管器实例。
    content_copy zoom_out_map
    user@host# show filter aggregate-policer p1
    CHILDREN
    -------
    #1) [UNI1_filtermi_pol_trtcm1-t2]  CBS[1000]kB; CIR[10000]kbps;  CBS[2000]kB; PIR[30000]kbps; Agg mode = 3;
    #2) [UNI2_filtermi_pol_trtcm2-t2]  CBS[1000]kB; CIR[15000]kbps;  CBS[2000]kB; PIR[35000]kbps; Agg mode = 3;
    
    
    PARENT
    ------
    [p1]  PBS[3000]kB; PIR[38000]kbps;
    Sum child CIR[25000]kbps;CBS[2000]kB;
    Sum child PIR[65000]kbps;PBS[4000]kB;
    Max child CIR[15000]kbps;CBS[1000]kB;
    Max child PIR[35000]kbps;PBS[2000]kB;
    
    
    RESULTS
    -------
    
    
    STATUS = OK
    
footer-navigation