From an e-mail from Amedeo:
Below is an example. Replace addresses and <pw>. Note that admin-pt2pt-mac defines ports connected to other network devices, otherwise it's admin-edge-port. You use 'tagged' for trunk ports (ie more than one vlan in the same link), otherwise use 'untagged'.
enable config t hostname switch-daq-hutch1 ip address 172.21.24.35 255.255.255.0 enable super-user-password <pw> username admin password <pw> aaa authentication login default local none crypto key generate jumbo ip multicast passive ip default-gateway 172.21.24.1 no telnet server vlan 634 name pcdsn-mgt tagged eth 1 untagged eth 5 to 16 spanning-tree 802-1w vlan 647 name pcdsn-cds-amo tagged eth 1 untagged eth 17 to 40 spanning-tree 802-1w vlan 165 name pcdsn-dev tagged eth 1 untagged eth 41 to 48 spanning-tree 802-1w int eth 1 to 4 spanning-tree 802-1w admin-pt2pt-mac int eth 5 to 48 spanning-tree 802-1w admin-edge-port exit wr mem exit reload