zoukankan      html  css  js  c++  java
  • 常见交换机流统配置自动化总结

    一、华为

    #
    acl number 3001 
     description for-traffic-account-only
    #
    traffic classifier traffic_account type or 
    #
    traffic behavior traffic_account 
     statistics enable
    #
    traffic policy traffic_account
     classifier traffic_account behavior traffic_account precedence 5
    #
    
    
    
    ###提前在所有接口下调用###
    #
    interface 10ge X/X/X
      traffic-policy traffic_account inbound 
    #

    acl number 3001
    description .*
     
    traffic classifier traffic_account .*
    traffic behavior traffic_account
    statistics enable
    traffic policy traffic_account
    classifier traffic_account behavior traffic_account precedence 5
     
    interface .*
    traffic policy traffic_account inbound

    二、华三

    #
    acl number 3001
     description for-traffic-account-only
    #
    traffic classifier traffic_account 
    #
    traffic behavior traffic_account
     accounting packet
    #
    qos policy traffic_account
     classifier traffic_account behavior traffic_account
    #
    
    ###提前在所有接口下调用###
    #
    interface Ten-GigabitEthernet X/X/X
      qos apply policy traffic_account inbound 
    #

    acl number 3001
    description .*
     
    traffic classifier traffic_account .*
    traffic behavior traffic_account

    accounting packet
    qos policy traffic_account
     classifier traffic_account behavior traffic_account


     
    interface .*

    qos apply policy traffic_account inbound 

    三、思科

    #
    ip access-list traffic_account
     statistics per-entry
     100 permit ip any any
    #
    
    ###提前在所有接口下调用###
    #
    interface ethernet X/X
      ip access-group traffic_account in  
    #
    ip access-list traffic_account
     statistics per-entry
     100 permit ip any any
    interface .*
      ip access-group traffic_account in  

    四、瞻博

    #
    set firewall family inet filter traffic_account term Statistic then count traffic_account accept 
    set firewall family inet filter traffic_account term Permit then accept    
    #
    
    ###提前在所有接口下调用###
    #
    set interfaces x/x/x unit 0 family inet filter input traffic_account    
    #
    #
    set firewall family inet filter traffic_account term Statistic then count traffic_account accept 
    set firewall family inet filter traffic_account term Permit then accept    
    #
    #
    set interfaces .* unit 0 family inet filter input traffic_account    
    #

    五、自研

    #
    set firewall filter statistics term traffic_account then action forward
    #
    
    #
    set firewall filter statistics term traffic_account then action forward
    #
  • 相关阅读:
    nullnullConnecting with WiFi Direct 与WiFi直接连接
    nullnullUsing WiFi Direct for Service Discovery 直接使用WiFi服务发现
    nullnullSetting Up the Loader 设置装载机
    nullnullDefining and Launching the Query 定义和启动查询
    nullnullHandling the Results 处理结果
    装置输出喷泉装置(贪心问题)
    数据状态什么是事务?
    停止方法iOS CGD 任务开始与结束
    盘文件云存储——金山快盘
    函数标识符解决jQuery与其他库冲突的方法
  • 原文地址:https://www.cnblogs.com/qiaoyanlin/p/12897099.html
Copyright © 2011-2022 走看看