QOS based on IP subnets

Unanswered Question
Apr 25th, 2008
User Badges:

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!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
PAUL TRIVINO Fri, 04/25/2008 - 15:40
User Badges:
  • Bronze, 100 points or more

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

ip access-list extended priority-subnet

permit ip any <= if by destination

permit ip 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


priority percent 35

Hope that's not too much info or oversimplified.


justinfvoeller Mon, 04/28/2008 - 07:13
User Badges:

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?

PAUL TRIVINO Mon, 04/28/2008 - 07:46
User Badges:
  • Bronze, 100 points or more

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



This Discussion