11-16
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
OL-26520-01
Chapter 11 Configuring Web-Based Authentication
Configuring Web-Based Authentication
Configuring a Web Authentication Local Banner
Beginning in privileged EXEC mode, follow these steps to configure a local banner on a switch that has
web authentication configured.
This example shows how to configure a local banner with the custom message My Switch:
Switch(config) configure terminal
Switch(config)# aaa new-model
Switch(config)# aaa ip auth-proxy auth-proxy-banner C My Switch C
Switch(config) end
For more information about the ip auth-proxy auth-proxy-banner command, see the “Authentication
Proxy Commands” section of the Cisco IOS Security Command Reference on Cisco.com.
Removing Web-Based Authentication Cache Entries
This example shows how to remove the web-based authentication session for the client at the IP
address 209.165.201.1:
Switch# clear ip auth-proxy cache 209.165.201.1
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip admission auth-proxy-banner http
[banner-text | file-path]
Enable the local banner.
(Optional) Create a custom banner by entering C banner-text C, where
C is a delimiting character or a file-path indicates a file (for example, a
logo or text file) that appears in the banner.
Step 3
end Return to privileged EXEC mode.
Step 4
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
clear ip auth-proxy cache {* | host ip address} Delete authentication proxy entries. Use an asterisk to
delete all cache entries. Enter a specific IP address to
delete the entry for a single host.
clear ip admission cache {* | host ip address} Delete authentication proxy entries. Use an asterisk to
delete all cache entries. Enter a specific IP address to
delete the entry for a single host.