Deploying a Spine Leaf VXLAN DCN using AFC

In this article, I will use AFC to deploy a spine leaf topology using VXLAN. For reference, the following topology will be used throughout this example.

The network is comprised of two spine switches and four leaf switches. Each pair of leaf switches has been deployed using VSX as shown in the previous article. Now I will use AFC to deploy VXLAN.

Normally this would take a massive amount of effort. It can require a considerable amount of hours to generate the necessary config and perform the validation. Using AFC, you can have a complex topology deployed very quickly. Let’s look at an example.

Underlay Configuration

The first step is to implement the underlay configuration. To begin, select the Spine Leaf option from the wizard. From there, you can choose to automatically detect the devices or you can manually specify them. I will select automatic detection and proceed.

Creating Leaf-Spine Pairs
Creating Leaf-Spine Pairs

Provide a relevant name and description for the task.

Job Task Information
Job Task Information

I will provide a subnet range for the underlay. The IP addresses will be assigned to the uplink interfaces between the spine and leaf switches.

Underlay IP Information
Underlay IP Information

Review the summary and hit apply to configure the uplink interfaces.

Underlay IP Address Summary
Underlay IP Address Summary

Now go back to the wizard and select the underlays option.

Configure Underlay Using the Wizard
Configure Underlay Using the Wizard

Provide a name and description then move onto the next phase.

Underlay Task Information
Underlay Task Information

I will choose which routing protocol I wish to use for the underlay. eBGP is often considered for larger deployments where multi ASNs are required between the leaf and spine switches. For this example, I will choose OSPF for simplicity.

Underlay Routing Options
Underlay Routing Options

I will keep the default OSPF timers but I will enable BFD to help detect a failure. An authentication key will be used and I have assigned VLAN 10 for the transit VLAN.

OSPF Options
OSPF Options

OSPF Options Continued
OSPF Options Continued

Next, I will use the default advertisement options.

LSA Options
LSA Options

Review the configuration one last time to ensure everything is correct and hit apply to deploy the config.

OSPF Summary
OSPF Summary

If we take a look at some of the devices, I can see the OSPF config has been applied.

OSPF Configuration
OSPF Configuration

OSPF adjacencies have been formed between the switches. Everything is looking good so far.

OSPF Adjacencies
OSPF Adjacencies

Now lets move into the overlay configuration section.

Overlay Configuration

Select the overlay option from the wizard to begin the overlay deployment. Next, give the task a name and description.

Job Details
Job Details

I now have the option to choose iBGP or eBGP for the overlay. In this example I will use iBGP.

BGP Options
BGP Options

To support the iBGP deployment, I specify the ASN and configure both spine switches as route reflectors. I then create BGP groups for the leaf and spines. An authentication password is applied.

BGP Parameters
BGP Parameters

An IP subnet is required for the overlay loopbacks.  I will use the subnet 10.1.3.0/24 for the interfaces.

Loopback Subnet Information
Loopback Subnet Information

I then keep the default timers and hit next.

BGP Timers
BGP Timers

Review the configuration and then deploy the config using the apply button.

Overlay Summary
Overlay Summary

If you go into Configuration > Routing > VRF > Default, you can see the overlay has been deployed in the GUI.

Overlay Verification.
Overlay Verification.

Moving back over to the CLI, the BGP config has been deployed to each device.

BGP Configuration
BGP Configuration

BGP adjacencies have been established.

BGP Adjacencies
BGP Adjacencies

Lets proceed with the EVPN config.

EVPN Configuration

I will deploy a single VLAN using EVPN. Choose the EVPN option from the wizard.

EVPN Wizard
EVPN Wizard

I will now deploy the EVPN configuration to all switches in the fabric.

Deployment Options
Deployment Options

Provide a name and description for the task.

At this point, you can deploy a range of VLANs using EVPN. As mentioned, I will be deploying a single VLAN for this scenario. I will use VLAN 20 with a base L2VNI of 10000.

VNI Mapping
VNI Mapping

Specify the route target and system MAC address.

RT and System Mac Options
RT and System Mac Options

Finally, verify your EVPN configuration before deploying the config.

EVPN Summary
EVPN Summary

To verify the EVPN config, go to Configuration > Routing > EVPN as below.

The EVPN configuration is also available using the CLI.

CLI Verification
CLI Verification

That’s it for now! You can use this as a base and then start building out additional configurations for your environment.

Summary

During this post, I have covered the following;

  • Deploying the underlay using OSPF.
  • Deploying the overlay using iBGP.
  • Configuring EVPN and VNI mapping information.
  • Verifying each stage of the deployment.

Next Article: AFC Distributed Gateway SVI Configuration

Andrew McCartney
Andrew McCartney
Solutions Architect, Aruba Networks.

Related