通信人家园

标题: 阿卡SR7750设备端口限速  [查看完整版帖子] [打印本页]

时间:  2011-11-2 14:36
作者: lwjzjut     标题: 阿卡SR7750设备端口限速

我们以前在接入交换机,路由器上端口限速,现在提供一下我们的SR7750上的端口限速.
1 .  多address,多sap,问题 需要多段IP地址
configure qos
         sap-ingress  500   create
               description “qos 500M”
               rate 500000  cir 500000
         exit  
         sap-egress  500   create
               description “qos 500M”
               rate 500000  cir 500000
         exit  
exit all
  
configures service
       ies  109999 customer 9999 create
             description “xxxx co。”
             interface  "ge-2/1/1"   create
                   address   x1.x1.x1.x1/30
                   sap 2/1/1 create
                      ingress
                          qos 500
                      exit
                      egress
                          qos 500
                      exit
                   exit
              exit
  
             interface  "ge-2/1/2"   create
                   address   x2.x2.x2.x2/30
                   sap 2/1/2 create
                      ingress
                          qos 500
                      exit
                      egress
                          qos 500
                      exit
                   exit
              exit
exit all
  
2  lag方式(端口捆绑)
configure qos
         sap-ingress  500   create
               description “qos 500M”
                          queue 1 create
                         rate 512000  cir 512000
                          exit
                          queue 11 multipoint create
                         exit
                exit
         sap-egress  500   create
              description “qos 500M”
                          queue 1 create
                       rate 512000  cir 512000
                           exit                           queue 11 multipoint create
                         exit
        exit  
exit all
configure subscriber-mgmt
    sla-prof “sla-500M"”
       description “SLA-500M”  
       ingress
          qos 500
          exit
       exit
       egress
          qos 500
          exit
       exit
    exit
      sub-profile "sub-prof-local"   # 用户模板,一个就可以
               sla-profile-map     
                  use-direct-map-as-default
              exit       exit
exit all
configure lag  80
       description "********"        #i
       mode access
       port  2/1/1
       port  2/1/2
exit
configures service ies  101819 customer 1819 create
         description "********"        #
         interface  "to-cmxy" create
              address 112.3.72.100/30
              sap lag-80:100.200 create
                  sub-sla-mgmt
                      multi-sub-sap 5000
                      no shutdown
                  exit
                  static-host ip 112.3.72.100 create
                      sla-profile "sla- 500M "       #预先定义的速率策略
                      sub-profile "sub-prof-local"     #预先定义的用户策略
                      subscriber "sub-cmxy"            #每个用户一个名字,如果采用相同的名字,将共享速率,建议与用户端口描述一致
                      no shutdown
                  exit
exit all
时间:  2011-11-2 18:50
作者: xhy133

kankan




通信人家园 (https://www.txrjy.com/) Powered by C114