...
On portfast enabled interface, STP goes through BLK-LRN-FWD convergence after VPC seceondary turns to operational primary.
VPC nexus 9000 switch pair changing the switch role from secondary to primary having a vpc port-channel configured as stp port type edge trunk example: interface port-channel10 switchport switchport mode trunk spanning-tree port type network vpc peer-link interface port-channel100 switchport switchport mode trunk switchport trunk allowed vlan 777 spanning-tree port type edge trunk vpc 100
Shut/ no shut interface bring it back without convergence wait.
once bpdu receive failed on peer-link, stp will put both PL and downlink into blocking status, I think this is intended. 2021 Jan 27 05:32:21.278 93240-2 %STP-2-VPC_PEER_LINK_INCONSIST_BLOCK: vPC peer-link detected !BPDU receive timeout blocking port-channel10 VLAN0001. 2021 Jan 27 05:32:21.280 93240-2 %STP-6-PORT_RANGE_STATE: new_state=blocking interface=port-channel10 vlan=1 2021 Jan 27 05:32:21.528 93240-2 %STP-2-VPC_PEER_LINK_INCONSIST_BLOCK: vPC peer-link detected !BPDU receive timeout blocking port-channel10 VLAN0777. 2021 Jan 27 05:32:21.531 93240-2 %STP-6-PORT_RANGE_STATE: new_state=blocking interface=port-channel10 vlan=777 2021 Jan 27 05:32:21.531 93240-2 %STP-6-PORT_RANGE_STATE: new_state=blocking interface=port-channel100 vlan=777 2021 Jan 27 05:32:46.780 93240-2 %STP-2-VPC_PEER_LINK_INCONSIST_BLOCK: vPC peer-link detected Bridge Assurance Inconsistency blocking port-channel10 VLAN0001. 2021 Jan 27 05:32:47.031 93240-2 %STP-2-VPC_PEER_LINK_INCONSIST_BLOCK: vPC peer-link detected Bridge Assurance Inconsistency blocking port-channel10 VLAN0777. 2021 Jan 27 05:32:54.782 93240-2 %STP-2-BRIDGE_ASSURANCE_BLOCK: Bridge Assurance blocking port Po10 VLAN: 1,777. 93240-2# sh span vl 777 VLAN0777 Spanning tree enabled protocol rstp Root ID Priority 8969 Address 0023.04ee.be0a This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 8969 (priority 8192 sys-id-ext 777) Address 0023.04ee.be0a Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Po10 Root BKN*2 128.4105 (vPC peer-link) Network P2p *BA, vPC_PL_Inc Po100 Desg BKN*1 128.4195 (vPC) Edge P2p *vPC_PL_Inc but issue here when the PL got physical down, suppose downlink(PO100) should come up right away no need to wait for 30s stp timer, as we have ‘spanning-tree port type edge trunk’ configured. 2021 Jan 27 05:36:42.086 93240-2 %ETH_PORT_CHANNEL-5-FOP_CHANGED: port-channel10: first operational port changed from Ethernet1/1 to none 2021 Jan 27 05:36:47.093 93240-2 %VPC-4-VPC_ROLE_CHANGE: In domain 10, VPC role status has changed to primary 2021 Jan 27 05:36:47.095 93240-2 %VPC-5-INTF_CONSISTENCY_SUCCESS: In domain 10, vPC 100 configuration is consistent 2021 Jan 27 05:36:47.095 93240-2 %ETHPORT-5-IF_DOWN_PORT_CHANNEL_MEMBERS_DOWN: Interface port-channel10 is down (No operational members) 2021 Jan 27 05:36:47.096 93240-2 %VPC-5-INTF_CONSISTENCY_SUCCESS: In domain 10, vPC 100 configuration is consistent 2021 Jan 27 05:36:47.102 93240-2 %STP-6-PORT_RANGE_DELETED: Interface port-channel10 removed from vlan=1,133,157,200-201,300,557,560,777,999,2000,4011,4017,4033-4034,4041-4043,4066 2021 Jan 27 05:36:47.104 93240-2 %STP-6-PORT_RANGE_STATE: new_state=disabled interface=port-channel10 vlan=1 2021 Jan 27 05:36:47.105 93240-2 %STP-6-PORT_RANGE_STATE: new_state=disabled interface=port-channel10 vlan=777 2021 Jan 27 05:36:47.126 93240-2 %VPC-3-VPC_PEER_LINK_DOWN: VPC Peer-link is down 2021 Jan 27 05:36:47.126 93240-2 %ETH_PORT_CHANNEL-5-PORT_DOWN: port-channel10: Ethernet1/1 is down 2021 Jan 27 05:36:47.154 93240-2 %ETHPORT-5-IF_BANDWIDTH_CHANGE: Interface port-channel10,bandwidth changed to 100000 Kbit 2021 Jan 27 05:36:47.154 93240-2 %ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet1/1 is down (Link failure) 2021 Jan 27 05:36:47.168 93240-2 %ETHPORT-5-IF_DOWN_PORT_CHANNEL_MEMBERS_DOWN: Interface port-channel10 is down (No operational members) 93240-2# sh span vl 777 VLAN0777 Spanning tree enabled protocol rstp Root ID Priority 8969 Address 0023.04ee.be0a This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 8969 (priority 8192 sys-id-ext 777) Address 0023.04ee.be0a Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Po100 Desg BLK 1 128.4195 (vPC) Edge P2p 2021 Jan 27 05:37:02.058 93240-2 %STP-6-PORT_RANGE_STATE: new_state=learning interface=port-channel100 vlan=777 93240-2# sh span vl 777 VLAN0777 Spanning tree enabled protocol rstp Root ID Priority 8969 Address 0023.04ee.be0a This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 8969 (priority 8192 sys-id-ext 777) Address 0023.04ee.be0a Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Po100 Desg LRN 1 128.4195 (vPC) Edge P2p 2021 Jan 27 05:37:17.059 93240-2 %STP-6-PORT_RANGE_STATE: new_state=forwarding interface=port-channel100 vlan=777 93240-2# sh span vl 777 VLAN0777 Spanning tree enabled protocol rstp Root ID Priority 8969 Address 0023.04ee.be0a This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 8969 (priority 8192 sys-id-ext 777) Address 0023.04ee.be0a Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Po100 Desg FWD 1 128.4195 (vPC) Edge P2p