Software Classifiers ! 117
Chapter 4: Policy Resources
The configuration fails because the total value of the classifiers requested in the
ipPol policy is 136, which is greater than 128 bit CAM entry size limit.
Software Classifiers
An E-series router supports a variety of software classifiers, depending on the type
of interface. Ta b l e 1 4 and Ta b l e 1 5 list the supported software classifiers for each
interface type.
A line module supports 16,383 software classifiers. Software classifiers are
consumed at a rate of one resource per classifier category per policy. For example, if
you configure a policy that has three different destination route class rules, then
because all three rules are for the same classifier category, that policy consumes
only one software classifier resource. However, if you configure a policy that
requires classification on three different classifier categories, such as ToS, color, and
TCP flags, then that policy consumes three of the available 16,383 software
classifier resources.
Example In this example, the policy list named polWestford5 references four classifier lists
with a combination of software and hardware classifiers.
host1(config)#ip classifier-list clacl100 color red ip any any
host1(config)#ip classifier-list clacl200 color yellow user-packet-class 6 ip host
10.1.1.1 host 10.1.1.2
host1(config)#ip classifier-list clacl300 color green user-packet-class 5 ip any any
host1(config)#ip classifier-list clacl400 color red ip host 10.1.1.10 any
host1(config)#ip policy-list polWestford5
host1(config-policy-list)#classifier-group clacl100
host1(config-policy-list-classifier-group)#forward
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#classifier-group clacl200
host1(config-policy-list-classifier-group)#forward
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#classifier-group clacl300
host1(config-policy-list-classifier-group)#forward
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#classifier-group clacl400
host1(config-policy-list-classifier-group)#forward
host1(config-policy-list-classifier-group)#exit
Destination port 16
Protocol 8
User packet class 8
Color 8
IP fragmentation 8
ToS 8
Table 21: Classification Fields for Example 2 (continued)
Classifiers Size (Bits)
NOTE: Policy consumption is per policy definition per line module.