QOS – shape all traffic expect specific ip/subnet

This config in this lab will shape all output traffic on wan link that matches a deny statement in the ACL to 100mbit, in this case it will be Iperf Server 1 (1.1.1.1) and all other traffic will go to class-default which is shaped to 300mbit

Topology



Router Config



class-map match-all internet_traffic
    match access-group 100

policy-map internet_out
    class internet_traffic
        shape average 100000000
    class class-default
        shape average 300000000
policy-map exit

access-list 100 deny ip any host 1.1.1.1
access-list 100 permit ip any any 

interface GigabitEthernet8
    service-policy output internet_out

Leave a Reply

Your email address will not be published. Required fields are marked *