Dot1X Port-Method - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

View
System view, Ethernet interface view
Default Level
2: System level
Parameters
authorized-force: Places the specified or all ports in the authorized state, allowing users of the ports to
access the network without authentication.
auto: Places the specified or all ports in the unauthorized state initially to allow only EAPOL packets to
pass, and turns the ports into the authorized state to allow access to the network after the users pass
authentication. This is the most common choice.
unauthorized-force: Places the specified or all ports in the unauthorized state, denying any access
requests from users of the ports.
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.
Description
Use the dot1x port-control command to set the authorization mode for specified or all ports.
Use the undo dot1x port-control command to restore the default.
Note that: In system view, if no interface-list argument is specified, this command sets the authorization
mode for all ports.
The default port authorization mode is auto.
Related commands: display dot1x.
Examples
# Set the authorization 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 ]
1-12

Advertisement

Table of Contents
loading

Table of Contents