PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables the HTTP server. The web-based authentication feature uses
the HTTP server to communicate with the hosts for user authentication.
ip http server
Example:
Switch(config)# ip http server
Step 3
Enables HTTPS.ip http secure-server
Step 4
Example:
Switch(config)# ip http secure-server
You can configure custom authentication proxy web pages or specify
a redirection URL for successful login.
To ensure secure authentication when you enter the ip http
secure-server command, the login page is always in HTTPS
(secure HTTP) even if the user sends an HTTP request.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Customizing the Authentication Proxy Web Pages
You can configure web authentication to display four substitute HTML pages to the user in place of the Switch
default HTML pages during web-based authentication.
For the equivalent Session Aware Networking configuration example for this feature, see the section
"Configuring a Parameter Map for Web-Based Authentication" in the chapter, "Configuring Identity Control
Policies." of the book, "Session Aware Networking Configuration Guide, Cisco IOS XE Release 3SE (Catalyst
3850 Switches)."
Follow these steps to specify the use of your custom authentication proxy web pages:
Before You Begin
Store your custom HTML files on the Switch flash memory.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
378 OL-29048-01
Configuring Web-Based Authentication
Configuring the HTTP Server