Configuring a switch as a RADIUS server