Configuration Guidelines - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring VSS QoS
Switch(config)# interface gigabitEthernet3/1
Switch(config-if)# service-policy input p1
Switch(config-if)# exit
Use the show commands described in the QoS section to display the policy-map configuration and
interface specific policy-map statistics.
Example 3
Assume that there are two active flows on FastEthernet interface 6/1:
SrcIp
192.168.10.10
192.168.10.10
With the following configuration, each flow is policed to 1000000 bps with an allowed 9000 burst value.
Switch(config)# flow record r1
Switch(config-flow-record)# match ipv4 source address
Switch(config-flow-record)# match ipv4 destination address
Switch(config-flow-record)# match transport tcp source-port
Switch(config-flow-record)# match transport tcp destination-port
Switch(config-flow-record)# match transport udp source-port
Switch(config-flow-record)# match transport udp destination-port
Switch(config-flow-record)# exit
Switch(config)# class-map match-all c1
Switch(config-cmap)# match flow record r1
Switch(config-cmap)# exit
Switch(config)# policy-map p1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# police 1000000 9000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastEthernet 6/1
Switch(config-if)# service-policy input p1
Switch(config-if)# end

Configuration Guidelines

The general guidelines for creating, configuring, modifying, deleting a flow based QoS policy and
attaching (and detaching) a flow based QoS policy to a supported target is the same as described in the
QoS section. The following description and restriction applies to Flow based QoS policy:
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
42-44
Table 42-2
DStIp
192.168.20.20
192.168.20.20
A classmap can have multiple match statements but only one FNF flow record can be specified in a
class-map.
A flow record must have at least one key field before it can be used in a classmap. Non-key fields
can be present in the flow record. However, all the non-key fields are ignored by microflow QoS.
Only key-fields are used for flow creation.
If a FNF flow record is referenced in any class-map, the flow record cannot be modified. Remove
the flow record from all classmaps before modifying it.
A classmap with a FNF flow record must be configured as match-all; traffic hitting the class-map
must satisfy all match criteria in the class-map.
Chapter 42
IPProt
SrcL4Port
20
6789
20
6789
Configuring Quality of Service
DstL4Port
81
21
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents