Saturday, August 2, 2014

OTV Multicast-Mode Configuration Example Using OTV On Stick Design - OTV Series Part 3



Configuration Template Used In Demo:

DC1-N7K-1
+++++++++

!
en
!
conf t
!
vlan 100
 name OTV-SITE-VLAN
vlan 200
 name OTV-EXTEND-VLAN
!
int lo0
 ip add 11.11.11.11/32
 exit
!
int e1/7
 ip add 1.1.1.1 255.255.255.0
 no sh
 exit
!
int e1/5
 switchport
 switchport mode trunk
 switchport trunk allowed vlan 100,200
 no sh
 exit
!
feature interface
!
feature pim
!
int vlan 200
 ip add 200.0.0.1/24
 no sh
 exit
!
int e1/1,e1/7
 ip igmp ver 2
 ip pim sp
 exit
!
ip pim rp-add 30.0.0.1
!


DC2-N7K-1
+++++++++

!
en
!
conf t
!
vlan 100
 name OTV-SITE-VLAN
vlan 200
 name OTV-EXTEND-VLAN
!
int lo0
 ip add 22.22.22.21/32
 exit
!
int e1/14
 ip add 2.2.2.1 255.255.255.0
 no sh
 exit
!
int e1/12
 switchport
 switchport mode trunk
 switchport trunk allowed vlan 100,200
 no sh
 exit
!
feature interface
!
feature pim
!
int vlan 200
 ip add 200.0.0.2/24
 no sh
 exit
!
int e1/10,e1/14
 ip igmp ver 2
 ip pim sp
 exit
!
ip pim rp-add 30.0.0.1
!



DC1-N7K-2
+++++++++

!
en
!
conf t
!
vlan 100
 name OTV-SITE-VLAN
vlan 200
 name OTV-EXTEND-VLAN
!
int lo0
 ip add 111.111.111.111/32
 exit
!
feature otv
!
int e1/11
 ip add 1.1.1.2 255.255.255.0
 ip igmp ver 3
 no sh
 exit
!
int e1/9
 sw
 sw mode tr
 sw tr all vlan 100,200
 no sh
 exit
!
otv site-vlan 100
 exit
!
otv site-iden 0x001
!
int overlay 1
 otv join-interface e1/11
 otv control-group 235.0.0.1
 otv data-group 232.0.0.0/4
 otv extend-vlan 200
 no sh
exit
!


DC2-N7K-1
+++++++++
!
vlan 100
 name OTV-SITE-VLAN
vlan 200
 name OTV-EXTEND-VLAN
!
int lo0
 ip add 222.222.222.222/32
 exit
!
feature otv
!
int e1/20
 ip add 2.2.2.2 255.255.255.0
 no sh
 ip igmp ver 3
 no sh
 exit
!
int e1/18
 sw
 sw mode tr
 sw tr all vlan 100,200
 no sh
 exit
!
otv site-vlan 100
 exit
!
otv site-iden 0x002
!
int overlay 1
 otv join-interface e1/20
 otv control-group 235.0.0.1
 otv data-group 232.0.0.0/4
 otv extend-vlan 200
 no sh
exit
!


Further Readings:

http://routing-bits.com/2011/06/16/cisco-otv-part-i/

http://routing-bits.com/2011/06/28/cisco-otv-part-ii/

http://routing-bits.com/2011/07/06/cisco-otv-part-iii/

http://blog.ine.com/2010/02/15/what-is-overlay-transport-virtualization/

http://blog.ine.com/2012/08/17/otv-decoded-a-fancy-gre-tunnel/

http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DCI/5.0/OTVmulticast.pdf

http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DCI/whitepaper/DCI3_OTV_Intro_WP.pdf

http://www.netcraftsmen.net/user-group/c-mug-archive/904-overlay-transport-virtualization.html

http://www.netcraftsmen.net/blogs/entry/spanning-layer-2-between-data-centers.html

http://www.netcraftsmen.net/blogs/entry/understanding-layer-2-over-layer-3-part-1.html

http://www.netcraftsmen.net/blogs/entry/understanding-layer-2-over-layer-3-part-2.html

http://www.netcraftsmen.net/blogs/entry/exploiting-layer-2-over-layer-3.html

http://www.netcraftsmen.net/blogs/entry/otv-optimal-routing.html

http://www.netcraftsmen.net/blogs/entry/cisco-overlay-transport-virtualization-otv.html

http://www.netcraftsmen.net/blogs/entry/data-center-l2-interconnect-and-failover.html

http://www.netcraftsmen.net/blogs/entry/designing-an-otv-deployment.html

http://www.netcraftsmen.net/blogs/entry/otv-and-dci-require-stp-defenses.html

http://packetpushers.net/pq-show-24-cisco-otv-deep-dive-part-1/

http://packetpushers.net/pq-show-25-cisco-otv-deep-dive-part-2/

http://packetpushers.net/show-155-integrating-otv-fabricpath-lisp-sponsored/

http://packetpushers.net/cisco-otv-101-legacy-multicast-mode-mac-learning-process-walk/

http://packetpushers.net/anycast-hsrp-design-considerations/

HTH...
Deepak Arora
Evil CCIE

1 comment:

Erik Witkop said...

Your configs reference interfaces that are not shown in the config. When you enable pim and IGMP on two interfaces, we cant see the config for one of those interfaces.