Configuration Guide Web Authentication Commands
DHCP IP address check is disabled by default.
Global configuration mode
Only users whose IP addresses are allocated by DHCP are allowed to take authentication.
The following example enables DHCP IP address check.
Ruijie (config)# web-auth dhcp-check
5.30 web-auth direct-host
Use this command to set the authentication-exempted IP/MAC address range.
Use the no form of this command to restore the default setting.
web-auth direct-host { ip-address [ ip-mask ] [ arp ] | mac-address } [ port interface-name ]
no web-auth direct-host { ip-address [ ip-mask ] | mac-address }
IPv4 address of authentication-exempted user
Mask of the IPv4 address free of authentication (optional).
Binds user’s IP address with a port of the access device (optional).
If ARP CHECK is enabled on the access device, keyword arp is
needed for ARP binding of the IP address used by users free of
authentication (optional). It is necessary for IPv4 addresses only.
MAC address of authentication-exempted user
No user is exempted from authentication. All users must pass the Web authentication to access the
restricted network resources.
Global configuration mode
When a user is set to be exempted from authentication, it can access all reachable network resources
without Web authentication.
Up to 50 users can be set to be exempted from authentication.
The following example sets the user with the IP address 172.16.0.1 to be exempted from
authentication.
Ruijie(config)# web-auth direct-host 172.16.0.1
The following example sets the user with the MAC address 0000:5e00:0101 to be exempted from