Command Manual – 802.1x - MAC Authentication
H3C S7500E Series Ethernet Switches
Chapter 1 802.1x Configuration Commands
1-12
<Sysname> system-view
[Sysname] dot1x port-control unauthorized-force interface Ethernet2/0/1
Or
<Sysname> system-view
[Sysname] interface Ethernet2/0/1
[Sysname-Ethernet2/0/1] dot1x port-control unauthorized-force
1.1.9 dot1x port-method
Syntax
In system view:
dot1x
port-method
{
macbased
|
portbased
}
[
interface interface-list
]
undo dot1x
port-method
[
interface interface-list
]
In Ethernet interface view:
dot1x
port-method
{
macbased
|
portbased
}
undo dot1x
port-method
View
System view, Ethernet interface view
Parameters
macbased
: Specifies to use the
macbased
authentication method. With this method,
each user of a port must be authenticated separately, and when an authenticated user
goes offline, no other users are affected.
portbased
: Specifies to use the
portbased
authentication method. With this method,
after the first user of a port passes authentication, all other users of the port can access
the network without authentication, and when the first user goes offline, all other users
get offline at the same time.
interface interface-list
: Specifies an Ethernet port list, which can contain multiple
Ethernet ports. The
interface-list
argument is in the format of
interface-list
=
{
interface-type
interface-number
[
to
interface-type
interface-number
] } & <1-10>,
where
interface-type
represents the port type,
interface-number
represents the port
number, and & <1-10> means that you can provide up to 10 port indexes/port index lists
for this argument. The start port number must be smaller than the end number and the
two ports must of the same type.
Description
Use the
dot1x
port-method
command to set the access control method for specified or
all ports.
Use the
undo dot1x
port-method
command to restore the default.