VXLAN Configuration with static Ingress replication on Cisco Nexus 9000

 Ingress Replication topology

  • Nexus 9000 VTEP-1 configuration:
switch-vtep-1(config)# <kbd>feature ospf</kbd>

switch-vtep-1(config)# <kbd>router ospf 1</kbd>
switch-vtep-1(config-router)# <kbd>router-id 200.200.8.8</kbd>

switch-vtep-1(config)# <kbd>interface loopback0</kbd>
switch-vtep-1(config-if)# <kbd>ip address 200.200.8.8/32</kbd>
switch-vtep-1(config-if)# <kbd>ip router ospf 1 area 0.0.0.0</kbd>

switch-vtep-1(config)# <kbd>interface e2/1</kbd>
switch-vtep-1(config-if)# <kbd>ip address 20.1.1.1/30</kbd>
switch-vtep-1(config-if)# <kbd>ip router ospf 1 area 0.0.0.0</kbd>
switch-vtep-1(config-if)# <kbd>ip pim sparse-mode</kbd>

switch-vtep-1(config)# <kbd>feature nv overlay</kbd>
switch-vtep-1(config)# <kbd>feature vn-segment-vlan-based</kbd>

switch-vtep-1(config)# <kbd>interface e1/1</kbd>
switch-vtep-1(config-if)# <kbd>switchport</kbd>
switch-vtep-1(config-if)# <kbd>switch port mode trunk</kbd>
switch-vtep-1(config-if)# <kbd>switch port allowed vlan 11-12</kbd>
switch-vtep-1(config-if)# <kbd>no shutdown</kbd>

switch-vtep-1(config)# <kbd>vlan 11</kbd>
switch-vtep-1(config-vlan)# <kbd>vn-segment 10011</kbd>
switch-vtep-1(config)# <kbd>vlan 12</kbd>
switch-vtep-1(config-vlan)# <kbd>vn-segment 10012</kbd>

switch-vtep-1(config)# <kbd>interface nve1</kbd>
switch-vtep-1(config-if)# <kbd>no shutdown</kbd>
switch-vtep-1(config-if)# <kbd>source-interface loopback0</kbd>
switch-vtep-1(config-if)# <kbd>member vni 10011</kbd>
switch-vtep-1(config-if)# <kbd>ingress-replication protocol static</kbd>
switch-vtep-1(config-if)# <kbd>peer_ip 200.200.9.9</kbd>
switch-vtep-1(config-if)# <kbd>member vni 10012</kbd>
switch-vtep-1(config-if)# <kbd>ingress-replication protocol static</kbd>
switch-vtep-1(config-if)# <kbd>peer_ip 200.200.9.9</kbd>
switch-vtep-1(config-vlan)# <kbd>exit</kbd>Code language: HTML, XML (xml)
switch-vtep-1# <kbd>show nve vni ingress-replication</kbd> 
Interface VNI     show nve vni ingress-replication 
Interface VNI      Replication List  Up Time 
--------- -------- ----------------- ------- 

nve1      10011    200.200.9.9       07:39:51

nve1      10012    200.200.9.9       07:39:40Code language: HTML, XML (xml)



  • Nexus 9000 VTEP-2 configuration:

switch-vtep-2(config)# <kbd>feature ospf</kbd>

switch-vtep-2(config)# <kbd>router ospf 1</kbd>
switch-vtep-2(config-router)# <kbd>router-id 200.200.9.9</kbd>

switch-vtep-2(config)# <kbd>interface loopback0</kbd>
switch-vtep-2(config-if)# <kbd>ip address 200.200.9.9/32</kbd>
switch-vtep-2(config-if)# <kbd>ip router ospf 1 area 0.0.0.0</kbd>

switch-vtep-2(config)# <kbd>interface e2/1</kbd>
switch-vtep-2(config-if)# <kbd>ip address 30.1.1.1/30</kbd>
switch-vtep-2(config-if)# <kbd>ip router ospf 1 area 0.0.0.0</kbd>
switch-vtep-2(config-if)# <kbd>ip pim sparse-mode</kbd>

switch-vtep-2(config)# <kbd>feature nv overlay</kbd>
switch-vtep-2(config)# <kbd>feature vn-segment-vlan-based</kbd>

switch-vtep-2(config)# <kbd>interface e1/1</kbd>
switch-vtep-2(config-if)# <kbd>switchport</kbd>
switch-vtep-2(config-if)# <kbd>switch port mode trunk</kbd>
switch-vtep-2(config-if)# <kbd>switch port allowed vlan 11-12</kbd>
switch-vtep-2(config-if)# <kbd>no shutdown</kbd>


switch-vtep-2(config)# <kbd>vlan 11</kbd>
switch-vtep-2(config-vlan)# <kbd>vn-segment 10011</kbd>
switch-vtep-2(config)# <kbd>vlan 12</kbd>
switch-vtep-2(config-vlan)# <kbd>vn-segment 10012</kbd>
switch-vtep-2(config)# <kbd>interface nve1</kbd>
switch-vtep-2(config-if)# <kbd>no shutdown</kbd>
switch-vtep-2(config-if)# <kbd>source-interface loopback0</kbd>
switch-vtep-2(config-if)# <kbd>member vni 10011</kbd>
switch-vtep-2(config-if)# <kbd>ingress-replication protocol static</kbd>
switch-vtep-2(config-if)# <kbd>peer_ip 200.200.8.8</kbd>

switch-vtep-2(config-if)# <kbd>member vni 10012</kbd>
switch-vtep-2(config-if)# <kbd>ingress-replication protocol static</kbd>
switch-vtep-2(config-if)# <kbd>peer_ip 200.200.8.8</kbd>
switch-vtep-2(config-vlan)# <kbd>exit</kbd>Code language: HTML, XML (xml)
switch-vtep-2# <kbd>show nve vni ingress-replication</kbd> 
Interface VNI      Replication List  Up Time 
--------- -------- ----------------- ------- 

nve1      10011    200.200.8.8       07:42:23
                   200.200.10.10     07:42:23

nve1      10012    200.200.8.8       07:42:23Code language: HTML, XML (xml)

Reference:

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/vxlan/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_VXLAN_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_VXLAN_Configuration_Guide_7x_chapter_011.html

Bilel Ameur

Enthusiastic Network Engineer specializing in Cisco ACI, passionate about solving challenges. A lifelong learner who loves gaining and sharing knowledge. Profile: https://www.linkedin.com/in/bilel-ameur-71116b2b5
5 1 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x