To check if you have portfast enabled on your 2960 series
telnet to your switch and issue these commands:
show running-config
scroll down to your interfaces.
[CODE]interface GigabitEthernet1/0/1
switchport access vlan 130
switchport mode access
switchport voice vlan 120
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
macro description cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/2
switchport access vlan 130
switchport mode access
switchport voice vlan 120
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
macro description cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
[/CODE]
look for [COLOR=#ff0000]spanning-tree portfast[/COLOR]
if you see it, its enabled, unless its expressly disabled then you will see
spanning-tree portfast disabled
to enable port-fast: --change 1/0/1 to the interface you need
[CODE]
GR-NB-2960S-01#enable
GR-NB-2960S-01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
GR-NB-2960S-01(config)#
GR-NB-2960S-01(config)#interface gigabitEthernet 1/0/1
GR-NB-2960S-01(config-if)#
GR-NB-2960S-01(config-if)#spanning-tree portfast
GR-NB-2960S-01(config-if)#exit
GR-NB-2960S-01(config)#exit
GR-NB-2960S-01#
[/CODE]
[COLOR=#000000]If you wish to save your settings. [/COLOR]
[CODE]GR-NB-2960S-01#write memory
Building configuration…
[OK]
GR-NB-2960S-01#
[/CODE]