How an edge measures SaaS application quality over each exit, scores it, and chooses direct internet access or a gateway site, with prerequisites and checks.
Advanced · 13 min read
You'll learn to explain how an edge scores a SaaS application over each exit, choose between direct internet, gateway and client sites, and work through the usual reasons the scores or the path look wrong.
Technical definition
Cloud OnRamp for SaaS is a Catalyst SD-WAN feature that measures how well a SaaS application is reached over each available exit, turns the measurements into a quality score for that application, and sends the application's traffic over the best exit. The exit may be a local internet circuit or a gateway site such as a hub.
BR-02 has one internet circuit and a hub that has two
BR-02 (site 102) is internet only. BR-01 (site 101) has MPLS and internet. HUB-01 (site 10) has good internet access at the data centre. A SaaS application used by all three can leave the network at the branch itself, through direct internet access (DIA), or travel across the overlay to HUB-01 and leave from there. Which is better is not a fixed fact. It depends on the local circuit, the hub circuit and the moment. Cloud OnRamp for SaaS measures both and decides per application. Site IDs and names here are lab examples.
How the measurement and the decision work
Pick the application. In SD-WAN Manager (vManage) you choose which SaaS applications to monitor and which sites take part.
Probe. An edge with an exit sends probes towards the application's endpoints through that exit and records loss and latency. A gateway site does the same through its own internet circuit.
Score. The loss and latency are combined into a quality score for each application and exit. Check your release for the scale. It is commonly described as 0 to 10.
Choose. The edge installs a path for that application over the exit with the best score. Traffic for other applications is not touched.
Reselect. Measurement continues. If another exit becomes clearly better, the edge moves the application. The decision includes some hysteresis, a margin that stops it flipping between two exits with nearly equal scores. The exact margin depends on the release.
BR-02 chooses the best path to a SaaS application
On small screens, swipe sideways or focus the diagram and use the arrow keys.
The picture in Manager shows the measured score for each path. The feature does not create bandwidth; it only chooses among the paths you already have.
Three roles a site can have
Three roles a site can have
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Read each row across: the left box names the item, the others describe it.
A site can combine roles. A DIA site can also be a client, so that it compares its own circuit with a gateway and takes the better one. Which combinations your release allows is a point to check in the configuration guide.
What has to be in place
Prerequisite
Why it matters
Direct internet access on the exit interface
The router must be allowed to send traffic out of the transport interface, normally with NAT. Without NAT, probes and traffic leave with private addresses and are lost
NAT configured for the service VPN
User traffic from VPN 10 (corporate) must be translated when it leaves locally. See NAT for the basics
Working DNS
The application's names must resolve. Probes depend on the addresses the application uses
Reachable probe destinations
A firewall or upstream filter that drops probes gives a score of nothing useful
Application chosen and sites attached in Manager
The feature does nothing for an application or a site that has not been selected
Gateway sites reachable through the overlay
A client site can only use a gateway whose tunnels are up
The first prerequisite is the one that most often fails quietly. The local NAT is easy to check on the router.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show ip nat translations
Pro Inside global Inside local Outside local Outside global
tcp 203.0.113.22:49812 10.10.1.50:49812 198.51.100.77:443 198.51.100.77:443
tcp 203.0.113.22:49820 10.10.1.51:49820 198.51.100.77:443 198.51.100.77:443
Inside local 10.10.1.x is a corporate host. Inside global 203.0.113.22 is the address the internet sees. Both lines go to port 443 on a SaaS-style endpoint. If the table has no entries while users run the application, the traffic is not leaving locally, whether because it follows the overlay or because it is being dropped. In a VRF setup some releases need the VRF named in the command, so check yours.
Reading the picture in Manager
Manager's monitoring pages for the feature list the applications, the sites, the exit in use and the score for each exit. There is no need for a screenshot to know what to look for.
Reading the picture in Manager
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Each item on the left, with what it means on the right.
What this is not
Application-aware routing (AAR) measures the tunnels between SD-WAN sites with BFD and picks among tunnels whose loss, latency and jitter meet an SLA. Cloud OnRamp for SaaS measures paths to internet applications and picks among exits. They solve different problems and can both be active. A branch may use AAR to choose between its MPLS and internet tunnels to the hub, and Cloud OnRamp for SaaS to decide whether the SaaS application should leave locally or via the hub.
What if the hub is far from the SaaS provider?
Sending SaaS traffic across the overlay to a hub first adds the overlay delay and then the hub's delay to the provider. If the hub is in another country, its exit may score worse than a mediocre local circuit. The measurement catches this where a fixed rule such as "all internet goes via the hub" does not. It also means a good hub circuit does not guarantee a good score. The score depends on the whole path.
When it fails: symptoms and causes
When it fails: symptoms and causes
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Read each row across: the left box names the item, the others describe it.
Test yourself on SaaS path selection
Predict · scenario 1
BR-02's internet circuit has 5 per cent loss, while HUB-01's internet exit is clean. BR-02 is a client site with HUB-01 as a gateway. What should Cloud OnRamp for SaaS do for a monitored application?
Predict · scenario 2
Manager shows no score at BR-01 for a selected application. DNS works from a PC. The NAT table on BR-01 is empty. What is the best next step?
Predict · scenario 3
A colleague says Cloud OnRamp for SaaS and application-aware routing are the same thing. Which statement corrects them best?
Predict · scenario 4
The Cloud OnRamp for SaaS measurement process stops working for a site. What do you expect users to see?
FAQ
What does the quality score mean?
It is a single number that summarises the loss and latency the edge measured towards the application over one exit. Higher is better. Cisco's documentation describes a scale of 0 to 10, but check your release for the exact scale and for the values it treats as good or poor. Compare the scores of the exits for one application. Do not compare scores between different applications.
Does the feature change my SD-WAN tunnels?
No. It does not measure or alter the tunnels between SD-WAN sites. It measures paths from your exits to internet applications, and it decides which exit that application's traffic uses.
What happens if the feature stops working?
Traffic for the application follows the normal routing table, as it did before the feature was turned on. A broken measurement should not cause an outage by itself, but it can leave users on a path that is no longer the best one.