325Step Command Remarks4. Return to system view. quit N/A5. Enter interface view. interface interface-typeinterface-number N/A6. Specify the NAS-ID profile onthe interface.portal nas-id-profileprofile-nameBy default, no NAS-ID profile isspecified on the interface.Configuring MAC-based quick portalauthenticationRestrictions and guidelines for configuring MAC-based quickportal authenticationOnly IPv4 direct authentication supports MAC-based quick portal authentication.Do not configure both a MAC binding server and a portal preauthentication policy on an interface.Otherwise, the MAC binding server does not take effect.Configuring a MAC binding serverYou can configure multiple MAC binding servers on the device.Perform this task to configure MAC binding server parameters, such as the server's IP address andthe free-traffic threshold.To configure a MAC binding server:Step Command Remarks1. Enter system view. system-view N/A2. Create a MAC binding serverand enter its view.portal mac-trigger-serverserver-nameBy default, no MAC binder serversexist.3. Specify the IP address of theMAC binding server.ip ipv4-address [ vpn-instanceipv4-vpn-instance-name ] [ key{ cipher | simple } string ]By default, the IP address of aMAC binding server is notspecified.4. (Optional.) Specify thefree-traffic threshold. free-traffic threshold value By default, the free-trafficthreshold is 0 bytes.5. (Optional.) Specify theNAS-Port-Type value carriedin RADIUS requests sent tothe RADIUS server.nas-port-type valueBy default, the NAS-Port-Typevalue carried in RADIUS requestsis 0.6. (Optional.) Set the UDP portnumber on which the MACbinding server listens forMAC binding query packets.port port-numberBy default, the MAC bindingserver listens for MAC bindingquery packets on UDP port50100.7. (Optional.) Specify themaximum number ofattempts and the interval forsending MAC bindingqueries to the MAC bindingserver.binding-retry { retries | intervalinterval } *By default, the maximum numberof query attempts is 3 and thequery interval is 1 second.