Catalyst 3550-Configuring 802.1X Port-Based Authentication

www.net130.com     日期:2005-5-26    浏览次数:
出处:Cisco网站

Setting the Switch-to-Client Frame-Retransmission Number

In addition to changing the switch-to-client retransmission time, you can change the number of times that the switch sends an EAP-request/identity frame (assuming no response is received) to the client before restarting the authentication process.


Note You should change the default value of this command only to adjust for unusual circumstances such as unreliable links or specific behavioral problems with certain clients and authentication servers.


Beginning in privileged EXEC mode, follow these steps to set the switch-to-client frame-retransmission number:

 
Command
Purpose

Step 1 

configure terminal

Enter global configuration mode.

Step 2 

dot1x max-req count

Set the number of times that the switch sends an EAP-request/identity frame to the client before restarting the authentication process. The range is 1 to 10; the default is 2.

Step 3 

end

Return to privileged EXEC mode.

Step 4 

show dot1x

Verify your entries.

Step 5 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To return to the default retransmission number, use the no dot1x max-req global configuration command.

This example shows how to set 5 as the number of times that the switch sends an EAP-request/identity request before restarting the authentication process:

Switch(config)# dot1x max-req 5

Enabling Multiple Hosts

You can attach multiple hosts to a single 802.1X-enabled port as shown in Figure 9-3. In this mode, only one of the attached hosts must be authorized for all hosts to be granted network access. If the port becomes unauthorized (re-authentication fails or an EAPOL-logoff message is received), all attached clients are denied access to the network.

With the multiple-hosts mode enabled, you can use 802.1X to authenticate the port and port security to manage network access for all MAC addresses, including that of the client.

Beginning in privileged EXEC mode, follow these steps to allow multiple hosts (clients) and port security on an 802.1X-authorized port that has the dot1x port-control interface configuration command set to auto.

 
Command
Purpose

Step 1 

configure terminal

Enter global configuration mode.

Step 2 

interface interface-id

Enter interface configuration mode, and specify the interface to which multiple hosts are indirectly attached.

Step 3 

dot1x multiple-hosts

Allow multiple hosts (clients) and port security on an 802.1X-authorized port.

Make sure that the dot1x port-control interface configuration command set is set to auto for the specified interface.

Step 4 

end

Return to privileged EXEC mode.

Step 5 

show dot1x interface interface-id

Verify your entries.

Step 6 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To disable multiple hosts on the port, use the no dot1x multiple-hosts interface configuration command.

This example shows how to enable 802.1X on Fast Ethernet interface 0/1 and to allow multiple hosts:

Switch(config)# interface fastethernet0/1
Switch(config-if)# dot1x port-control auto
Switch(config-if)# dot1x multiple-hosts

Resetting the 802.1X Configuration to the Default Values

Beginning in privileged EXEC mode, follow these steps to reset the 802.1X configuration to the default values:

 
Command
Purpose

Step 1 

configure terminal

Enter global configuration mode.

Step 2 

dot1x default

Reset the configurable 802.1X parameters to the default values.

Step 3 

end

Return to privileged EXEC mode.

Step 4 

show dot1x

Verify your entries.

Step 5 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Displaying 802.1X Statistics and Status

To display 802.1X statistics for all interfaces, use the show dot1x statistics privileged EXEC command. To display 802.1X statistics for a specific interface, use the show dot1x statistics interface interface-id privileged EXEC command.

To display the 802.1X administrative and operational status for the switch, use the show dot1x privileged EXEC command. To display the 802.1X administrative and operational status for a specific interface, use the show dot1x interface interface-id privileged EXEC command.

For detailed information about the fields in these displays, refer to the command reference for this release.

本新闻共6页,当前在第6页  1  2  3  4  5  6  

相关新闻
无相关正文
推荐文章