VXLAN ECMP Configuration
Requirements
This example uses the following hardware and software components:
An Trident-IIÂ Series switch
PICOS OS Release more than 2.5 version
Overview
In this example, VXLAN ECMP is configured to run on a VXLAN domain. VTEP interfaces sources are configured to the loopback address. Interfaces are configured for VLAN tagging and encapsulation. Static route protocols is configured to facilitate unicast routing.
Topology
The VXLAN that comprise the networks include:
SW1 VNI 1000: VTEP 10.10.10.1: VLAN 10
SW2 VNI 1000: VTEP 20.20.20.1: VLAN 10
SW1 IP Adress: 100.10.1.1 and IP Address: 100.20.1.1
SW2 IP Adress: 100.10.2.1 and IP Address: 100.20.2.1
Configuring VXLAN on Trident-II Series Switches
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and copy and paste the commands into the CLI.
SW1 Configure
Â
set vlans vlan-id 10
set vlans vlan-id 1000 l3-interface 1000
set vlans vlan-id 2000 l3-interface 2000
set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
set l3-interface loopback lo address 10.10.10.1 prefix-length 32
set l3-interface vlan-interface 1000 address 100.10.1.1 prefix-length 24
set l3-interface vlan-interface 2000 address 100.20.1.1 prefix-length 24
set protocols static route 20.20.20.1/32 next-hop 100.10.1.2
set protocols static route 20.20.20.1/32 next-hop 100.20.1.2
set vxlans source-interface lo address 10.10.10.1
set vxlans vni 1000 vlan 10
set vxlans vni 1000 flood vtep 20.20.20.1
commit
Â
SW2 Configure
set vlans vlan-id 10
set vlans vlan-id 1000 l3-interface 1000
set vlans vlan-id 2000 l3-interface 2000
set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
set l3-interface loopback lo address 20.20.20.1 prefix-length 32
set l3-interface vlan-interface 1000 address 100.10.2.1 prefix-length 24
set l3-interface vlan-interface 2000 address 100.20.2.1 prefix-length 24
set protocols static route 10.10.10.1/32 next-hop 100.10.2.2
set protocols static route 10.10.10.1/32 next-hop 100.20.2.2
set vxlans source-interface lo address 20.20.20.1
set vxlans vni 1000 vlan 10
set vxlans vni 1000 flood vtep 10.10.10.1
commit
Â
Configuring VXLANÂ Step-by-Step Procedure
The following example shows how to set up a basic VXLAN ECMP configuration with VXLAN domain. To configure VXLAN ECMP on Trident-II Series switches, follow these steps:
Configure VXLAN Step-by-Step for SW1
Configure the VLAN ID to 10 for vxlan domain.Â
set vlans vlan-id 10
Â
Configure the VLAN ID to 1000 and 2000 for ip routing.
Â
Configure the te-1/1/1 interface VLAN ID to 1000.
Â
Configure the te-1/1/2 interface VLAN ID to 2000.
Â
Configure the te-1/1/10 interface VLAN ID to 10
Â
Configure ip address for the loopback interface.
Â
Configure ip address and MTU for the vlan-interface 1000.
Â
Configure ip address and MTU for the vlan-interface 2000.
Â
Configure static route for the VXLAN ECMP.
Â
Configure VTEP interface sources ip address.
Â
Configure a VLAN ID 10 to a VNI 1000
Â
Configure flood vtep ip address for a VNI
Â
Configure VXLAN Step-by-Step for SW2
Configure the VLAN ID to 10 for vxlan domain.Â
Â
Configure the VLAN ID to 1000 and 2000 for ip routing.
Â
Configure the te-1/1/1 interface VLAN ID to 1000.
Â
Configure the te-1/1/2 interface VLAN ID to 2000.
Â
Configure the te-1/1/10 interface VLAN ID to 10
Â
Configure ip address for the loopback interface.
Â
Configure ip address and MTU for the vlan-interface 1000.
Â
Configure ip address and MTU for the vlan-interface 2000.
Â
Configure static route for the VXLAN ECMP.
Â
Configure VTEP interface sources ip address.
Â
Configure a VLAN ID 10 to a VNI 1000
Â
Configure flood vtep ip address for a VNI
Â
View the VXLAN tunnel of SW1
Run command run show vxlan tunnel to view the information about VXLAN endpoint configuration. Display VXLAN ECMP to the remote vxlan tunnel vtep has two nexthops(100.10.1.2 100.20.1.2).
Copyright © 2024 Pica8 Inc. All Rights Reserved.