Note: DC1-N7K-2 Is Playing Role Of OTV Unicast Adj. Server
Configuration Template Used In Demo:
Getting Infrastructure Ready
############################
DC1-N7K-1
+++++++++
!
en
!
conf t
!
feature interface-vlan
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int vlan 200
ip add 200.0.0.1/24
no sh
exit
!
int e1/5
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/7
ip add 1.1.1.1/24
< Enable Routing Of Your Choice >
no sh
exit
!
int e1/1
ip add 10.1.13.3/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC2-N7K-1
+++++++++
!
en
!
conf t
!
feature interface-vlan
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int vlan 200
ip add 200.0.0.2/24
no sh
exit
!
int e1/12
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/14
ip add 2.2.2.1/24
< Enable Routing Of Your Choice >
no sh
exit
!
int e1/10
ip add 10.1.23.3/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC1-N7K-2
+++++++++
!
en
!
conf t
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int e1/9
des "OTV-INTERNAL-INTERFACE"
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/11
des "OTV-JOIN-INTERFACE"
ip add 1.1.1.2/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC2-N7K-2
+++++++++
!
en
!
conf t
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int e1/18
des "OTV-INTERNAL-INTERFACE"
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/11
des "OTV-JOIN-INTERFACE"
ip add 2.2.2.2/24
< Enable Routing Of Your Choice >
no sh
exit
!
****************************************
OTV Configurations
##################
DC1-N7K-2
+++++++++
!
en
!
conf t
!
feature otv
!
otv site-vlan 100
exit
!
otv site-identifier 0x01
!
int overlay 1
otv join-interface e1/11
otv adjacency-server unicast-only
otv extend-vlan 200
no sh
exit
!
DC2-N7K-2
+++++++++
!
en
!
conf t
!
feature otv
!
otv site-vlan 100
exit
!
otv site-identifier 0x02
!
int overlay 1
otv join-interface e1/20
otv use-adjacency-server 1.1.1.2 unicast-only
otv extend-vlan 200
no sh
exit
!
Further Readings:
http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DCI/whitepaper/DCI3_OTV_Intro_WP.pdf
HTH...
Deepak Arora
Evil CCIE
Configuration Template Used In Demo:
Getting Infrastructure Ready
############################
DC1-N7K-1
+++++++++
!
en
!
conf t
!
feature interface-vlan
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int vlan 200
ip add 200.0.0.1/24
no sh
exit
!
int e1/5
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/7
ip add 1.1.1.1/24
< Enable Routing Of Your Choice >
no sh
exit
!
int e1/1
ip add 10.1.13.3/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC2-N7K-1
+++++++++
!
en
!
conf t
!
feature interface-vlan
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int vlan 200
ip add 200.0.0.2/24
no sh
exit
!
int e1/12
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/14
ip add 2.2.2.1/24
< Enable Routing Of Your Choice >
no sh
exit
!
int e1/10
ip add 10.1.23.3/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC1-N7K-2
+++++++++
!
en
!
conf t
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int e1/9
des "OTV-INTERNAL-INTERFACE"
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/11
des "OTV-JOIN-INTERFACE"
ip add 1.1.1.2/24
< Enable Routing Of Your Choice >
no sh
exit
!
DC2-N7K-2
+++++++++
!
en
!
conf t
!
vlan 100
name OTV-SITE-VLAN
exit
!
vlan 200
name OTV-EXTEND-VLAN
exit
!
int e1/18
des "OTV-INTERNAL-INTERFACE"
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200
no sh
exit
!
int e1/11
des "OTV-JOIN-INTERFACE"
ip add 2.2.2.2/24
< Enable Routing Of Your Choice >
no sh
exit
!
****************************************
OTV Configurations
##################
DC1-N7K-2
+++++++++
!
en
!
conf t
!
feature otv
!
otv site-vlan 100
exit
!
otv site-identifier 0x01
!
int overlay 1
otv join-interface e1/11
otv adjacency-server unicast-only
otv extend-vlan 200
no sh
exit
!
DC2-N7K-2
+++++++++
!
en
!
conf t
!
feature otv
!
otv site-vlan 100
exit
!
otv site-identifier 0x02
!
int overlay 1
otv join-interface e1/20
otv use-adjacency-server 1.1.1.2 unicast-only
otv extend-vlan 200
no sh
exit
!
Further Readings:
http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DCI/whitepaper/DCI3_OTV_Intro_WP.pdf
HTH...
Deepak Arora
Evil CCIE
Deepak, I don't know what to say. It is because of you, upcoming engineers like me are able to grasp new technologies easily. We are grateful to bloggers like you. In future, I am planning to start my own blog so that someone might find it useful. Good luck for your future. Thanks again for your work.
ReplyDelete