STP in Nexus

1)  spanning-tree port type edge # when the port of the switch needs to be connected to a single host ( portfast in cisco IOS)

spanning-tree port type edge trunk # when the port is connected to a single host with a trunk(Like a VM)

2) spanning-tree port type normal # this will pass through the normal STP process

3) spanning-tree port type network # Bridge Assurance is enabled here , can be seen when VPC peer link is configured

Bridge Assurance

If  suppose a cable or wire inside the network cable fails , one end keeps on sending BPDU,

when Bridge Assurance is enabled it the switch checks for ack of bpdu and if it does not receive ,it stops the