cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1842
Views
0
Helpful
6
Replies

3850 QoS Shaping on WAN Interface?

darreng
Level 1
Level 1

I have a Cisco 3850 with IP Services and wish to use this to terminate a 1Gb/s line to my service provider. This link will be a trunk configured to carry 2 x VLAN's, and MPLS VLAN @100Mb/s and a WWW VLAN @ 50Mb/s.

The MPLS will terminate as an SVI on the 3850 and the WWW VLAN passed through at Layer 2 to a Cisco ASA which will terminte the Internet VLAN on it's outside interface.

I wish to configure the trunk link facing the PE router to shape the sub-rate traffic accordingly if possible. I'm currently running through the command reference guide for ideas. Can anyone point me in the right direction please.

I'm not averse to using a router, however, I'm hoping the switch will provide the features neccessary.

Regards

Darren

6 Replies 6

Hello,

you could match the VLAN numbers, this would look like the below (obviously the VLAN numbers must match your own):

Switch# configure terminal
Switch(config)# class-map MPLS_VLAN
Switch(config-cmap)# match vlan 10
Switch(config)# class-map WWW_VLAN
Switch(config-cmap)# match vlan 20

Switch(config)# policy-map LIMIT_BANDWIDTH
Switch(config-pmap)# class MPLS_VLAN
Switch(config-pmap-c)# police 100000000
Switch(config-pmap-c)#exit
Switch(config-pmap)# class WWW_VLAN
Switch(config-pmap-c)# police 50000000

Apply the policy map to the trunk, e.g.:

interface GigabitEthernet0/0/0
 service-policy output LIMIT_BANDWIDTH

Thank you very much for your reply.

We have applied this to our 3850 and are currently testing the configuration.

Many thanks.

Darren

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

BTW, just wanted to note, gpauwen's suggestion is using policing, not shaping, and that may, or may not, be ideal for your needs.

I haven't worked with the later 3Ks, so I cannot comment further on their QoS features, but with the prior 3Ks, you could shape egress queues (or the port).

Since you want to support two shapers, assuming you also wanted to further manage any congestion created by a shaper, you might need a router.

Appreciate that Joseph.

We added the config provided by gpauwen and changed the policing statement to shape average. The config seemed to take but we couldn't apply the shaper to more than a single interface.

We actually have a backup link (sub-rate) that's 2 x VLAN's - a 100Mb/s link using 80Mb/s MPLS and 20Mb/s WWW. Presently we have a mixture of a shaping config (1 x primary interface) and a policing config (1 x backup interface).

We're going to test the config further and see what results we get, I'm still intending to see what else I can glean from the config guide but we've certainly made some progress thanks to the kind help received here.

Regards

Darren

Joseph, Darren,

I actually suggested policing because shaping cannot be applied inbound, but policing can. Not sure what is actually needed.

The QoS configuration guide has more:

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/qos/configuration_guide/b_qos_3se_3850_cg/b_qos_3se_3850_cg_chapter_011.html

Thanks again gpauwen.

I should have been more specific, it was for outbound traffic control so that the carrier wouldn't drop our traffic if they were policing inbound.

I'll be sure to go over the QoS confg guide this evening. I see an example in there already. 

Regards

Darren