L3 Service Switch Configuration

The following table shows an example of the switch configuration on the leaf nodes.

Table 1. L3 Service switch configuration
EPG Switch Configuration Comments
89cbf489-f3d9-41c7-bbb2-6cb7df33da02 (GREEN_NETWORK)
  • Endpoint: eth 0/1 on Leaf-1
  • EndPoint: eth 0/1 on Leaf-2
  • CTAG 30
  • AnyCast 10.0.0.1
  • VRF R1
vlan 30
description L2 Tenant vlan
!

VLAN 30 configured on Leaf-1 and Leaf-4

evpn default
vlan add 30
!

VLAN 30 added to evpn

Note: VLAN to VNI mapping is set to auto as part of fabric setup.
interface Ve 30  
  vrf forwarding 99cbf489f3d941c7bbb26cb7df33da03 
  ip anycast-address 10.0.0.1  
  no shutdown  
! 
Anycast IP address is provisioned as the Gateway IP address on the Interface Ve 30 (GREEN_Network)
interface ethernet 0/1
switchport
switchport trunk allowed vlan add 30
no shutdown
!
Interface configurations on both the switches, Leaf-1 and Leaf-4.
89cbf489-f3d9-41c7-bbb2-6cb7df33da02 (GREEN_NETWORK)
  • Endpoint: eth 0/1 on Leaf-1
  • EndPoint: eth 0/1 on Leaf-2
  • CTAG 30
  • AnyCast 10.0.0.1
  • VRF R1
vlan 40
description L2 Tenant vlan
router-interface Ve 40
!
VLAN 40 configured on Leaf-1 & Leaf-4
evpn default
vlan add 40
!
VLAN 40 added to evpn.
Note: VLAN to VNI mapping is set to auto as part of fabric setup.
interface Ve 40
vrf forwarding
99cbf489f3d941c7bbb26cb7df33da03
ip anycast-address 9.0.0.1
no shutdown
!
Anycast IP address is provisioned as the Gateway IP address on the Interface Ve 40 (RED_Network).
interface ethernet 0/1 
switchport 
switchport trunk allowed vlan add 40
no shutdown
!
Interface configurations on both the switches Leaf-1 and Leaf-4.