Skip to content

QoS

QoS in netverdict classifies traffic, marks DSCP, polices, and schedules congestion. It is not a queueing ASIC simulator.

AreaLevelNotes
ClassificationBehaviour modelClass maps match ACLs, protocols and DSCP.
MarkingSupportedDSCP/precedence metadata can be set on packets.
Policy mapsSupportedClass/action structure is parsed and emitted.
Service policySupportedInterface attachment is represented.
PolicingSupportedToken-bucket policer; exceeding traffic is dropped or re-marked.
ShapingPartialshape average sets the port’s rate for the scheduler; excess is dropped, not buffered.
SchedulingBehaviour modelLLQ priority capped by its policer, CBWFQ shares, WRED by drop precedence.
Egress queueBehaviour modelBuffer with tail drop; WRED marks ECN-capable packets instead of dropping.
Path bottleneckBehaviour modelNames the first hop that drops a class along a path.
CoPPSupportedPolices traffic to the router’s control plane.
StandardCoverageNotes
RFC 2474SupportedDSCP marking; the code point is on the wire in a capture.
RFC 2697Behaviour modelSingle-rate token bucket.
RFC 3168Behaviour modelECN marking under WRED.
Cisco MQCBehaviour modelClass-map / policy-map / service-policy structure.
FeatureStatusNotes
class-mapSupportedMatch criteria container.
policy-mapSupportedAction container.
match access-groupSupportedACL-based classification.
set dscpSupportedPacket metadata marking.
policeSupportedDrop or re-mark above the rate. Excess burst and violate action are reported as not modelled.
priority / bandwidthSupportedLLQ and CBWFQ in the scheduler.
random-detectSupportedWRED by DSCP drop precedence; thresholds are not modelled.
match dscpSupportedSeveral code points on one line, or several match dscp lines, are each marked and policed.
match protocol <app>SupportedMatches the application’s well-known port. An application with none is reported.
match access-group name NAMESupportedNamed or numbered ACL. Marks the traffic the ACL names, ports included.
match qos-group <n>SupportedMatches what an input class marked with set qos-group <n>.
bandwidth remaining ratio NSupportedShares the rate by weight among the policy’s classes.
NX-OS policer unitsSupportedpolice cir 36000 kbps bc 250 ms is read in its units.
Junos transmit-rate percentSupportedA share of the line rate the port name states (ge-, xe-, or a bundle of them).
qos trustNo effectAccepted; reported as changing nothing here.
shape averagePartialSets the scheduled rate; no buffering of excess.
service-policy input/outputSupportedInterface attachment.
CommandIOS-styleJunos-styleVyOS-styleNotes
class-map match-any VOICESupportedNot modelledNot modelledClassification. Junos classifiers and VyOS shaper match lines are not read; VyOS classes are named class-N by number.
policy-map WAN-OUTSupportedSupportedSupportedJunos: schedulers (transmit-rate, priority) grouped by scheduler-maps. VyOS: traffic-policy shaper P bandwidth, class N bandwidth. A VyOS class priority is an HTB borrowing order, reported, not an LLQ.
set dscp efSupportedNot modelledNot modelledMarking. Junos rewrite-rules are not read.
service-policy output WAN-OUTSupportedSupportedSupportedJunos: class-of-service interfaces IF scheduler-map M, with shaping-rate. VyOS: interfaces ethernet X traffic-policy out P; in is reported as a policer, not scheduled.
show policy-map interfaceSupportedPartialPartialPolicy view.

Marking sets the DSCP on the packet, and a downstream router can reclassify by it. A policer meters each class on the simulation clock. Congestion is answered for a stated offered load: priority first, then guarantees, then leftover in proportion. A queued packet is forwarded at once; serialisation delay is not modelled.

Canonical example
configure terminal
class-map match-any VOICE
match access-group name VOICE-RTP
policy-map WAN-OUT
class VOICE
set dscp ef
interface GigabitEthernet0/0
service-policy output WAN-OUT
end
show policy-map interface GigabitEthernet0/0

Vendor styles

IOS-style
class-map match-any VOICE
match access-group name VOICE-RTP
policy-map WAN-OUT
class VOICE
set dscp ef
interface GigabitEthernet0/0
service-policy output WAN-OUT
Junos-style
set class-of-service schedulers VOICE-S priority strict-high
set class-of-service schedulers VOICE-S transmit-rate percent 20
set class-of-service scheduler-maps WAN-OUT forwarding-class expedited-forwarding scheduler VOICE-S
set class-of-service interfaces ge-0/0/0 scheduler-map WAN-OUT
VyOS-style
set traffic-policy shaper WAN-OUT bandwidth 10mbit
set traffic-policy shaper WAN-OUT class 10 bandwidth 30%
set traffic-policy shaper WAN-OUT default bandwidth 70%
set interfaces ethernet eth0 traffic-policy out WAN-OUT

Shaping with buffering, WRED thresholds, serialisation delay, hierarchical queue timing, qos trust, and platform ASIC differences are not modelled. Junos and VyOS reach the scheduler only: their classifiers, DSCP rewrite and match rules are not read.