Jump to content
Калькуляторы

Service-policy и Port-channel интерфейс

Коллеги, будет ли работать policing/shaping на Port-channel 802.1q интерфейсе?

 

interface Port-channel2.532

description = Customer =

encapsulation dot1Q 532

ip address 192.168.0.1 255.255.255.248

service-policy output SHAPER-USER-35MBIT

 

policy-map OUT-WAN-USER

class class-default

fair-queue

random-detect

policy-map SHAPER-USER-35MBIT

class class-default

shape average 35000000

service-policy OUT-WAN-USER

Share this post


Link to post
Share on other sites

Ну проверь же. sh policy-map interface po2.532, если не suspend то все ок

Share this post


Link to post
Share on other sites

Ну проверь же. sh policy-map interface po2.532, если не suspend то все ок

 Port-channel2.532 

 Service-policy output: SHAPER-USER-35MBIT

   Class-map: class-default (match-any)
     561596255 packets, 785347912365 bytes
     5 minute offered rate 1061000 bps, drop rate 0 bps
     Match: any 
     Queueing
     queue limit 64 packets
     (queue depth/total drops/no-buffer drops) 0/0/0
     (pkts output/bytes output) 0/0
     shape (average) cir 35000000, bc 140000, be 140000
     target shape rate 35000000

     Service-policy : OUT-WAN-USER

       Class-map: class-default (match-any)
         561596276 packets, 785347954999 bytes
         5 minute offered rate 1061000 bps, drop rate 0 bps
         Match: any 
         Queueing
         queue limit 64 packets
         (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
         (pkts output/bytes output) 0/0
         Fair-queue: per-flow queue limit 16
           Exp-weight-constant: 9 (1/512)
           Mean queue depth: 0 packets
           class     Transmitted       Random drop      Tail/Flow drop Minimum Maximum Mark
                     pkts/bytes    pkts/bytes       pkts/bytes    thresh  thresh  prob

           0               0/0               0/0              0/0                 20            40  1/10
           1               0/0               0/0              0/0                 22            40  1/10
           2               0/0               0/0              0/0                 24            40  1/10
           3               0/0               0/0              0/0                 26            40  1/10
           4               0/0               0/0              0/0                 28            40  1/10
           5               0/0               0/0              0/0                 30            40  1/10
           6               0/0               0/0              0/0                 32            40  1/10
           7               0/0               0/0              0/0                 34            40  1/10

 

Вроде работает, но по графику вижу, что были всплески до 80 Мбит/c

Share this post


Link to post
Share on other sites

По дефолту output полисинг/шейпинг на портченелах не работает.

Share this post


Link to post
Share on other sites

Работает, если включить vlan-based load-balancing. Но тогда баланисровка по лагу может стать далёкой от желаемой.

Share this post


Link to post
Share on other sites

В выводе было бы suspended, а тут ок. Попробуйте полисинг на таких скоростях разницы не увидите.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this