Deployment Guide

61 Leaf-Spine Deployment and Best Practices Guide | Version 1.0
10.2 Nexus 7000 series spine switch configuration
The following sections outline the configuration commands issued to the Nexus 7000 series switches to build
the topology in Figure 17.
First, enable the LACP and virtual port channel (vPC) features. Configure the hostname, management IP
address and default management route.
Note: Cisco enables Rapid Per VLAN Spanning Tree Plus (RPVST+), its implementation of RSTP, on
Nexus 7000 series switches by default.
L2-Spine1-Nexus7K
L2-Spine2-Nexus7K
enable
configure
feature lacp
feature vpc
hostname L2-Spine1-Nexus7K
interface mgmt0
vrf member management
ip address 100.67.184.21/24
no shutdown
vrf context management
ip route 0.0.0.0/0 100.67.184.254
enable
configure
feature lacp
feature vpc
hostname L2-Spine2-Nexus7K
interface mgmt0
vrf member management
ip address 100.67.184.28/24
no shutdown
vrf context management
ip route 0.0.0.0/0 100.67.184.254
Create VLAN 10 and 20. All VLANs are added to RPVST+ as a precaution against loops. L2-Spine1-Nexus7K
is configured as the primary spanning tree root bridge using the spanning tree vlan vlan_numbers
priority 0 command. L2-Spine1-Nexus7K is configured as the secondary spanning tree root bridge using
the spanning tree vlan vlan_numbela priority 4096 command.
L2-Spine1-Nexus7K
L2-Spine2-Nexus7K
vlan 10
vlan 20
spanning-tree vlan 1,10,20
spanning-tree vlan 1,10,20 priority 0
vlan 10
vlan 20
spanning-tree vlan 1,10,20
spanning-tree vlan 1,10,20 priority
4096