CLI Reference Web Authentication Configuration Commands
Example 1: Set the address of HTTP redirection to http://www.web-auth.net/login.
Ruijie(config)#
http redirect homepage http://www.web-auth.net/login
Example 2: Set the address of client download service homepage to www.su-download.net/.
Ruijie# configure terminal
Ruijie(config)# http redirect homepage www.su-download.net/
View the HTTP redirection configuration.
Set the IP address of the authentication server.
This command is used to redirect users’ HTTP redirection request to a certain destination port. The
no form of this command is used to cancel HTTP redirection of the request to a certain destination
port.
http redirect port port-num
no http redirect port port-num
Destination port of the HTTP request
The HTTP packets of users to port 80 are intercepted.
Global configuration mode
When you access the network resource, you send HTTP packets. The access device can intercept
such HTTP packets to detect your access. If the access device detects that an unauthenticated user
is accessing the network resource, it stops the users with an authentication page/client download
page.
By default, the access device intercepts users’ HTTP packets with port 80 to check whether they are
accessing network resources.
This command is used to change the destination port of HTTP packets that are intercepted by the
access device.
Up to 10 ports can be configured, including port 80.
Example 1: Redirect users’ HTTP requests with port 8080.
Ruijie(config)# http redirect port 8080