帮助我们改善您的体验。

让我们了解您的想法。

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

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

城域以太网论坛 (MEF) 运营商以太网 (CE) 2.0 标准集对用户到网络接口 (UNI) 的带宽配置文件实施有严格的要求。MEF CE 2.0 认证合规性仅允许在所有帧尺寸中与 UNI 承诺速率或峰值速率相差 2%。这意味着监管器应考虑 UNI 接口上的帧大小,包括帧校验和,并排除可能在服务提供商网络内部添加的所有其他开销(如 S-VLAN)。

为了满足MEF CE 2.0对带宽配置文件的严格要求, policer-overhead 根据每个IFL或方向粒度定义了调整。此 policer-overhead 调整范围为 -16 字节到 +16 字节,适用于在指定 IFL 或方向上考虑第 1 层/第 2 层 (L1/L2) 数据包长度的所有监管器,包括相应的逻辑接口系列 (IFF) 功能监管器。

要配置监管器开销,请执行以下操作:

  1. 在配置模式下的 [编辑接口] 层次结构级别,创建用于将监管器开销添加到输入或输出流量的接口。
    content_copy zoom_out_map
    [edit interfaces]
    user@host# edit interfaces interface name
    

    例如:

    content_copy zoom_out_map
    [edit interfaces interface name]
    user@host# edit xe-0/1/6
    
  2. 创建要在其上添加监管器开销的设备。
    content_copy zoom_out_map
    [edit interfaces unit]
    [edit interfaces interface name unit unit-number]
    

    例如:

    content_copy zoom_out_map
    [edit interfaces unit]
    user@host# edit xe-0/1/6 unit 0
    
  3. 为入口监管器配置监管器开销。
    content_copy zoom_out_map
    [edit interfaces interface name unit unit-number ]
    user@host# set policer-overhead ingress value in bytes (-16..+16 bytes)
    

    例如:

    content_copy zoom_out_map
    [edit xe-0/1/6 unit 0]
    user@host# set policer-overhead ingress 10;
    
  4. 为出口监管器配置监管器开销。
    content_copy zoom_out_map
    user@host# set policer-overhead egress value in bytes (-16..+16 bytes)
    

    content_copy zoom_out_map
    [edit xe-0/1/6 unit 0]
    user@host# set policer-overhead egress 10;
    
  5. 验证配置。
    content_copy zoom_out_map
    [edit interfaces]
    user@host# show interfaces xe-0/1/6
    xe-0/1/6 {                          
            unit 0 {                        
                policer-overhead {          
                    ingress 10;             
                    egress 10;              
                }                           
            }                               
        }
    user@host>show interfaces xe-0/1/6    
    Physical interface: xe-0/1/6, Enabled, Physical link is Up
      Interface index: 161, SNMP ifIndex: 544
      Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, MAC-REWRITE Error: None,
      Loopback: None, Source filtering: Disabled, Flow control: Enabled
      Pad to minimum frame size: Disabled
      Device flags   : Present Running
      Interface flags: SNMP-Traps Internal: 0x4000
      Link flags     : None
      CoS queues     : 8 supported, 8 maximum usable queues
      Schedulers     : 0
      Current address: 00:23:9c:fc:a8:58, Hardware address: 00:23:9c:fc:a8:58
      Last flapped   : 2015-09-13 20:12:36 PDT (14:21:57 ago)
      Input rate     : 0 bps (0 pps)
      Output rate    : 0 bps (0 pps)
      Active alarms  : None
      Active defects : None
      PCS statistics                      Seconds
        Bit errors                             0
        Errored blocks                         0
      Link Degrade :                      
        Link Monitoring                   :  Disable
      Interface transmit statistics: Disabled
    
      Logical interface xe-0/1/6.0 (Index 339) (SNMP ifIndex 571)
        Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
        Policer overhead :
         Ingress policer overhead  :                    10 bytes
         Egress policer overhead   :                    10 bytes
        Input packets : 0
        Output packets: 0
        Protocol multiservice, MTU: Unlimited
          Flags: Is-Primary                 
    
    
    
    user@host> show interfaces xe-0/1/6.0            
      Logical interface xe-0/1/6.0 (Index 339) (SNMP ifIndex 571)
        Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
        Policer overhead :
         Ingress policer overhead  :                    10 bytes
         Egress policer overhead   :                    10 bytes
        Input packets : 0
        Output packets: 0
        Protocol multiservice, MTU: Unlimited
          Flags: Is-Primary
    
    
footer-navigation