The Build and Deploy Phases in Juniper Apstra take your design blueprint and transform it into a live, operational network. These phases involve generating configurations, assigning resources, deploying them to devices, and validating the deployment.
What Happens:
What’s Included:
Example Configuration for a Leaf Switch:
set interfaces lo0 unit 0 family inet address 192.168.1.1/32
set interfaces xe-0/0/0 unit 0 family inet address 10.0.0.1/31
set protocols bgp group EVPN type internal
set protocols bgp group EVPN peer-as 65000
set protocols bgp group EVPN family evpn signaling
What Happens:
Example:
Benefits:
The deploy phase focuses on applying the generated configurations to devices, ensuring the network becomes operational. This includes pushing configurations, validating device states, and performing post-deployment testing.
What Happens:
How It Works:
Example:
Leaf1 receives its configuration:
set interfaces xe-0/0/0 unit 0 family inet address 192.168.1.2/31
set protocols bgp group EVPN type internal
set routing-instances VXLAN-10 vlan-id 10
What Happens:
What’s Validated:
Example:
Use the following command to check BGP sessions:
show bgp summary
Automation-Driven:
Real-Time Feedback:
Scalable:
You are setting up a network with:
Push Configurations:
Validation:
Post-deployment Testing:
Juniper Apstra provides built-in rollback and remediation capabilities to ensure safe, reliable deployments—even in the face of partial failures.
Automatic Rollback:
Manual Rollback:
| Scenario | Response |
|---|---|
| Device unreachable during push | Deployment halted and config reverted on reachable devices |
| Intent mismatch detected post-push | Remediation flagged; optional rollback prompted |
| Operator cancels deployment mid-way | Partial changes are undone (if rollback enabled) |
Sample Question Format:
"What happens when a blueprint deployment fails due to a misconfigured interface on one leaf device?"
Correct answer should reflect rollback capability or deployment halt with remediation options.
Juniper Apstra supports two key deployment approaches:
| Mode | Description |
|---|---|
| Full Deployment | Pushes the entire blueprint to all devices in a single operation |
| Staged Deployment | Allows deployment in phases (e.g., one tenant, one rack, or one region at a time) |
Gradual onboarding of multi-tenant environments
Rolling updates to production networks
Testing in lab or edge fabric before full rollout
Per-device or per-rack staging using blueprint deployment options
Per-role staging (e.g., deploy all spines, then leaves)
Controlled via GUI or REST API (e.g., using PATCH operations)
Pro Tip: In real environments, staged deployments reduce blast radius and simplify rollback paths.
In real-world data centers, devices often come from multiple vendors. Apstra abstracts vendor differences during build and deploy via intent-based abstraction.
| Element | Multi-vendor Strategy |
|---|---|
| Device Profiles | Define vendor-specific syntax and capabilities (e.g., Junos vs EOS) |
| Template Engine | Generates appropriate CLI/config per device OS (e.g., Juniper, Cisco, Arista) |
| Transport Methods | Communicates via vendor-supported protocols (NETCONF, REST, SSH) |
If one leaf is a Juniper QFX5120 and another is an Arista 7050:
Apstra uses a common intent blueprint for both.
It translates this into:
Junos CLI for QFX.
EOS CLI or eAPI calls for Arista.
Exam Insight: Questions may ask how Apstra supports multi-vendor fabric deployment. Correct answers should reference vendor abstraction or device profile translation.
Apstra actively validates and monitors deployment success using several mechanisms:
| Error Type | Detection Method |
|---|---|
| Configuration Mismatch | Detected via intent comparison before and after deployment |
| Protocol Session Failures | Detected via telemetry and validation rules (e.g., BGP down) |
| CLI Syntax Rejection | Detected from device API/CLI response parsing |
| Tool or Format | Function |
|---|---|
| Deployment Logs (JSON) | Per-device deployment actions and results (viewable via UI/API) |
| Intent Mismatch Reports | Highlights discrepancies between expected vs actual state |
| Telemetry Alerts | Real-time feedback on failed sessions, interface flaps, etc. |
| Audit Trail (Time Voyager) | Tracks who made what changes and when |
GUI: “Deploy Logs” tab within blueprint view
API: /api/blueprints/<id>/deployments/<deployment-id>/logs
CLI-integrated environments (for example via Ansible)
| Area | Enhancement |
|---|---|
| Rollback & Remediation | Automatic/manual rollback on failed deployment, rollback logic explanation |
| Deployment Modes | Full vs staged deployment for tenant onboarding and partial rollout |
| Multi-vendor Handling | CLI abstraction via device profiles and cross-platform support |
| Error Reporting & Logs | Intent mismatch detection, JSON logs, telemetry events, audit trail support |
What happens during the build phase in the Apstra workflow?
During the build phase, physical devices are assigned to the blueprint, and Apstra generates the required configurations based on the previously defined design.
After completing the design phase, the blueprint describes how the network should function. The build phase connects this logical design to actual hardware.
Key activities include:
Adding switches to the blueprint
Assigning device roles such as leaf or spine
Mapping physical ports and connections
Verifying device compatibility
Once devices are added, Apstra automatically generates the configuration required for each switch. This configuration reflects the intent defined in the blueprint.
The build phase ensures that the physical infrastructure correctly matches the logical design before configuration is deployed.
Demand Score: 78
Exam Relevance Score: 90
What occurs during the deploy phase in Apstra?
During the deploy phase, Apstra pushes the generated configurations to network devices and activates the fabric according to the blueprint.
After devices are added and validated during the build phase, the network is ready for deployment.
In the deploy phase, Apstra performs several automated tasks:
Generates device-specific configurations
Establishes control-plane protocols such as BGP EVPN
Configures VXLAN tunnels and routing policies
Applies the configuration to switches
Deployment is typically executed through secure management protocols such as SSH or APIs.
After deployment, Apstra begins continuous monitoring to ensure the network operates according to the defined intent.
A common misconception is that configuration is manually edited before deployment. In Apstra, configurations are automatically generated from the blueprint.
Demand Score: 74
Exam Relevance Score: 92
How does Apstra automate device configuration during deployment?
Apstra automatically generates device configurations from the blueprint and pushes them to switches through its automation engine.
Instead of manually configuring each device, Apstra translates the blueprint’s intent into device-level configuration templates.
The automation workflow includes:
Interpreting the blueprint model
Generating configurations for each switch role
Applying consistent protocol and policy settings
Delivering configurations to devices through secure connections
Because the configuration is generated automatically, the risk of human error is significantly reduced.
If the blueprint is updated, Apstra recalculates the necessary configuration changes and can redeploy them to the fabric.
This automation enables rapid and consistent deployment of large-scale data center fabrics.
Demand Score: 70
Exam Relevance Score: 88
Why is device validation important before deploying a blueprint?
Device validation ensures that hardware capabilities, connectivity, and roles match the requirements of the blueprint before configuration is applied.
Before deploying configurations, Apstra verifies that the physical network environment aligns with the blueprint design.
Validation checks may include:
Hardware compatibility
Device operating system versions
Physical link connectivity
Correct device roles and topology placement
If discrepancies are detected, deployment may fail or produce unintended network behavior.
By performing validation in advance, Apstra ensures that the deployment process proceeds smoothly and that the resulting network operates as expected.
This validation step helps maintain consistency and reliability in large-scale automated deployments.
Demand Score: 72
Exam Relevance Score: 89