Course contents

Unit 5: QoS and AppQoELesson 5.5 (5 of 7 in this unit)26 of 63 in the Advanced Cisco SD-WAN course

AppQoE optimization and prerequisites

See how AppQoE splits one TCP connection into three, where DRE removes repeated data, what the ISN, ESN and SC roles do, which prerequisites and capacity limits apply, and how to check an optimized flow in order.

Advanced · 22 min read

You'll learn to explain what TCP optimization and DRE change on the path, name the roles of the integrated service node, the external service node and the service controller, read the prerequisites and capacity limits, and check an optimized flow in a sensible order.

Technical definition

AppQoE is the Cisco Catalyst SD-WAN framework that runs TCP optimization, data redundancy elimination and related services on service nodes, with a data policy choosing which traffic is optimized. The services act on the traffic itself: a TCP proxy at each end carries the connection over the overlay, and DRE sends less data by replacing repeated content that the far end has already seen.

Change the traffic, not the path

The tools in the earlier lessons choose a path or repair loss on it. AppQoE does something different. It changes what the path has to carry and how TCP behaves across it. A service node at each end takes over the TCP connection, so that the overlay carries a connection of its own, and DRE removes content that the far end has seen before. The result depends on the traffic: a repeated file transfer over a thin link can improve a lot, and traffic with no repeated content improves little.

Diagram
Pick the path, repair the path or change the traffic
Pick the path, repair the path or change the traffic

Application-aware routing picks the path and loss correction repairs loss on it. AppQoE changes the traffic itself, through a TCP proxy at each end and by removing repeated data.

Path toolsapplication-aware routingFEC and duplication
AppQoETCP proxy and DREchange the traffic
The three work on different parts of the problem.
Diagram
What AppQoE offers
What AppQoE offers
ServiceWhat it doesWhat the notes say it needs
TCP optimizationThe original connection is represented by three TCP connections, so the overlay leg is a connection of its ownService nodes at both ends
Data redundancy elimination (DRE)Removes data that the nodes have seen before on the overlay leg; it is dual-sided, so both ends take part, and the nodes need diskSupported service nodes at both ends, symmetric flow handling, disk, and normally TCP optimization alongside
SSL and TLS handlingLets encrypted payload be optimizedSupported SSL or TLS handling; TLS 1.3 from 17.13.1a
From Cisco document 226282 (updated August 2026, a lab on 17.18.2 with a C8000v and an external service node) and document 221870 (updated August 2025). The notes read do not list the individual TCP features, such as window scaling, so none are claimed here.

Three connections instead of one

With TCP optimization the client does not talk to the server across the overlay. It talks to a proxy at the near edge, the two edges talk to each other across the overlay, and the far edge talks to the server. DRE works on the middle leg, between the two edges. Because both edges take part, both ends need a service node that is supported, and the flows have to pass through the same pair in both directions.

Diagram
One client connection, three TCP connections
One client connection, three TCP connections

The client connects to a proxy at the near edge. The two edges carry the data over the overlay, where DRE removes repeated content. The far edge connects to the server.

  1. Clientconnects to thenear edge
  2. Edge Aproxy andservice node
  3. Overlayits own connection,DRE on this leg
  4. Edge Bproxy andservice node
  5. Serverconnects to thefar edge
Model from Cisco document 226282.
Diagram
What each leg does
What each leg does

The first leg is between the client and the near edge, on the LAN. The middle leg crosses the overlay and carries DRE. The last leg is between the far edge and the server, on the LAN.

  1. LAN leg at the near edgeclient to thelocal proxy
  2. Overlay legedge to edge,DRE on this leg
  3. LAN leg at the far edgeproxy tothe server
Only the middle leg faces the WAN.

Three roles: ISN, ESN and SC

A service node can be built into the edge router or sit beside it. The Cisco note on DRE topology names three roles. An integrated service node, ISN, is the one-box case at a branch. An external service node, ESN, sits at a data centre or hub, apart from the edge router. A service controller, SC, is the edge router that redirects traffic to the external node through a service-node-group. The note says two different policies are needed, one for the ISN and one for the SC, and that the direction is all for both.

Diagram
Integrated, external and controller
Integrated, external and controller

The integrated service node is a one-box solution at a branch. The external service node sits at a hub or data centre and is decoupled from the edge. The service controller redirects traffic to the external node through a service node group.

Service roles
  • ISNbranch, one boxin the edge router
  • ESNhub or data centre,separate from the edge
  • SCedge router thatredirects to the ESN
Roles as named in Cisco document 221870.
Diagram
The roles side by side
The roles side by side
RoleWhere it runsControl connectionPolicy
Integrated service nodeA branch edge router, in one boxThe normal ones of the edge routerA data policy with tcp-optimization and dre-optimization, and no service-node-group
External service nodeA hub or data centre, apart from the edge routerTo the Manager only; the note says it forms no control connection with the ControllerNo separate data policy is named in the note; traffic reaches it through the service controller
Service controllerThe hub edge router that redirects trafficThe normal ones of the edge routerA data policy with the same actions plus a service-node-group; DRE does not run on a device that only has this role
From Cisco documents 221870 (August 2025) and 226282 (August 2026). The service-node-group name is an example in the notes.

Policy and templates

Two things are configured. The service is switched on for the device through an AppQoE feature template, or an AppQoE parcel in a configuration group. A data policy then picks the traffic and names the actions. The policy goes to a site list and a VPN list, and a connection that starts after it is applied is the first that it can affect.

Diagram
Four steps to optimized traffic
Four steps to optimized traffic

Enable AppQoE on the device through a template or configuration group. Write a data policy that matches the traffic and names the actions. Apply the policy to sites and VPNs with the direction set to all. Verify with a new connection.

  1. EnableAppQoE templateor configuration group
  2. Policymatch, thentcp and dre actions
  3. Applysite list, VPN list,direction all
  4. Verifystart a newconnection
A connection that existed before the policy is not a valid test.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan policy from-vsmart
from-vsmart data-policy _vpn-10_appqoe-policy
 direction all
 vpn-list vpn-10
  sequence 1
   match
    source-ip 10.30.1.0/24
    destination-ip 10.20.1.0/24
   action accept
    tcp-optimization
    dre-optimization
  default-action accept
The policy matches traffic from the BR-01 LAN to the data-centre network and applies both optimizations. This is the integrated service node case, so there is no service-node-group line. The service controller at the hub carries a similar policy with a service-node-group line added, in the form that the Cisco notes print. The policy name, the prefixes and the VPN are invented for the example.
Diagram
Release checkpoints printed in the notes
Release checkpoints printed in the notes
CapabilityRelease
AppQoE feature templateFrom 20.6 and 17.6
DRE, and automated MTU handling between the service controller and the service node17.5.1a
Enhanced troubleshooting and sub-service health17.6.1a
Expanded flow-detail troubleshooting17.9.1a
SSL proxy with TLS 1.317.13.1a, Manager 20.13.1
DRE through configuration groups17.14.1a, Manager 20.14.1
Release numbers as printed in Cisco documents 226282 and 221870. Command availability varies by release, platform and role, so confirm syntax with command help on the release in use.
Diagram
Menu paths in a community walk-through
Menu paths in a community walk-through
StepWhere it is doneDetail
Enable the serviceConfiguration, Templates, Feature, Add Template, then AppQoE under Other TemplatesTick Integrated Service Node, switch on DRE optimization, attach the template to the device template under Additional Templates
Write the policyConfiguration, Policies, Custom Options, Traffic Policy, Traffic Data, Add Policy, Create NewA custom sequence that matches on source prefixes, action Accept, and under AppQoE Optimization the TCP and DRE options
Apply the policyConfiguration, Policies, Add Policy, with a site list and a VPN listTraffic Data policy applied with the direction set to All, then Save Policy and Activate
From a Cisco Community knowledge base article posted in September 2022, written for Catalyst 8000 edge routers with integrated service nodes; the author is not shown and the article is not official documentation. Menu names change between releases.

Prerequisites and capacity

AppQoE has a short list of conditions that decide whether it works, and a set of limits that decide how much it can carry. The conditions come from the two Cisco notes. The limits are sessions, memory and disk, and a service node that fills up stops taking new connections and lets them pass unoptimized.

Diagram
Prerequisites printed in the notes
Prerequisites printed in the notes
ConditionWhat the note saysSource
Time on the devicesTime on the devices has to be synchronized, for example with NTPDocument 221870
Service nodes at both endsDRE needs supported service nodes at both ends and symmetric flow handlingDocument 226282
Device roleDRE does not run on a device in the service-controller-only roleDocument 226282
DiskNeeded on the ISN and the ESN and not on the SC; 150 GB is called enough for a lab and not for productionDocument 221870
CPU profile on a C8000vThe app-heavy CPU profile configuration is neededDocument 221870
Encrypted payloadNeeds supported SSL or TLS handling to be optimizedDocument 226282
Packet duplicationAppQoE cannot be combined with packet duplication on the same connectionDocument 226282
Summaries in the words of this lesson. Neither note gives memory, disk or CPU requirements per platform, so the community article below is the only source of figures read, and the 2026 note adds a caution that more router memory does not change the supported hardware flow scale.
Diagram
Three limits that fill up
Three limits that fill up

A service node has a maximum number of sessions for each service. It also has memory for those sessions and a disk for the DRE cache. When the sessions reach about ninety-five percent of the maximum, the node is marked full and new flows bypass AppQoE.

  1. Sessionsa maximum for TCP,SSL and DRE
  2. Memoryshared with theother services
  3. Diskthe DRE cachelives here
Sessions are the limit that shows first.
Diagram
Load and the full threshold for 40,000 TCP sessions (computed)
Load and the full threshold for 40,000 TCP sessions (computed)
Sessions in useBlock holding that countLoad printed
1,000 sessionsBlock 1 of 166
3,000 sessionsBlock 2 of 1612
7,000 sessionsBlock 3 of 1618
21,000 sessionsBlock 9 of 1656
30,000 sessionsBlock 13 of 1681
38,000 sessions, 95 percent of the maximumBlock 16 of 16100, and the node is marked full
Computed by script with the method in Cisco document 221870: the maximum is split into 16 equal blocks of 2,500 sessions, and the load is the number of the block that holds the current count, divided by 16. The note prints 12 for 12.5, so the table truncates; rounding is not stated. The maximum of 40,000 is the TCP figure in the note's sample, and the full threshold of about 95 percent is from the same note.
Diagram
Resource pattern in a community article
Resource pattern in a community article
CombinationWhat the article indicatesPlatform group
TCP optimization alone8 GB of RAMSeveral groups
DRE32 GB of RAM, and disk in the range 600 GB to 2 TBSome groups; the extract does not name them
TCP optimization, DRE and the TLS proxyOne group lists 8 vCPU for all threeOne group; the extract does not name it
TCP optimization with the security container (UTD)Not supported togetherISR 1000 with 8 GB
From a Cisco Community knowledge base article posted in 2022 and edited in May 2024; it is not official documentation. Most platform labels were lost in the text read, so only the general pattern is given, and the article says that the needs of other services on the same router add to the totals. The platform datasheet and Cisco documentation decide for a real design.

Checking that it works

The 2026 Cisco troubleshooting note orders the checks from the whole to the single flow. First the state and recent errors, then the policy and the service-node assignment in both directions, then one known flow traced from end to end, then the resources and DRE, and last a capture between the controller and the node. The order keeps the cheap evidence first.

Diagram
Five checks in order
Five checks in order

Check the AppQoE state and recent errors. Check the policy and the service node assignment in both directions. Trace one known flow end to end. Check the node resources and DRE. Capture traffic between the controller and the node.

  1. Statestatus andrecent errors
  2. Policyboth directions,node assignment
  3. One flowtrace end to endon both routers
  4. Resourcessessions, memory,DRE health
  5. Capturebetween controllerand node
Order follows the triage list in Cisco document 226282.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan appqoe status
APPQOE Status           : GREEN
  SSLPROXY              : GREEN
  TCPPROXY              : GREEN
  SERVICE CHAIN         : GREEN
  RESOURCE MANAGER      : GREEN
The command reports a state for each sub-service. The four names are the ones the 2026 Cisco note lists, and the layout and the values are invented for the example. A sub-service that is not green is the place to look first, before any single flow.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan appqoe dreopt statistics
Total connections          : 48
Max concurrent connections : 2
Current active connections : 1
Total original bytes       : 2000 MB
Total optimized bytes      : 1100 MB
Overall reduction ratio    : 45%
Cache status               : Active
1,100 MB crossed the overlay for 2,000 MB of data, a reduction of 45 percent. The numbers are invented for the example. The field names are the ones the Cisco notes print for this command, and the units here follow the sample in the 2025 note.
Diagram
Reading the reduction ratio (computed)
Reading the reduction ratio (computed)
CaseExact reductionPrinted in the output
ISN in the Cisco sample: 3,570 MB original, 1,633 MB optimized54.26 percent54
ESN in the Cisco sample: 4,294 MB original, 1,634 MB optimized61.95 percent61
The example above: 2,000 MB original, 1,100 MB optimized45.00 percent45
Computed by script as original minus optimized, divided by original. The two sample rows print the figure rounded down, which suggests truncation, though the notes do not say so. The ratio is a measurement of one dataset over one interval, and a cold cache or data that does not repeat gives a lower figure.
Diagram
From a symptom to a first check
From a symptom to a first check
SymptomFirst checkBased on
Nothing is optimizedThe policy in both directions, symmetric routing, the service-node-group and site IDs, DRE health at both ends, and the flow status or the reason for the bypassThe note's first symptom section
New flows bypass the nodeNode health: yellow means new connections are not sent to that node, and red or down means new flows normally bypass it when bypass is allowedThe note's health table
Drops after traffic is divertedLine the drop counters up with the time of the test before calling a reset a fail-closeThe note's section on drops
Capacity looks highA rising connection-table handling counter is the evidence, not table occupancy aloneThe note's section on capacity
The reduction is weakThe DRE statistics at both ends over the same interval, on the same datasetStudy advice; the note's section on this was only partly read
Summaries in the words of this lesson from the symptom sections of Cisco document 226282, whose page was cut off before its end, so the last row is advice and not a quotation. Commands and counter names vary by release, platform and role.
Diagram
Three cautions from the note
Three cautions from the note

Do not clear the DRE cache during first troubleshooting. Do not test a policy change on an existing connection. Do not expect more router memory to change the supported hardware flow scale.

Cautions
  • Keep the cachedo not clear DREearly on
  • New connectionstart one aftera policy change
  • Memorymore DRAM does notraise hardware flow scale
Each caution protects the evidence or the expectation.

Where AppQoE fits next to the other tools

The tools in this part of the course work on different problems, so the choice starts with the symptom. A thin link that carries repeated transfers is the case that AppQoE addresses. Steady loss on a voice flow is a case for loss correction, and a tunnel that stays poor is a case for moving traffic. The table is study advice, and the restriction on combining AppQoE with packet duplication on one connection is the one hard rule that the notes give.

Diagram
Four tools, four problems
Four tools, four problems

Application-aware routing moves traffic off a poor tunnel. FEC repairs steady low loss. Packet duplication protects a few critical flows over two tunnels. AppQoE reduces repeated data and improves TCP over a slow link.

Problem to tool
  • Poor tunnelapplication-awarerouting
  • Steady lossFEC
  • Critical flowpacket duplication
  • Thin linkAppQoE, TCP and DRE
Pick by symptom.
Diagram
Which tool for which problem (study advice)
Which tool for which problem (study advice)
ProblemA reasonable first choiceWhy
Repeated file transfers between a branch and the data centre over a thin linkAppQoE with TCP optimization and DREDRE replaces repeated content and the proxy gives the overlay its own connection
A voice flow with steady low loss on the only usable tunnelFEC on that applicationLoss is repaired on the tunnel in use
A few critical flows and two good tunnelsPacket duplication for those flowsA copy travels on the second tunnel; not on the same connection as AppQoE
A tunnel that stays poor while another meets the classApplication-aware routingMoving the traffic costs nothing extra
Study advice based on the facts above, not a Cisco recommendation. The choice depends on the traffic, the platform and the release.

Learn more: FEC and Packet DuplicationSLA Classes and Policy ThresholdsVoice, Video and Interactive Traffic DesignQoS Counters and Queue-Drop Troubleshooting

Test yourself

Predict · scenario 1

With TCP optimization, how many TCP connections represent one original client connection, according to the Cisco model?

Predict · scenario 2

Which service role forms no control connection with the Controller, according to the DRE topology note?

Predict · scenario 3

What does the 2026 Cisco troubleshooting note say DRE requires?

Predict · scenario 4

A design wants AppQoE and packet duplication on the same connection. What do the notes say?

Predict · scenario 5

At about what share of its maximum sessions is a service node marked full, according to the 2025 note?

Predict · scenario 6

Which actions name the optimizations in a data policy, and what direction do the notes use?

Predict · scenario 7

A policy was edited and a test on a long-running file transfer shows no change. What is the sound next step?

Predict · scenario 8

What does the 2026 note say encrypted traffic needs if its payload is to be optimized?

FAQ

Is AppQoE the same thing as TCP optimization?
No. In the Cisco notes read, AppQoE is the framework, and TCP optimization and DRE are services that run in it. The status command lists sub-services for the SSL proxy, the TCP proxy, the service chain and the resource manager, so the framework is wider than any one feature.
Does DRE help encrypted traffic?
Only with support for it. A 2026 Cisco troubleshooting note says that encrypted traffic needs the supported SSL or TLS handling if its payload is to be optimized. Without it, the content that DRE would match is not visible to the service node.
Can AppQoE run together with packet duplication?
Not on the same connection, according to the same 2026 note. The lesson on FEC and packet duplication covers duplication, and a design that needs both has to keep them on different traffic.
How much will DRE save?
It depends on the data. Cisco's overview in a 2025 note claims around 60 to 90 percent for suitable traffic, and the sample counters in the Cisco notes show 54, 61 and 48 percent. Data that does not repeat, or a cache that is still empty, gives less, so a test with the real traffic is the way to know.
Why does a test on an existing connection show no change after a policy edit?
A connection that started before the change keeps the treatment it started with. The 2026 Cisco note says not to use an existing connection to validate a policy change, so the test needs a new connection that starts after the policy is applied.