Refer to the exhibit.
DSW1# sh spanning-tree int fa1/0/7
Vlan Role Sts Cost Prio.Nbr Type
-------------- ---- --- -------- --------- ------------------------
VLAN0001 Desg FWD 2 128.9 P2p Edge
VLAN0010 Desg FWD 2 128.9 P2p Edge
VLAN0020 Desg FWD 2 128.9 P2p Edge
VLAN0030 Desg FWD 2 128.9 P2p Edge
VLAN0040 Desg FWD 2 128.9 P2p Edge
How was spanning-tree configured on this interface?