OTV Configuration Examples

Beginning with Cisco NX-OS Relese 5.0(3), the Overlay Transport Virtualization (OTV) is available.

This chapter provides examples on configuring OTV.

Configuration Examples for OTV

This example displays how to configure a basic OTV network that uses the configuration default values:

!Configure the physical interface that OTV uses to reach the 
! DCI transport infrastructure  
interface ethernet 2/1
 ip address 192.0.2.1/24
 ip igmp version 3
 no shutdown
 
!Configure the VLAN that will be extended on the overlay network
! and the site-vlan
vlan 2,5-10
 
 ! Configure OTV including the VLANs that will be extended.
feature otv 
otv site-vlan 2
otv site-identifier 256
interface Overlay1 
 otv control-group 239.1.1.1 
 otv data-group 232.1.1.0/28
 otv join-interface ethernet 2/1
!Extend the configured VLAN
 otv extend-vlan 5-10
 no shutdown

Load Balancing Example

Basic OTV Network

The following example displays how to configure load balancing on two edge devices in the same site:

Edge Device 1 interface ethernet 2/1 ip address 192.0.2.1/24 ip igmp version 3 no shutdown vlan 5-10 feature otv otv site-identifier 256 interface overlay 1 otv control-group 239.1.1.1 otv data-group 239.1.1.0/29 otv join-interface ethernet 2/1 otv extend-vlan 5-10 no shutdown Edge Device 2 interface ethernet 1/1 ip address 192.0.2.16/24 ip igmp version 3 no shutdown vlan 5-10 feature otv otv site-identifier 256 interface overlay 2 otv control group 239.1.1.1 otv data-group 239.1.1.0/29 otv join-interface ethernet 1/1 otv extend-vlan 5-10 no shutdown