Skip to main content

Prioritize and Rate Limit

This is an example configuration showing how to apply prioritization and rate limiting on a interface level.

class ip any
    10 match any any any
class ip priority-hosts
    10 match any 10.128.0.120 any
    20 match any any 10.128.0.120
policy elan-in
    10 class ip priority-hosts action local-priority 6
    20 class ip any action local-priority 1
policy elan-out
    10 class ip priority-hosts action cir kbps 20480 cbs 128 exceed drop
    20 class ip any action cir kbps 286720 cbs 256 exceed drop

interface 1/1/27
    no shutdown
    mtu 9198
    no routing
    vlan trunk native 1280
    vlan trunk allowed all
    qos trust dscp
    loop-protect action tx-rx-disable
    apply policy elan-in in
    apply policy elan-out out

interface 1/1/28
    no shutdown
    mtu 9198
    no routing
    vlan trunk native 1280
    vlan trunk allowed all
    qos trust dscp
    loop-protect action tx-rx-disable
    apply policy elan-in in
    apply policy elan-out out