4-12
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 1/0/1 to
unauthorized-force
.
<Sysname> system-view
[Sysname] dot1x port-control unauthorized-force interface GigabitEthernet 1/0/1
Or
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/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
] } & <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 be of the same type.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...