A policy can only steer what the edge can name
Application-aware routing and data policy are written in terms of application names: voice, video, a file service, a business tool. The edge, however, sees packets. Between the packets and the name sits a classification step, and every policy that matches an application list depends on it. When that step is confident and correct, the policy does what it says. When it is slow, wrong or silent, the policy quietly does something else, and nothing in the tunnel tables looks broken.
A policy is written with application names. The edge sees packets with addresses, ports and handshakes. A classification step turns the second into the first. If it cannot, the flow does not match the application list.
How an edge arrives at a name
On Cisco IOS XE SD-WAN devices the classification engine is deep packet inspection (NBAR2). It does not rely on one clue. It combines several, and some are much stronger than others. Some designs also add a central classification service that shares what it learns across sites, depending on release and platform.
The edge uses ports and addresses, names seen in a handshake, the pattern of the traffic itself, and sometimes DNS answers or information shared by a central service. No single clue is reliable on its own.
- Port, addressfast buteasily shared
- Handshake namestrong, but needspackets first
- Traffic patternsignaturesand behaviour
- DNS, shared infoextra help,varies by design
| Clue | How strong | What weakens it |
|---|---|---|
| Port and protocol | Weak | Many services share ports; apps move to ports such as UDP 443 |
| Server address or prefix | Medium | Shared cloud and CDN addresses carry many services |
| Name in the handshake | Strong | Encrypted handshake names and clients that hide them |
| Traffic pattern and signature | Medium | New client versions change the pattern until signatures are updated |
| DNS answer seen earlier | Helpful | Not seen when the client uses an encrypted or remote resolver |
The first packets and the late name
A name that depends on a handshake cannot exist before the handshake. The first packets of a flow are therefore handled before the edge knows what the flow is. For short flows, such as a quick request, the flow can finish before it is ever named. For long flows, such as a call, the effect is a short delay before the policy applies. How the early packets are treated differs by feature and release, so the behaviour is something to test and not to assume.
The first packets of a flow arrive before the edge has a name for it. Once enough packets have been seen, the edge names the flow and the application list can match. Short flows may end before that point.
- Startfirst packets,no name yet
- Clueshandshake andpattern seen
- Namedapplicationlist can match
- Steeredpolicy picksthe tunnel
What breaks recognition
| Cause | What happens | How it shows up |
|---|---|---|
| Encrypted handshake names | The name is no longer visible to the edge | A well-known service shows as a generic protocol |
| New transport such as QUIC | Traffic moves from TCP to UDP 443 | A category such as quic grows while named apps shrink |
| New client version | Ports or patterns change before signatures follow | One application drops out of reports after an update |
| Shared cloud addresses | Many services share an address range | Prefix matching catches the wrong traffic |
| One direction only | The edge sees one direction of a flow | Names are late or missing on asymmetric paths |
When recognition fails, the tunnels are still up, the BFD sessions still report quality, and the SLA classes still compute. The only thing that fails is the match between the flow and the application list, so nothing looks wrong in the tunnel tables.
- TunnelsUp, with long uptimeNothing to alarm on
- SLA classesComputed per tunnel as usualNo violation if no flow is in the class
- MatchFlow named as quic or unknownThe application list does not match
A worked case: the meetings that left the policy
The company steers meeting media with an application list called MEETING-APPS. After a client update, users at several branches complain that calls break up at busy times. The SLA dashboard is flat: no violations, no fallbacks. Priya checks the tunnels first and finds them healthy. Then she looks at what the edge calls the traffic.
| Application | Last week | This week |
|---|---|---|
| webex-meeting | 24 % | 3 % |
| ms-teams-audio | 11 % | 10 % |
| quic | 6 % | 29 % |
| unknown | 4 % | 5 % |
The share of webex-meeting fell by about twenty-one points while quic grew by about twenty-three. The client update moved the meeting media to UDP 443, and the edge now names that traffic by the generic transport. The application list contains webex-meeting, so the media no longer matches sequence 10 and takes the default path, with no SLA class applied. That is why the dashboard is flat: the traffic is not in any class to violate one.
Users report broken calls while the dashboard shows no violations. The tunnels are healthy. The application report shows the named meeting application falling and the generic quic category rising by the same amount. The policy list names only the meeting application, so the media no longer matches.
- SymptomCalls break up at busy timesDashboard shows no SLA violations
- TunnelsUp, healthy, no alarmsNot the problem
- Reportwebex-meeting fell, quic roseMeeting media is now named quic
- CauseThe list names only webex-meetingThe media no longer matches sequence 10
Adding quic to the list would catch the meetings and every other QUIC flow, so Priya looks for a narrower match. The meeting service marks its media with DSCP 46 when the client is configured to do so, and the company controls that setting on managed laptops. She adds a second sequence that matches DSCP 46 and applies the same SLA class.
app-route-policy BRANCH-AAR
vpn-list CORP-VPN
sequence 10
match
app-list MEETING-APPS
!
action
sla-class VOICE preferred-color mpls
backup-sla-preferred-color lte
!
!
sequence 15
match
dscp 46
!
action
sla-class VOICE preferred-color mpls
backup-sla-preferred-color lte
!
!Policy on the Controller, abbreviated. Sequence 15 matches the DSCP 46 marking set by managed clients, so meeting media is steered even when the edge names it quic. Syntax differs by release.
A second match is only as good as the marking behind it. The report shows 24 points of branch traffic in webex-meeting last week, 3 now, and the other 21 now named quic. The table treats the 3 points still named as matched by sequence 10 and the 21 points under quic as matched by sequence 15 only for the clients that mark DSCP 46.
| Clients that mark DSCP 46 | Meeting media matched | Meeting media on the default path | Branch traffic left unmatched |
|---|---|---|---|
| None (name only) | 12.50 % | 87.50 % | 21.0 points |
| Half of the clients | 56.25 % | 43.75 % | 10.5 points |
| 80 percent of the clients | 82.50 % | 17.50 % | 4.2 points |
| All of the clients | 100.00 % | 0.00 % | 0.0 points |
The second sequence repairs most of the loss only if most clients mark. The unmarked remainder, for example guest or unmanaged laptops, stays on the default path, so the marking setting is part of the fix and belongs on the checklist next to the report.
After the change she compares the flows that use the VOICE class with the list of calls that users report as poor. Both fall to nearly zero over the next busy hour. She also adds a line to the client update checklist: after a meeting client update, read the application report for a drop in named applications and a rise in generic ones.
Choosing a safer match
| Match on | Good for | Risk |
|---|---|---|
| Application name | Well-known services with stable recognition | Silent miss when recognition changes |
| DSCP marking | Traffic from managed endpoints that mark it | Unmanaged devices can mark traffic too, so it needs a trust boundary |
| Destination prefix | A service with a small, stable address range | Shared ranges catch unrelated traffic; ranges change |
| Protocol and port | Narrow, well-defined services | Overlaps with other uses of the same port |
| Several in sequence | Critical traffic that must not be missed | More rules to maintain and to test |
Read the application report after client updates, keep a second match for critical traffic, keep the signature set current where the platform allows it, and test with a real call after changes.
- Read the reportafter clientupdates
- Second matchDSCP or prefixfor critical apps
- Update signatureswhere theplatform allows
- Test a real callafter eachchange
Learn more: Application Match, Eligibility and Preferred TLOCSLA Classes and Policy ThresholdsBrownout and Fallback Behaviour
Test yourself
Users report poor calls. The SLA dashboard shows no violations and every tunnel is healthy. What should you check first?
After a client update, webex-meeting falls from 24 percent to 3 percent of traffic and quic rises by a similar amount. What is the most likely cause?
To catch the meetings that are named quic, someone proposes adding quic to the application list. What is the main risk?
A match on DSCP 46 is added as a second sequence for meeting media. What must be true for it to be a safe match?
A short request finishes before the edge has named the flow. What does that mean for an application-aware policy that depends on the name?
Using the example report, webex-meeting fell from 24 to 3 percent and the other 21 points are named quic. A second sequence matches DSCP 46 and 80 percent of clients mark their meeting media. What share of the meeting media is matched now?
After a client update, the report for a branch shows a named video application falling from 18 to 4 percent while quic rises from 5 to 19 percent. A policy lists only the named application. What does this most likely mean?
Which habit is most likely to turn this quiet failure into a visible one?