cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3415
Views
16
Helpful
3
Replies

QOS based on IP subnets

justinfvoeller
Level 1
Level 1

Hey guys,

I was wondering if it would be possible to do prioritization based on IP subnets? I have one subnet for internet access but runs through the same switches as the most important traffic. How could I give priority to the more important subnet? Thanks in advance!

3 Replies 3

PAUL TRIVINO
Level 3
Level 3

Surely. You simply set up your subnet to be matched:

ip access-list extended priority-subnet

permit ip any 192.168.1.0 255.255.255.0 <= if by destination

permit ip 192.168.1.0 255.255.255.0 any <= if by source

Then do a class for that ACL:

class-map match-all CLASS-PRIO-NET

match access-group name priority-subnet

Then put it in a policy:

policy-map QOS-POLICY

class CLASS-PRIO-NET

priority percent 35

Hope that's not too much info or oversimplified.

Paul

Thank you for that!!!

If I wanted to give one subnet 95% of the bandwidth, what would happen to the other subnets?

Also, is there a way that I can push this to switches to do qos at their level?

Not a simple question, but basically the bandwidth limits you set are only in cases where there is not enough bandwidth. If you give a class 95%, and 95% is available, it gets it. The exception is LLQ - "priority" keyword - where anything that exceeds the LLQ bandwidth is dropped. I.e., you can burst UP into LLQ bandwidth if it's available, but you can't burst down (exceed LLQ limits).

*Generally* (and it's a HUGE generalization), you use switches to mark traffic at the edge and use routers to enforce the limits, at least at remote sites. You can do limits on switches but it is not easy (compared to MQC).

Check the QoS SRND Guide, it is an excellent resource. http://www.cisco.com/en/US/netsol/ns656/networking_solutions_program_home.html

Paul

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco