Not sure what you mean by template as it really depends on your company policies and what's necessary. For example, you may not need port security. You can use the following as a skeleton template though:
description
switchport mode access
switchport access
storm-control broadcast level 0.05
storm-control multicast level 0.05
spanning-tree portfast
spanning-tree bpduguard enable
HTH,
John
*** Please rate all useful posts ***
HTH,
John
*** Please rate all useful posts ***