liveBook · Manning

Classifier

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

Classification is the process of identifying network packets or traffic and assigning them to classes based on attributes, contents, markings, or required treatment.

Classification identifies packets or traffic and sorts them into classes according to the treatment they should receive. During congestion, those classes support differentiated queuing and scheduling instead of default FIFO forwarding. section 10.2.3 section 10.3

Classify traffic using several increasingly detailed signals:

  • Use ACLs to match Layer 3 and Layer 4 header information; permitted traffic can be assigned to different classes. section 10.3.1
  • Use Network-Based Application Recognition (NBAR) for deep packet inspection when header information cannot identify the application accurately. section 10.3.1
  • Use existing DSCP or PCP markings to classify packets without repeatedly inspecting addresses, ports, or payload contents. section 10.3.2

Typical classes include Real-Time traffic such as voice and video, Business Critical applications, Default traffic, and Scavenger traffic. Scavenger traffic receives low priority and may be delayed or dropped first during congestion. section 10.3.1

Classifying a packet through the network

An early device can inspect a packet with an ACL or NBAR, assign its class, and mark it. Later devices can classify it from the DSCP or PCP value, reducing processing and configuration effort. PCP is available only in 802.1Q-tagged frames, while DSCP resides in IPv4 and IPv6 headers. section 10.3.2 section 10.7

Figure 10.7 The QoS big picture. A router receives packets and makes a forwarding decision for each, classifies the packets based on their type, queues them for transmission, and uses scheduling methods to determine the order of transmission.

Trace the QoS flow from packet reception and forwarding decisions through classification, queuing, and transmission scheduling. section 10.2.3

Figure 10.8 After making a forwarding decision, the device classifies each packet into a class: Real-Time (i.e., voice and video), Business Critical (important business apps), Default, and Scavenger traffic (low priority).

Compare Real-Time, Business Critical, Default, and Scavenger classes in a packet-classification overview. section 10.3.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains class assignment with ACLs, NBAR, and markings, but provides no CLI configuration or verification procedure.
Examples
Uses voice, video, business applications, default traffic, social media, ACL matches, NBAR inspection, and marked packets.
What it assumes
Assumes basic packet headers and congestion, while defining classification, marking, ACLs, NBAR, DSCP, and PCP.
What you can do after
Evaluate traffic-classification choices using header fields, payload inspection, traffic classes, and existing QoS markings.
How it connects
Connects QoS classification with marking, ACLs, NBAR, DSCP, PCP, queuing, scheduling, and congestion.

Also explained in

Compare how 31 books explain classifier →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.