374Usage guidelinesTypically, a portal user cannot access the network before passing portal authentication. This featureallows a user to access the Internet temporarily if the user uses a WeChat account to perform portalauthentication. During the temporary pass period, the user provides WeChat authenticationinformation to the WeChat server for the server to interact with the access device to finish portalauthentication.Examples# On GigabitEthernet 1/0/1, enable portal temporary pass and set the temporary pass period to 25seconds. (Wired application.) system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] portal temp-pass period 25 enable# On service template service1, enable portal temporary pass and set the temporary pass period to25 seconds. (Wireless application.) system-view[Sysname] wlan service-template service1[Sysname-wlan-st-service1] portal temp-pass period 25 enableRelated commandsdisplay portalportal traffic-accounting disableUse portal traffic-accounting disable to disable traffic accounting for portal users.Use undo portal traffic-accounting disable to restore the default.Syntaxportal traffic-accounting disableundo portal traffic-accounting disableDefaultTraffic accounting for portal users is enabled.ViewsSystem viewPredefined user rolesnetwork-adminUsage guidelinesThe accounting server might perform time-based or traffic-based accounting, or it might not performaccounting. If the accounting server does not perform traffic-based accounting, disable trafficaccounting for portal users on the device. The device will provide quick accounting for portal users,and the traffic statistics will be imprecise. If the accounting server performs traffic-based accounting,enable traffic accounting for portal users. The device will provide precise traffic statistics for portalusers.Examples# Disable traffic accounting for portal users. system-view[Sysname] portal traffic-accounting disable