1. A method for configuring an interface of a switch, comprising: sending an authentication request from a switch to an authentication server, the authentication request requesting authentication for an endpoint, the switch comprising a plurality of interfaces and operable to access a plurality of templates, a template of the plurality of templates operable to generate one or more interface commands for an interface of the plurality of interfaces; receiving an instruction from the authentication server, the instruction instructing the switch to apply an identified template to an interface of the plurality of interfaces, the identified template identified by the authentication server as associated with the endpoint; and applying the identified template to configure the interface according to the instruction.