Switches taking on new security roles