316Usage guidelinesSome MAC binding servers identify MAC-based quick portal authentication by a specificNAS-Port-Type value in received RADIUS requests. To communicate with such a MAC bindingserver, you must configure the device to use the NAS-Port-Type value required by the MAC bindingserver.Examples# Set the NAS-Port-Type value in RADIUS requests sent to the MAC binding server mts to 30. system-view[Sysname] portal mac-trigger-server mts[Sysname-portal-mac-trigger-server-mts] nas-port-type 30Related commandsdisplay portal mac-trigger-serverport (MAC binding server view)Use port to set the UDP port number the MAC binding server uses to listen for MAC binding querypackets.Use undo port to restore the default.Syntaxport port-numberundo portDefaultThe MAC binding server listens for MAC binding query packets on UDP port 50100.ViewsMAC binding server viewPredefined user rolesnetwork-adminParametersport-number: Specifies the listening UDP port number in the range of 1 to 65534.Usage guidelinesThe specified port number must be the same as the query listening port number configured on theMAC binding server.Examples# Set the UDP port number to 1000 for the MAC binding server pts to listen for MAC binding querypackets. system-view[sysname] portal mac-trigger-server mts[sysname-portal-mac-trigger-server-mts] port 1000Related commandsdisplay portal mac-trigger-server