Default Spanning tree mode in nexus switches

Use show spanning tree command to check the current STP mode. As you can see, RSTP-PVST+ is the default spanning tree mode on nexus switches.

N7k (config-if-range)# show spanning-tree vlan 30
VLAN0030
  Spanning tree enabled
protocol rstp
———<<<<<<<<<<<<<
  Root ID    Priority    32798
             Address     0005.73bc.067c
             This bridge is the
root
             Hello Time  2 
sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority   
32798  (priority 32768
sys-id-ext 30)
             Address     0005.73bc.067c
             Hello Time  2 
sec  Max Age 20 sec  Forward Delay 15 sec
Interface        Role Sts
Cost      Prio.Nbr Type
—————- —- — ——— ——–
——————————-
–
Eth1/1           Desg FWD
2         128.129 
P2p
Eth1/2           Desg FWD
2         128.130  P2p