# Monitoring Classifier Control Lists

#### Purpose

Display a list of classifier control lists or details of classifier control lists.

#### Action

To display a list of CLACLs:

    host1#show classifier-list

                             Classifier Control List Table
                             ---------- ------- ---- -----
    GRE Tunnel greClass.1
    VLAN lowLatencyLowDrop.1
    VLAN excellentEffort.1
    VLAN bestEffort.1
    VLAN lowLatency.1
    IP wstFd.1 source-route-class 44 destination-route-class 55 3 any any
    IP XYZCorpPermit.1 local true color green ip any any
    IP routeForXYZCorp.1 color red tcp any any
    IP XYZCorpIcmpEchoRequests.1 ip any any
    IP XYZCorpPrecedence.1 tcp any any tos 5
    IP XYZCorpPrecedence67.1 udp any any
    IPv6 IPv6Precedence.1 color yellow
    IPv6 IPv6Precedence67.1
    L2TP l2tpclass.1 color green user-packet-class 8
    MPLS mplsClass.1 user-packet-class 10 exp-bits 3 exp-mask 7
    Frame relay frMatchDeSet.7 user-packet-class 8 de-bit 0

To display details of each CLACL:

    host1#show classifier-list detailed

                             Classifier Control List Table
                             ---------- ------- ---- -----
    IP Classifier Control List XYZCorpPermit
       Reference count:      1
       Entry count:          1

       Classifier-List XYZCorpPermit Entry 1
          Color:                      green
          Protocol:                   ip
          Not Protocol:               false
          Source IP Address:          0.0.0.0
          Source IP WildcardMask:     255.255.255.255
          Not Source Ip Address:      false
          Destination IP Address:     0.0.0.0
          Destination IP WildcardMask:255.255.255.255
          Not Destination Ip Address: false

    GRE Tunnel Classifier Control List greClass
       Reference count:      0
       Entry count:          2

       Classifier-List greClass Entry 1
          User Packet Class:          8
          DS Field:                   3

       Classifier-List greClass Entry 2
          Color:                      yellow

    VLAN Classifier Control List bestEffort
       Reference count:      0
       Entry count: 1

       Classifier-List bestEffort Entry 1
          Color:                      red
          User Packet Class:          15
          User Priority bits:         7

    IPv6 Classifier Control List IPv6Classifier
       Reference count:      0
       Entry count:          1

       Classifier-List IPv6Classifier Entry 1
          User Packet Class:          3
          Traffic Class Field:        200

    L2TP Classifier Control List l2tpclass
       Reference count:      0
       Entry count:          1

       Classifier-List l2tpclass Entry 1
          Color:                      green
          User Packet Class:          8

    MPLS Classifier Control List mplsClass
       Reference count:      0
       Entry count:          1

       Classifier-List mplsClass Entry 1
          User Packet Class:          10
          EXP Bits:                   3
          EXP Mask:                   7
    Frame relay Classifier Control List frMatchDeSet
       Reference count:      2
       Entry count:          1

       Classifier-List frMatchDeSet Entry 7
          Traffic Class:              toBoston
          User Packet Class:          8
          DE Bit:                     0

#### Meaning

Table 32 lists the show classifier-list command output fields.

Table 32: show classifier-list Output Fields

Field Name | Field Description
--- | ---
Reference count | Number of times the CLACL is referenced by policies
Entry count | Number of entries in the classifier list
Classifier-List | Name of the classifier list
Entry | Entry number of the classifier list rule
Color | Packet color to match: green, yellow, or red
Protocol | Protocol type
Not Protocol | If true, matches any protocol except the preceding protocol; if false, matches the preceding protocol
Source IP Address | Address of the network or host from which the packet is sent
Source IP WildcardMask | Mask that indicates addresses to be matched when specific bits are set
Not Source Ip Address | If true, matches any source IP address and mask except the preceding source IP address and mask; if false, matches the preceding source IP address and mask
Destination IP Address | Number of the network or host from which the packet is sent
Destination IP WildcardMask | Mask that indicates addresses to be matched when specific bits are set
Not Destination Ip Address | If true, matches any destination IP address and mask except the preceding destination IP address and mask; if false, matches the preceding destination IP address and mask
Traffic Class | Name of the traffic class to match
User Packet Class | User packet value to match
DS Field | DS field value to match
TOS Byte | ToS value to match
Precedence | Precedence value to match
User Priority bits | User priority bits value to match
Traffic Class Field | Traffic class field value to match
EXP Bits | MPLS EXP bit value to match
EXP Mask | Mask applied to EXP bits before matching
DE Bit | Frame Relay DE bit value to match
Destination Route Class | Route class used to classify packets based on the packet’s destination address
Source Route Class | Route class used to classify packets based on the packet’s source address
Local | If true, matches packets destined to a local interface; if false, matches packets that are traversing the router

#### Related Documentation

- show classifier-list