10-26-2010 04:33 AM - edited 03-04-2019 10:15 AM
I am trying to shape traffic from hub site to slower spokes sites. I want to stop the hub site trying to send at a greater rate than the spoke can accept. An example would be copying a 10m file from hub to spoke.
I have two examples below; example 1 gives a blanket shaping to all sites (no good).
example 2 or 3 is what I think I need? I am looking forward to your suggestions.
all sites Cisco 877s 12.4(24)T3
site a 1m
site b 512k
site c 768
example 1
class-map match-any VOICE
match dscp ef
match dscp cs3
match dscp af41
match access-group name VOICE
match access-group name VOICE-CONTROL
class-map match-any RemoteSupport
match access-group name RDP
!
policy-map VOICEWAN
class VOICE
priority 250
class RemoteSupport
bandwidth 300
class class-default
fair-queue
policy-map SHAPING_OUTBOUND
class class-default
shape average 776000
service-policy VOICEWAN
example 2
class-map match-all to-b
match access-group 122
class-map match-all to-c
match access-group 120
class-map match-any VOICE
match dscp ef
match dscp cs3
match dscp af41
match access-group name VOICE
match access-group name VOICE-CONTROL
class-map match-any RemoteSupport
match access-group name RDP
!
policy-map VOICEWAN
class VOICE
priority 250
class RemoteSupport
bandwidth 300
class to-b
shape average 512000
class to-c
shape average 768000
class class-default
fair-queue
example 3
class-map match-all to-b
match access-group 122
class-map match-all to-c
match access-group 120
class-map match-any VOICE
match dscp ef
match dscp cs3
match dscp af41
match access-group name VOICE
match access-group name VOICE-CONTROL
class-map match-any RemoteSupport
match access-group name RDP
!
policy-map SHAPING_OUTBOUND
class to-b
shape average 512000
service-policy VOICEWAN
class to-c
shape average 768000
service-policy VOICEWAN
class class-default
shape average 776000
service-policy VOICEWAN
10-26-2010 07:31 AM
Couple of pointers if it helps:-
Example 1 is also good to go provided you give the spoke 2 more queues, ie inside the child policy.
It is always recommended to give EF a seperate LLQ.
Give a small queue for the Voice Control and another one for the Video it its there.
A mixture of examples 1 and 2 may be the ideal choice that you are looking forward to.
HTH
10-26-2010 12:25 PM
Hi, Can you give me an example? I am not sure how to give more queues.
Thanks
,
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