configure netlogin vlan vlan_name
enable netlogin mac
Any combination of types of authentication can be enabled on the same switch. At least one of the authentication types must be specified on the CLI.
If enable netlogin mac is entered, configure netlogin add mac-list default configuration is added by default. This added mac-list config will not be removed if disable netlogin mac is entered. Instead, configure netlogin delete mac-list default must be entered to remove the mac-list config.