HP ProCurve Switch Configuration

After working with ProCurve switches for a while, I figured I would post my general configuration for others to use as a template.  This configuration will be a simple setup with two VLAN's, please replace IP addreses and VLAN ID's with what fits your environment:

hostname HP-PROCURVE-CORE

time timezone -480
time daylight-time-rule Continental-US-and-Canada
sntp server priority 1 128.138.140.44
timesync sntp
sntp unicast

qos type-of-service diff-services

spanning-tree
spanning-tree 1-24 bpdu-protection
spanning-tree bpdu-protection-timeout 300

ip routing
ip route 0.0.0.0/0 firewall_ip_address

vlan 1 name DATA
vlan 1 ip address 10.0.0.1/24
vlan 1 untag 1-22

vlan 10 name VOICE
vlan 10 ip address 10.0.10.1/24
vlan 10 voice
vlan 10 tag 1-22
vlan 10 untag 23-24
vlan 10 ip helper-address dhcp_server_ip_address

password manager username hpadmin plaintext hpadminpassword