Course contents

Unit 11: Lifecycle and deep troubleshootingLesson 11.7 (7 of 7 in this unit)57 of 63 in the Advanced Cisco SD-WAN course

Brownfield migration and coexistence

Move a working WAN onto SD-WAN in phases: an inventory, a coexistence pattern, route exchange between old and new without loops, and a site cutover with a way back.

Advanced · 17 min read

You'll learn to plan a phased move from an existing WAN to SD-WAN, choose a coexistence pattern, exchange routes between the two worlds without loops, and cut over one site at a time with a rollback that is ready.

Technical definition

A brownfield migration moves a working network onto SD-WAN without a stop. Migrated and not yet migrated sites have to reach each other for months, so the plan is about the coexistence period: where the two routing worlds meet, how routes cross between them, and how each site returns to the old design if its cutover fails.

Migrate in phases, and plan the coexistence period

A new SD-WAN fabric rarely replaces a WAN overnight. Sites move in groups over weeks or months, and the sites that have not moved still depend on the old network. The hard part is therefore not the new design. It is the period in which both networks must work together, with users who notice neither.

Diagram
Six phases of a migration
Six phases of a migration

Assess the current network, design the target and the meeting point, pilot one site, migrate in waves while both networks run, cut over the last sites, then retire the old network.

  1. Assessinventoryand needs
  2. Designtarget andmeeting point
  3. Pilotone site,proven
  4. Wavesold and newside by side
  5. Finishlast sitescut over
  6. Retireold networkremoved
Most of the risk sits in the middle phases, where the two networks run side by side.

Start from an inventory

Everything that the old network does quietly has to be found before the first cutover. A site that looks like a plain router and a circuit may also run a routing protocol with a neighbour, do address translation for a partner, mark traffic for voice, or hold a static route that nobody wrote down.

Diagram
What to record for each site
What to record for each site
ItemWhy it mattersWhere it hides
Circuits and bandwidthSets transport roles and the QoS shaping rateProvider records, interface settings
RoutingNeighbours and protocols must be reproduced or replacedRouting configuration and static routes
Address translationPartners may depend on a translated addressNAT rules on the old router
QoS markingsVoice and business traffic must keep its treatmentClass maps and policy maps
Local servicesDHCP relay, DNS and firewall rules may live on the routerService and ACL configuration
Change windowSome sites cannot lose service at certain hoursBusiness owner of the site
A site that is documented is a site that can be moved. An undocumented one needs a survey before its date is set.
Diagram
Example plan: 48 sites, three cutovers a night
Example plan: 48 sites, three cutovers a night
StageSitesCutover nightsWork weeks of nightsSites done after
Pilot210.22
Wave 1620.48
Wave 21040.818
Wave 31551.033
Wave 41551.048
Worked out by script for an example plan: nights are the sites divided by 3, rounded up, and a work week is 5 nights. The 17 nights add up to 3.4 weeks of cutovers. Time to watch the baseline between waves comes on top, so the calendar is longer.

Choose a coexistence pattern

There are two common ways to let old and new sites talk. In the first, an SD-WAN edge at a hub site connects to the old WAN and passes routes in both directions, so the hub is the gateway between the two worlds. In the second, the old circuit becomes one of the transports of the new edge, so the provider network carries both. Many migrations use both: the gateway at the hub and transport reuse at the branches.

Diagram
Two ways to connect old and new
Two ways to connect old and new

With a gateway at the hub, an SD-WAN edge links the overlay to the old WAN and passes routes between them. With transport reuse, the old provider circuit becomes a transport of the new edge, so the overlay rides on it.

Gateway at the hubEdge joins overlayand old WAN, routespass both ways
Reuse the circuitOld circuit becomesa transport; overlayruns on top of it
The gateway solves reachability. Transport reuse saves circuits. They can be combined.
Diagram
What the hub gateway connects
What the hub gateway connects

The hub gateway edge connects the overlay with the migrated branches on one side and the old WAN with the not yet migrated branches on the other.

Hub gateway
  • Migratedbranches onthe overlay
  • Old WANprovider networkand legacy routers
  • Data centershared servicesand applications
  • Internetbreakout andcloud access
Every old site reaches every new site through this point, so size it and make it redundant.

Exchange routes without creating loops

At the gateway, routes from the old WAN are advertised into the overlay and overlay routes are advertised back. Done at one point, this is simple. Done at two points without care, a prefix can leave the old WAN at the first gateway, enter the overlay, and return to the old WAN at the second as if it were a new route. That is a loop, or at best a long detour.

Diagram
How a tag stops a loop
How a tag stops a loop

A route leaves the old WAN at the first gateway, the gateway adds a tag as it enters the overlay, the overlay carries the tag with the route, and the second gateway filters on the tag so the route does not re-enter the old WAN.

  1. Old WANroute leaves atgateway A
  2. Taggateway A addsthe tag
  3. Overlayroute travelswith its tag
  4. Filtergateway B blocksthe tagged route
The tag and the filter are a pair. The tag without the filter does nothing.
Diagram
Loop control at the meeting point
Loop control at the meeting point
ControlWhat it doesWhere it is applied
Tag or community on redistributed routesMarks a route as coming from the other worldWhen the route is advertised across
Filter on the tagRefuses to advertise a marked route backAt every gateway, in both directions
One gateway firstRemoves the second point where loops could formEarly waves, before a second gateway is added
Prefix filtersOnly the intended prefixes crossOn both sides of the gateway
Add the second gateway only after the tag filters work on the first. The tag and the filter are a pair.

A worked case: reachable one way only

The branch BR-03 has just been cut over. Users there reach the data center, but cannot reach the not yet migrated branch BR-08. BR-08 stays on the old WAN, behind the hub gateway. The old WAN is advertised into the overlay, so the check starts at the migrated side, then follows the traffic across the gateway.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-03#show sdwan omp routes 203.0.113.0/24
PREFIX           FROM PEER     STATUS  TLOC IP       COLOR
203.0.113.0/24   10.255.0.11   C,I,R   10.255.1.1    mpls
BR-03 has a route to BR-08's prefix, learned through the Controller from the hub gateway, and it is chosen, installed and resolved. The first half of the path is fine, so packets reach the hub gateway. The question moves to the old WAN: does it know how to come back?
Example output written for this lesson, simplified; real output has more fields and a different layout
LEGACY-HUB#show ip route 198.51.100.0
% Network not in table
The old WAN has no route to BR-03's prefix. Requests arrive at BR-08, but the replies have nowhere to go. The redistribution from the overlay into the old WAN uses a prefix filter that lists only the sites that were migrated before this wave.
Diagram
Evidence from the case
Evidence from the case

BR-03 has a valid route to the old site through the hub gateway. The old WAN has no route back to BR-03. The prefix filter at the gateway does not list the new branch prefix.

  1. Forward pathBR-03 holds a chosen routePackets reach the hub gateway
  2. Old WANNo route to BR-03's prefixReplies are dropped
  3. Gateway filterLists earlier branches only198.51.100.0/24 is missing
  4. CauseWave added a branchFilter was not updated
The fault is on the return path, and it sits in a filter that was correct before this wave.
Diagram
What three filter lines let through
What three filter lines let through
Filter lineBR-03 198.51.100.0/24BR-04 198.51.101.0/24BR-09 198.51.104.0/24
permit 198.51.100.0/24YesNoNo
permit 198.51.100.0/22 le 24YesYesNo
permit 198.51.96.0/20 le 24YesYesYes
Matches worked out by script. An exact line passes one branch, so every wave needs another line. A summary with le 24 passes every /24 inside its range, but BR-09 sits outside the /22. Choose the summary from the address plan, so it covers the whole branch range.

The repair is to add the new prefix, or a summary that covers the whole branch range, to the filter and to the migration checklist: every cutover includes a step that proves the old WAN learned the new prefix. The next test is a ping in both directions between a migrated site and an old one, because a one-way test would have passed here.

Cut over one site at a time, with a way back

A site cutover is short, planned and reversible. Stage the SD-WAN edge and verify its control connections before the window, so the window itself only moves the cables and the routing. Keep the old router powered and cabled until the rollback window closes.

Diagram
One site cutover
One site cutover
StepCheckRollback trigger
Stage the edgeControl connections up, tunnels up, on the bench or in parallelDo not start the window if any check fails
Move the siteLAN gateway and routing now on the new edgeNo LAN reachability after the agreed time
Verify both waysPing and application tests to a migrated site and to an old siteEither direction fails
Watch the baselineTunnel count, routes and voice quality as expectedVoice or a key application degraded
Close the windowRollback window passes; old device removed laterNot applicable
Rollback means putting the old router back in service, which is why it stays in place until the end.

Learn more: Hub-and-Spoke vs MeshOMP Route AttributesFault Injection and Cutover Validation

Test yourself

Predict · scenario 1

A branch is cut over. It reaches the data center but not a branch that is still on the old WAN. The overlay route to the old branch is chosen and installed. Where do you look next?

Predict · scenario 2

Two gateways pass routes in both directions between the overlay and the old WAN, and some prefixes now take long detours. What is the likely cause and the control?

Predict · scenario 3

When can the old router at a migrated site be removed?

Predict · scenario 4

Why start with one gateway at the hub rather than two?

Predict · scenario 5

The gateway filter reads permit 198.51.100.0/22 le 24. Which of these branch prefixes does it pass?

Predict · scenario 6

A plan has 30 sites left and the team can cut over 3 sites a night. How many cutover nights are needed, and how many work weeks of 5 nights is that?

Predict · scenario 7

A tag is added to routes as they cross from the old WAN into the overlay, but loops still form at the second gateway. What is missing?

FAQ

Why not migrate every site in one weekend?
A single large cutover has one failure mode: everything at once. A phased plan limits each change to one site or one small group, proves the design on a pilot, and keeps the old network as the way back until the new one has carried real traffic.
How do migrated and old sites reach each other?
Through a coexistence point, usually a hub site where an SD-WAN edge connects to the old WAN. Routes learned from the old WAN are advertised into the overlay, and overlay routes are advertised back, so each side sees the other's prefixes.
What causes loops during coexistence?
Routes that are exchanged in both directions at more than one point. A prefix leaves the old WAN at one point, enters the overlay, and returns to the old WAN at another point as if it were new. Tags or communities on the redistributed routes stop that return.
When can the old circuit and router be removed?
After the site has carried normal business for an agreed period, the baseline checks match, and the rollback window has closed. Keep the old device powered and cabled but idle until then, because it is the fastest way back.