3Com S7902E Command Reference Manual - page 1828
1-12
indexes/port index lists for this argument. The start port number must be smaller than the end number
and the two ports must be of the same type.
Description
Use the
dot1x
port-control
command to set the access control mode for specified or all ports.
Use the
undo dot1x
port-control
command to restore the default.
The default access control mode is
auto
.
Related commands:
display dot1x
.
Examples
# Set the access control mode of port GigabitEthernet 2/0/1 to
unauthorized-force
.
[Sysname] dot1x port-control unauthorized-force interface GigabitEthernet 2/0/1
Or
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] dot1x port-control unauthorized-force
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
Default Level
2: System level
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
] } & , where
interface-type
represents the port type,