Cisco ACI L3Out Explained: Architecture, Configuration, and Use Cases

Cisco ACI L3Out Explained: Architecture, Configuration, and Use Cases

September 07, 2026

Cisco ACI L3Out is a key component used to connect an Application Centric Infrastructure fabric with external Layer 3 networks. It allows workloads inside the ACI fabric to communicate with WAN routers, firewalls, traditional data center networks, shared services, and internet gateways while maintaining centralized policy control through Cisco APIC.

For network engineers working with modern data center environments, understanding L3Out architecture, routing protocols, external EPGs, contracts, and route control is essential. Practical exposure through Cisco ACI Training can help professionals understand how external connectivity works in real-world deployments and how to configure, verify, and troubleshoot L3Out connections effectively.

What Is Cisco ACI L3Out?

Cisco ACI Layer 3 Outside, commonly known as L3Out, provides routed connectivity between an ACI fabric and networks located outside the fabric.

In a traditional network, routers exchange routes and forward traffic between different networks. Cisco ACI performs a similar function through L3Out but combines routing with policy-based control.

L3Out can connect the ACI fabric to external devices such as:

  • WAN routers
  • Internet edge routers
  • Firewalls
  • MPLS networks
  • Traditional data center networks
  • Shared service networks
  • Cloud connectivity infrastructure

The L3Out is associated with a tenant and a VRF, allowing external routes to become part of the appropriate routing domain.

Why Is L3Out Important in Cisco ACI?

Applications hosted inside ACI often need to communicate with resources outside the fabric. A web application may require internet connectivity, a database may need access to an external backup service, or internal workloads may communicate with users located across a corporate WAN.

L3Out provides the Layer 3 path required for these connections.

However, Cisco ACI does not rely only on routing. Communication between internal EPGs and external networks can also be controlled through contracts. This provides administrators with greater control over which applications are allowed to communicate with external destinations.

Cisco ACI L3Out Architecture

Several components work together to provide external Layer 3 connectivity.

VRF

A Virtual Routing and Forwarding instance, or VRF, provides the Layer 3 routing context for the L3Out.

The L3Out is linked to a VRF, and routes learned from external devices become available within that routing domain according to the configured policies.

The VRF also helps isolate different routing environments within the same ACI fabric.

Border Leaf Switch

The leaf switches that connect to external Layer 3 devices are commonly called border leaf switches.

Border leaves may establish routing relationships with:

  • Core routers
  • WAN routers
  • Firewalls
  • Provider edge routers

Two or more border leaf switches are often used when redundancy and high availability are required.

L3 Domain

The Layer 3 domain defines the infrastructure resources available to the L3Out.

It helps associate the routed external network with the physical interfaces and VLAN resources used by the ACI fabric.

Logical Node Profile

The logical node profile identifies the border leaf switches participating in the L3Out.

Administrators select the required leaf nodes and configure important settings such as router IDs.

Logical Interface Profile

The logical interface profile defines how the selected border leaf connects to the external router.

Common interface types include:

  • Routed interface
  • Routed subinterface
  • SVI

The interface profile may contain IP addressing, VLAN information, MTU settings, and routing protocol parameters.

Routing Protocols Used with Cisco ACI L3Out

Cisco ACI supports different routing options for external connectivity.

BGP

Border Gateway Protocol is commonly used for large enterprise networks, WAN connectivity, data center interconnects, and service provider environments.

BGP provides flexible route advertisement and policy control.

OSPF

Open Shortest Path First is frequently used when ACI connects to an enterprise routing environment already running OSPF.

Border leaf switches can establish OSPF neighbor relationships with external routers and dynamically exchange routes.

EIGRP

EIGRP may be used in environments where Cisco-based routing infrastructure already relies on the protocol.

It allows the ACI fabric to exchange routes dynamically with compatible external routers.

Static Routing

Static routes can be used when the external topology is simple and does not require dynamic route exchange.

Static routing may reduce configuration complexity, although it requires administrators to manually maintain routes when the network changes.

What Is an External EPG?

An External Endpoint Group, also known as an External EPG or L3Out EPG, represents networks outside the ACI fabric for policy purposes.

Administrators define external subnet prefixes under the External EPG.

For example:

10.10.0.0/16

or

0.0.0.0/0

The selected subnet and scope settings influence how ACI classifies external traffic and how routes are advertised or consumed.

Using more specific prefixes can also provide better control over which external networks applications are permitted to access.

Contracts in Cisco ACI L3Out

Routing alone does not always permit communication between an internal EPG and an external network.

Cisco ACI uses contracts to define allowed communication.

A simplified policy relationship may look like:

Application EPG → Contract → External EPG

The contract can contain filters that specify which protocols and ports are permitted.

Examples include:

  • HTTP
  • HTTPS
  • DNS
  • SSH
  • Application-specific TCP ports

This allows organizations to combine Layer 3 connectivity with application-level policy enforcement.

How to Configure Cisco ACI L3Out

The exact process varies depending on routing protocol and network design, but the general configuration follows several common steps.

Step 1: Create the L3Out

Create the L3Out under the required tenant and associate it with the appropriate VRF and Layer 3 domain.

Select the routing protocol required for the external connection.

Step 2: Configure the Logical Node Profile

Add the border leaf switches that will participate in external routing.

Configure the router ID and other required node-level parameters.

Step 3: Configure the Logical Interface Profile

Select the physical interface, subinterface, or SVI used to connect to the external routing device.

Configure the required IP address, VLAN, and interface parameters.

Step 4: Configure Routing

Configure BGP, OSPF, EIGRP, or static routing according to the external network design.

Verify that routing neighbors form successfully when using dynamic routing protocols.

Step 5: Create the External EPG

Define the external network prefixes that should be reachable through the L3Out.

Carefully configure subnet scopes based on routing and security requirements.

Step 6: Apply Contracts

Configure contracts between internal EPGs and the External EPG to permit the required application traffic.

Step 7: Verify Routes

Check whether external routes are being learned by the ACI fabric and whether internal routes are being advertised toward the external router as expected.

Cisco ACI L3Out Traffic Flow

Consider an application server inside ACI that needs to communicate with an external network.

The traffic may follow this path:

Application Server → Leaf → Spine → Border Leaf → L3Out → External Router

Return traffic follows the reverse path toward the destination endpoint.

The routing table determines the forwarding path, while ACI contracts and policy determine whether the communication is allowed.

Because of this, successful troubleshooting requires checking both routing and policy configuration.

Common Cisco ACI L3Out Use Cases

Internet Connectivity

L3Out can provide application workloads with access to internet edge infrastructure through routers or firewalls.

WAN Connectivity

Organizations can connect ACI workloads to branch offices, remote locations, and other data centers through enterprise WAN infrastructure.

Firewall Integration

Firewalls are often connected through or alongside an L3Out design to inspect traffic entering or leaving the ACI environment.

Data Center Migration

During migration, some workloads may remain on traditional networks while others move to ACI.

L3Out provides routed connectivity between both environments during the transition.

Shared Services

DNS, monitoring, authentication, backup, and management systems may exist outside the ACI fabric. L3Out enables controlled access to these external services.

Common L3Out Troubleshooting Checks

When L3Out traffic is not working, administrators should verify:

  • Border leaf interface status
  • IP addressing
  • VLAN configuration
  • Routing neighbor status
  • Learned external routes
  • Advertised internal routes
  • External EPG subnet configuration
  • Contract relationships
  • VRF association
  • Route-control policies
  • MTU consistency

A routing neighbor being established does not automatically confirm that application traffic will work. Routes, contracts, subnet scopes, and external policies must all be validated.

Best Practices for Cisco ACI L3Out

Use redundant border leaf switches when high availability is required.

Keep external subnet definitions as specific as possible when stronger policy control is needed.

Apply route filtering to prevent unnecessary prefixes from entering or leaving the ACI fabric.

Administrators should also document expected routing behavior before deployment. Knowing which routes should be learned and advertised makes troubleshooting significantly easier.

Conclusion

Cisco ACI L3Out plays an important role in connecting the ACI fabric with external networks such as WAN routers, firewalls, traditional data centers, shared services, and internet gateways. Understanding its architecture, routing protocols, external EPGs, contracts, route control, and traffic flow helps network engineers design reliable connectivity and troubleshoot common routing or policy issues more effectively.

For professionals working with enterprise data center environments, gaining practical experience with L3Out configuration and troubleshooting is especially valuable. Building these skills while preparing for Cisco ACI Certification can strengthen your understanding of real-world ACI deployments and help you manage external connectivity, routing policies, and application communication with greater confidence.