Cisco Systems 2960 Manual De Usuario

Descargar
Página de 1004
 
11-17
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 11      Configuring Web-Based Authentication
Displaying Web-Based Authentication Status
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
Displaying Web-Based Authentication Status
Perform this task to display the web-based authentication settings for all interfaces or for specific ports:
This example shows how to view only the global web-based authentication status:
Switch# show authentication sessions
This example shows how to view the web-based authentication settings for gigabit interface 3/27:
Switch# show authentication sessions interface gigabitethernet 3/27
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
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.
Command
Purpose
Step 1
show authentication sessions 
 
[interface type slot/port
Displays the web-based authentication settings.
type = fastethernet, gigabitethernet, or tengigabitethernet
(Optional) Use the interface keyword to display the 
web-based authentication settings for a specific interface.