STP interface type
There are several show
commands that can be used to verify Spanning Tree Protocol (STP). Several of these display a table of interfaces along with the role, status and cost of each interface. An example of such output can be seen here:
Switch# show spanning-tree active VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 32768 Address 0001.42e2.cdd0 Cost 3038 Port 24 (GigabitEthernet2/0/1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 49153 (priority 49152 sys-id-ext 1) Address 0003.fd63.9580 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Uplinkfast enabled Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Gi2/0/1 Root FWD 3019 128.24 P2p Gi0/1 Root FWD 3019 128.24 P2p
If the value in the Type column is P2p, then the port does not have PortFast enabled. If PortFast is enabled on such a port, then the Type would show P2p edge.
Links:
https://community.cisco.com/t5/switching/stp-p2p-edge/td-p/2012300