مهیارجان با عرض معذرت
جسارت بنده رو ببخشید ولی PortFast به هیچ وجه STP رو روی پورت غیر فعال نمیکنه (این یک اشتباه مصطلح هستش)
بلکه برخی مراحل اون رو بیخیال میشه (فرض میکنه همیشه به پورت access وصله)
برای همینه که همیشه روی پورت PortFast شده BPDU Guard رو هم میزنیم
'spanning-tree portfast' would not disable STP on a port, in fact a port configured for 'spanning-tree portfast' should never be connected to a switch or a device that can generate BPDU's.
If you configure 'spanning-tree portfast' on a port, it will give you a warning saying that this port should not be connected to a switch & similar other devices. Portfast is configured strictly on ports that are meant to be connected to hosts.
You can disable spanning-tree by using the command 'no span vlan <vlan-number>' if you are running PVST or just by using 'no span' on that port.