Configure the port as an edge port.
default spanning-tree rstp edge-port
spanning-tree rstp edge-port { false | true }
The default is disabled (false).
GigabitEthernet Interface Configuration