8-42
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
OL-8915-03
Chapter 8 Configuring IEEE 802.1x Port-Based Authentication
Configuring IEEE 802.1x Authentication
This example shows how to configure only web authentication on a switch port:
Switch#
configure terminal
Switch(config)#
ip admission name
rule1
proxy http
Switch(config)#
interface gigabit0/1
Switch(config-if)#
switchport mode access
Switch(config-if)#
ip access-group policy1 in
Switch(config-if)#
ip admission rule1
Switch(config-if)#
end
Beginning in privileged EXEC mode, follow these steps to configure a switch port for IEEE 802.1x
authentication with web authentication as a fallback method:
This example shows how to configure IEEE 802.1x authentication with web authentication.
Switch(config)
configure terminal
Switch(config)#
ip admission name
rule1
proxy http
Switch(config)#
fallback profile fallback1
Switch(config-fallback-profile)#
ip access-group default-policy in
Switch(config-fallback-profile)#
ip admission rule1
Switch(config-fallback-profile)#
exit
Switch(config)#
interface gigabit0/1
Switch(config-if)#
switchport mode access
Switch(config-if)#
dot1x port-control auto
Switch(config-if)#
dot1x fallback fallback1
Switch(config-if)#
end
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip admission name
rule
proxy http
Define a web authentication rule.
Step 3
fallback profile
fallback
-
profile
Define a fallback profile to allow an IEEE 802.1x port to
authenticate a client by using web authentication.
Step 4
ip access-group
policy
in
Specify the default access control list to apply to network traffic
before web authentication.
Step 5
ip admission
rule
Associate an IP admission rule with the profile, and specify that
a client connecting by web authentication uses this rule.
Step 6
end
Return to privileged EXEC mode.
Step 7
interface
interface-id
Specify the port to be configured, and enter interface
configuration mode.
Step 8
switchport mode access
Set the port to access mode.
Step 9
dot1x port-control auto
Enable IEEE 802.1x authentication on the interface.
Step 10
dot1x fallback
fallback-profile
Configure the port to authenticate a client by using web
authentication when no IEEE 802.1x supplicant is detected on the
port. Any change to the fallback-profile global configuration takes
effect the next time IEEE 802.1x fallback is invoked on the interface.
Note
Web authorization cannot be used as a fallback method for
IEEE 802.1x if the port is configured for multidomain
authentication.
Step 11
exit
Return to privileged EXEC mode.
Step 12
show dot1x interface
interface-id
Verify your configuration.
Step 13
copy running-config startup-config
(Optional) Save your entries in the configuration file.