Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Port QoS with Vlan policing

Platform: CISCO 6513-E

Linecard:WS-X6724-SFP

IOS ver: Version 12.2(18)SXF17b, RELEASE SOFTWARE (fc1)

Objective:Police the traffic if it exceed and guarantee the bandwidth when congestion occur on egress。

Q: This LAN port doesn't support MQC. We use Port based QoS. But Port QoS doesn't have a mechanism like "policing" or "shaping" on egress.

     Base on document ID “12493” 《QoS Policing on Catalyst 6500/6000 Series Switches》:

Egress policing. The Supervisor 720 supports ingress policing on a port or VLAN interface. It supports egress policing on a port or L3 routed interface (in the case of Cisco IOS System Software). All ports in the VLAN are policed on egress regardless of the port QoS mode (whether port-based QoS or VLAN-based QoS). Microflow policing is not supported on egress. Sample configurations are provided in the Configure and Monitor Policing in CatOS Software section and Configure and Monitor Policing in Cisco IOS Software section of this document.”

     We decide to use MQC on VLAN to policing the traffic per port,and use Port QoS on each port in VLAN to guarantee the different flow. Did it works?

------------------------------------------configuration--------------------------------------------------------------------------------------

policy-map police
  class class-default
   police cir 3200000 bc 100000 be 100000 conform-action transmit exceed-action drop violate-action drop

----------------MQC on VLAN 100 to Policing traffic---------------------------

interface Vlan100
no ip address
service-policy output police

-----------------Port QoS to guarantee bandwidth--------------------------

interface GigabitEthernet1/24
switchport
switchport access vlan 100
switchport mode access
no ip address
wrr-queue bandwidth 5 30 65
wrr-queue queue-limit 5 25 50
wrr-queue random-detect min-threshold 3 50 60 70 80 90 100 100 100
wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 2 100 100 100 100 100 100 100 100
wrr-queue random-detect max-threshold 3 60 70 80 90 100 100 100 100
wrr-queue cos-map 1 1 1
wrr-queue cos-map 2 1 0
wrr-queue cos-map 3 1 4
wrr-queue cos-map 3 2 2
wrr-queue cos-map 3 3 3
wrr-queue cos-map 3 4 6
wrr-queue cos-map 3 5 7

---------------------------------------------

Everyone's tags (3)
748
Views
0
Helpful
0
Replies