S1(config)# spanning-tree portfast default
S1#configure terminal S1(conifg)# int f0/18 S1(conifg-if)# spanning-tree portfast S1(conifg-if)#end