Class-Base Weight Fair Queuing (CBWFQ)

Posted by nkjok
2017. 12. 19. 09:47 네트워크-Router, Switch, Security/라우터-Router
반응형

Class Map을 활용해 다수의 대기열을 만들어차별적인 서비스를 실시할 수 있다.



셋팅

class-map match-any ftp

 match  precedence 3

!

policy-map queuing-1

 class ftp

  bandwidth 2000

!

interface Serial0/0/0

 ip address 200.1.1.1 255.255.255.0

 duplex auto

 speed auto

 service-policy output cbwfq






적용후

 HQ_SE_Core_R1#show policy-map int s0/0/0

 Serial0/0/0

  Service-policy output: queuing-1

    Class-map: nftp (match-any)

      23718 packets, 25370200 bytes

      5 minute offered rate 605000 bps, drop rate 0 bps

      Match:  precedence 3

        23718 packets, 25370200 bytes

        5 minute rate 605000 bps

      Queueing

        Output Queue: Conversation 265

        Bandwidth 2000 (kbps)Max Threshold 64 (packets)

        (pkts matched/bytes matched) 2/2628

        (depth/total drops/no-buffer drops) 0/0/0

    Class-map: class-default (match-any)

      214 packets, 21419 bytes

      5 minute offered rate 1000 bps, drop rate 0 bps

      Match: any


반응형