Operation Manual – 802.1x-HABP-MAC Authentication
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 802.1x Configuration
1-24
[Sysname-Ethernet1/0/1] dot1x port-method portbased
# Set the port access control mode to
auto
.
[Sysname-Ethernet1/0/1] dot1x port-control auto
[Sysname-Ethernet1/0/1] quit
# Create VLAN 10.
[Sysname] vlan 10
[Sysname-vlan10] quit
# Specify port Ethernet 1/0/1 to use VLAN 10 as its guest VLAN.
[Sysname] dot1x guest-vlan 10 interface Ethernet 1/0/1
You can use the
display current-configuration
or
display interface ethernet 1/0/1
command to view your configuration. You can also use the
display vlan 10
command
in the following cases to verify whether the configured guest VLAN functions:
z
When no users log in.
z
When a user fails the authentication.
z
When a user goes offline.
1.7 ACL Assigning Configuration Example
I. Network requirements
As shown in
, a host is connected to port Ethernet 1/0/1 of the switch and
must pass 802.1x authentication to access the Internet.
z
Configure the RADIUS server to assign ACL 3000.
z
Enable 802.1x authentication on port Ethernet 1/0/1 of the switch, and configure
ACL 3000.
After the host passes 802.1x authentication, the RADIUS server assigns ACL 3000 to
port Ethernet 1/0/1. As a result, the host can access the Internet but cannot access the
FTP server, whose IP address is 10.0.0.1.
II. Network diagram
Figure 1-14
Network diagram for ACL assigning