Deployment Guide

62 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
Create a vPC domain and vPC peer link between the two spine switches. On spine 1, assign a role priority of
1 to make it the vPC primary.
Specify the management IP address of the vPC peer as the vPC peer-keepalive destination. In this example,
interfaces Ethernet 3/5 and 3/6 are used to create the vPC peer link. Interfaces are configured as trunk ports
and allow applicable VLANs.
L2-Spine1-Nexus7K
L2-Spine2-Nexus7K
vpc domain 1
role priority 1
peer-keepalive destination
100.67.184.28 source 100.67.184.21
auto-recovery
interface port-channel 20
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
spanning-tree port type network
vpc peer-link
interface Ethernet3/5
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
channel-group 20 mode active
no shutdown
interface Ethernet3/6
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
channel-group 20 mode active
no shutdown
vpc domain 1
role priority 65535
peer-keepalive destination
100.67.184.21 source 100.67.184.28
auto-recovery
interface port-channel 20
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
spanning-tree port type network
vpc peer-link
interface Ethernet3/5
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
channel-group 20 mode active
no shutdown
interface Ethernet3/6
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10,20
channel-group 20 mode active
no shutdown