Hi Friend,
yes, you can configure the spanning-tree bpdugurad on the trunk interfaces. To configure this feature on per interfaces use the following command.
config t
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# spanning-tree bpduguard enable
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12225sed/cr/cli3.htm#wp1945530
HTH, Please rate if it does.
-amit singh