11-04-2010 07:09 PM - edited 03-04-2019 10:22 AM
Can anyone tell me if this will work? The idea is to classify certain HTTP traffic then route it over a secondary WAN link limiting some of the bandwidth hog websites from our primary link.
class-map match-any http-secondary-traffic
match protocol http host *youtube.com*
match protocol http host *video.google*
match protocol http host "*myspace*"
match protocol http host "*facebook*"
match protocol http host "*flickr*"
match protocol http host "*video.msn*"
match protocol http host "*fbcdn.net*"
match protocol http host "*grooveshark*"
policy-map mark-secondary-traffic
class http-secondary-traffic
set ip dscp 1
ip access-list extended http-secondary-traffic
permit ip any any dscp 1
route-map route-http-secondary 10
match ip address http-secondary-traffic
set interface FastEthernet1
interface Vlan1
ip policy route-map route-http-secondary
service-policy input mark-secondary-traffic
Solved! Go to Solution.
11-08-2010 03:05 AM
Hello,
This should work as you expect, although I didn't test it.
You need to be sure of the order of operations: marking needs to be done before PBR, but this should be the case in all IOS release.
You can check this in the recent CEF code (post 12.4(15)T image, not included) with "show cef interface
Here is an example with your config:
Router#sh cef int eth 1/0
Ethernet1/0 is up (if_number 7)
[...]
Input features: CCE Input Classification, QoS Marking, Policy Routing
IP policy routing is enabled
[...]
You can see that QoS marking is before policy routing as said.
11-08-2010 03:05 AM
Hello,
This should work as you expect, although I didn't test it.
You need to be sure of the order of operations: marking needs to be done before PBR, but this should be the case in all IOS release.
You can check this in the recent CEF code (post 12.4(15)T image, not included) with "show cef interface
Here is an example with your config:
Router#sh cef int eth 1/0
Ethernet1/0 is up (if_number 7)
[...]
Input features: CCE Input Classification, QoS Marking, Policy Routing
IP policy routing is enabled
[...]
You can see that QoS marking is before policy routing as said.
05-23-2016 08:54 AM
Here we are - 6 years later. I tested it and it works without any issue. Thanks!
01-30-2020 12:50 AM
Thanks for your testing.
4 years after your testing, I need to apply a similar solution in my company and it helped me a lot
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide