H3C LS-3100-52P-OVS-H3 Operation Manual - page 1360
1-15
Configuration procedure
Follow these steps to configure a port-based guest VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
In system
view
dot1x guest-vlan guest-vlan-id
[ interface interface-list ]
interface interface-type
interface-number
Configure the
guest VLAN
for specified
or all ports
In Ethernet
interface view
dot1x guest-vlan vlan-id
Required
Use either approach.
By default, a port is configured
with no guest VLAN.
z
Different ports can be configured with different guest VLANs, but a port can be configured with only
one guest VLAN.
z
You cannot configure both the guest VLAN function and the free IP function in EAD fast
deployment.
If the data flows from a user-side device carry VLAN tags, and 802.1x and guest VLAN are enabled on
the access port, you are recommended to configure different VLAN IDs for the voice VLAN, the default
port VLAN, and the guest VLAN of 802.1x.
Displaying and Maintaining 802.1x
To do…
Use the command…
Remarks
Display 802.1x session
information, statistics, or
configuration information of
specified or all ports
display dot1x [ sessions |
statistics ] [ interface
interface-list ]
Available in any view
Clear 802.1x statistics
reset dot1x statistics
[ interface interface-list ]
Available in user view
802.1x Configuration Example
Network requirements
z
The access control method of macbased is required on the port GigabitEthernet 1/0/1 to control
clients.