One design for forty sites fits few of them
A company has forty branches. A dozen carry the checkout systems and lose money by the minute when the WAN is down. Ten are small offices where staff can wait for a repair. Building every site with two routers and four circuits wastes money on the small offices, and building every site with one cheap circuit leaves the busy sites exposed. The usual answer is a few standard designs, each matched to what an outage costs. This lab defines four, works out what each is worth in numbers, and applies the right policy to each.
One design for every site is either too expensive for small offices or too weak for busy ones. Four tiers match the cost of the design to what an outage costs the business, and each tier can be templated and tested once.
The four tiers
The lab uses the course network from the first SD-WAN course: two hubs, HUB-01 and HUB-02, and branches that reach both. Colours pair with the same colour, as in the course lab, so each transport on a WAN Edge builds one tunnel to each hub.
Platinum has two WAN Edge routers, each with an mpls and an Internet circuit. Gold has one router with an mpls and an Internet circuit. Silver has one router with an Internet circuit and a cellular backup. Bronze has one router and one Internet circuit.
- Platinumtwo routers,four circuits
- Goldone router, mplsand Internet
- Silverone router, Internetand cellular
- Bronzeone router,one Internet circuit
| Tier | WAN Edge routers | Circuits | Tunnels per site with two hubs |
|---|---|---|---|
| Platinum | 2 | mpls and Internet on each router | 8 |
| Gold | 1 | mpls and Internet | 4 |
| Silver | 1 | Internet and cellular | 4 |
| Bronze | 1 | Internet | 2 |
What each tier buys: the availability arithmetic
Availability is the share of time something works. Parts in series must all work, so their availabilities multiply. Parts in parallel fail only when all fail, so the chance of failure multiplies. A site path is a router in series with its circuits, and two circuits on one router are in parallel with each other.
Start with the availability of each part. Combine circuits that back each other up in parallel. Put the router in series with its circuits. Combine two routers in parallel for Platinum. Convert the result into minutes of downtime a year.
- Partsavailability ofeach router and circuit
- Parallelbackup circuits:multiply failure chances
- Seriesrouter timesits circuits
- Downtimeminutes a yearfrom the result
| Tier | Availability | Downtime a year | What limits it |
|---|---|---|---|
| Bronze | 99.4503 % | 48.2 hours | The single Internet circuit |
| Silver | 99.9450 % | 4.8 hours | The single router |
| Gold | 99.9495 % | 4.4 hours | The single router |
| Platinum | 99.99997 % | about 8 seconds | The model: shared causes are not in it |
Two results stand out. Gold is only about 24 minutes a year better than Silver, because both are capped by one router that alone is about 4.4 hours of downtime a year, so a better second circuit buys little. The big jump comes from the second router in Platinum. The model also flatters Platinum, since two circuits in one duct, one building power feed or one software fault can take out both routers at once. The 8 seconds is the arithmetic of the assumptions, not a promise.
What the tiers cost the hubs
Every extra router and circuit adds tunnels, and the hubs terminate all of them. Take 40 branches split as 4 Platinum, 12 Gold, 14 Silver and 10 Bronze, with HUB-01 and HUB-02 both reachable from every site.
Tunnels from one site to one hub equal the routers at the site times the transports on each router. Add that over all sites to get the tunnels on one hub. Each hub carries the same number. Every tunnel runs BFD, so the hub also sends and receives one hello a second per tunnel at the default interval.
- One siteRouters times transportsPlatinum 2 x 2 = 4 to one hub
- One hubAdd the sites togetherEach hub carries the same count
- BFD loadOne hello a second per tunnelAt the default 1,000 ms interval
- LimitCompare with the hub modelDatasheets give the tunnel limit
| Tier and number of sites | Tunnels per site on one hub | Tunnels on one hub | Share of all hub tunnels |
|---|---|---|---|
| 4 Platinum sites | 4 | 16 | 20.5 % |
| 12 Gold sites | 2 | 24 | 30.8 % |
| 14 Silver sites | 2 | 28 | 35.9 % |
| 10 Bronze sites | 1 | 10 | 12.8 % |
| All 40 sites | not applicable | 78 | 100 % |
Tiers in policy
A tier should show up in policy as a site list, so that moving a site between tiers is one change. The policy has something to decide only where a site has a choice of paths. Platinum and Gold can choose between mpls and the Internet. Silver chooses between the Internet and cellular. Bronze has one circuit, so there is nothing to steer between, and an application-aware policy has no effect on where its traffic goes.
Platinum and Gold can prefer mpls for voice and fall back to the Internet. Silver prefers the Internet and falls back to cellular. Bronze has a single circuit, so the policy has no alternative path to choose, and loss on that circuit reaches every application.
- PlatinumPrefer mpls, back up to InternetEither router can carry the traffic
- GoldPrefer mpls, back up to InternetOne router, so a router fault is an outage
- SilverPrefer Internet, back up to cellularCellular is for survival, not for quality
- BronzeOne circuit: no path to choosePolicy cannot hide loss on it
policy
lists
site-list PLATINUM-GOLD
site-id 101-116
!
site-list SILVER
site-id 117-130
!
site-list BRONZE
site-id 131-140
!
vpn-list CORP-VPN
vpn 10
!
!
sla-class VOICE
loss 2
latency 150
jitter 30
!
app-route-policy TIER-GOLD
vpn-list CORP-VPN
sequence 10
match
dscp 46
!
action
sla-class VOICE preferred-color mpls
backup-sla-preferred-color biz-internet
!
!
!
!
app-route-policy TIER-SILVER
vpn-list CORP-VPN
sequence 10
match
dscp 46
!
action
sla-class VOICE preferred-color biz-internet
backup-sla-preferred-color lte
!
!
!
!
!
apply-policy
site-list PLATINUM-GOLD
app-route-policy TIER-GOLD
!
site-list SILVER
app-route-policy TIER-SILVER
!
!Controller policy in outline, shortened; it is normally built in SD-WAN Manager and the syntax differs by release. Site IDs are example values, one range for each tier. The BRONZE list is defined so that its sites can be named in reports, but no application-aware policy is applied to it, because a site with one circuit has nothing to choose between.
A worked case: calls at BR-07 break up at 17:00
BR-07 is a Bronze site, site ID 137, with one biz-internet circuit. Staff report that calls break up between 17:00 and 18:00 on weekdays. Someone points out that BR-07 has tunnels to both hubs and asks why it does not switch to the other one. Priya reads what the edge measures.
BR-07#show sdwan app-route stats TUNNEL (remote) LOSS LATENCY JITTER biz-inet to HUB-01 biz-inet 4 48 11 biz-inet to HUB-02 biz-inet 4 52 12
BR-07 has a tunnel to each hub, but both leave through the same Internet circuit and share its loss. A second hub protects against a hub failure. It does not protect against a circuit that is dropping packets.
| Tier | Tunnels with two hubs | Independent circuits | Independent routers |
|---|---|---|---|
| Platinum | 8 | 4 | 2 |
| Gold | 4 | 2 | 1 |
| Silver | 4 | 2 | 1 |
| Bronze | 2 | 1 | 1 |
The repair is a design change, not a policy change. BR-07 needs a second circuit, which moves it to Silver, or to Gold if the second circuit is mpls and voice quality matters. The business case is the arithmetic from the availability table: Bronze loses about 48 hours a year in the model and Silver about five.
The lab: assign, count, apply, verify
List each site and what an outage costs it. Assign a tier. Count the tunnels at the hubs. Apply the policy by site list. Verify the BFD session counts and measured paths on one site of each tier.
- Listsites and thecost of an outage
- Assigna tier toeach site
- Counttunnels ateach hub
- Applypolicy bysite list
- Verifyone site ofeach tier
| Tier | BFD sessions to expect | Command | What a gap means |
|---|---|---|---|
| Platinum | 4 on each router, 8 for the site | show sdwan bfd sessions on both routers | A missing session is a circuit, a colour or a restrict setting |
| Gold | 4 | show sdwan bfd sessions | Fewer than 4 means a circuit or a hub is not reached |
| Silver | 4, including cellular | show sdwan bfd sessions | No cellular sessions usually means the colour does not reach the hubs |
| Bronze | 2 | show sdwan bfd sessions | One session means one hub is not reached |
Learn more: Dual-Hub SD-WAN DesignSLA Classes and Policy ThresholdsTransport Trade-offsFault Injection, Validation and Cutover
Test yourself
A site has one router and one Internet circuit, with a tunnel to each of two hubs. How many independent paths does an application-aware policy have to choose from?
In the lab definitions, which tier has two WAN Edge routers?
A Gold site has one router at 99.95 percent availability and an mpls and an Internet circuit in parallel that together reach 99.9995 percent. What mostly limits the site?
A design has 4 Platinum sites, each with 2 routers and 2 transports, and both hubs reachable. How many tunnels do the Platinum sites add to one hub?
A Silver site has an Internet circuit at 99.5 percent and a cellular circuit at 99.0 percent, treated as independent. What is the availability of the two circuits together?
BR-07, a Bronze site, shows 4 percent loss on both its tunnels, to HUB-01 and to HUB-02. What does that point to?
A Bronze site has poor voice quality in the busy hour. The site list for Bronze has an application-aware policy that prefers biz-internet for voice. Why does the policy not help?
Why is the 8 seconds a year of downtime for Platinum in the lab table an optimistic figure for a real site?