12-23-2014 11:35 AM - edited 03-07-2019 10:00 PM
Hi,
Is it possible to shape and apply queuing mechanisms all in one policy-map out of an 4500's interface ?
Thx
12-23-2014 08:20 PM
Hi Seb,
On 4500 (Supervisor Engines 8-E, 7-E, 7L-E, 6‑E and 6L-E) supports MQC QOS this tool can be use for traffic classification on basis of that you can perform with treatment like Prioritize , Shape and polices.
This example shows how to configure class level, average shape percentage to 32 percent of link bandwidth for queuing-class traffic:
Switch# configure terminal
Switch(config)# policy-map queuing-policy
Switch(config-pmap)# class queuing-class
Switch(config-pmap-c)# shape average percent 32
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# service-policy output queuing-policy1
Switch(config-if)# end
Switch #
Switch# show policy-map queuing-policy
Policy Map queuing-policy
Class queuing-class
Average Rate Traffic Shaping
cir 32%
Refer to below mention link for better understand.
http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-4500-series-switches/white_paper_c11-539588.html
Br.
Mohseen Patel
12-24-2014 03:49 AM
Hi Mohseen,
Thanks for the answer.
I've actually already read the document your pointing out, but it doesn't give an answer to my problem.
What I need to do is be able to shape on globally on the port and be able to aplly some queuing on the same port.
The 4500 port is negotiating at 1gbps but connected to a MPLS handoff of 100mbps. Hence the need of shaping the traffic. But I also need to prioritise traffic etc on the MPLS.
As you might have noticed, when you're in a policy-map on the 4500 you cannot the service-policy command under the class-default class.
So how can I work around this problem? For instance, on a router this would be configured this way using HQF:
Switch# configure terminal Switch(config)# policy-map SHAPING Switch(config-pmap)# class class-default Switch(config-pmap-c)# shape average 100000000 Switch(config-pmap-c)# service-policy QEUEUING Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# policy-map QEUEUING Switch(config-pmap)# class VOICE Switch(config-pmap-c)# priority Switch(config-pmap-c)# exit Switch(config-pmap)# class BUSINESS Switch(config-pmap-c)# bandwith 20000 Switch(config-pmap-c)# exit Switch(config-pmap)# class class-default Switch(config-pmap-c)# dbl Switch(config-pmap-c)# exit Switch(config)# interface Te2/1/10 Switch(config-if)# service-policy output SHAPING
Thanks in advance for your help
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