296 CHAPTER 20: 802.1X CONFIGURATION COMMANDSViewSystem view, Ethernet port viewParameterinterface-list: Ethernet interface list expressed in the format interface-list=interface-type interface-number [ to interface-type interface-number ] &<1-10>.interface-type means the interface type, interface-number is the interface number.Refer to command parameters in the "Port" section in the manual for therespective meanings and value ranges of them. The interface number after the keyword to should be no smaller than the interface number before to. &<1-10> inthe command means that the preceding parameter can be entered up to 10 times.DescriptionUse the dot1x command to enable 802.1x on the specified port or globally (i.e.,on the current device).Use the undo dot1x command to disable the 802.1x on the specified port orglobally.By default, 802.1x is disabled on all the ports and globally on the device.When the dot1x command is used in system view, if the parameter interface-list isnot specified, 802.1x will be globally enabled. If the parameter interface-list isspecified, 802.1x will be enabled on the specified port. When this command isused in Ethernet port view, the parameter interface-list cannot be input and802.1x can only be enabled on the current port.The configuration command can be used to configure the global or port 802.1xperformance parameters before or after 802.1x is enabled. Before 802.1x isenabled globally, if the parameters are not configured globally or for a specifiedport, they will maintain the default values.After the global 802.1x performance is enabled, only when port 802.1xperformance is enabled will the configuration of 802.1x become effective on theport.If 802.1x is enabled on a port, you cannot configure the maximum number oflearned MAC addresses (by using the mac-address max-mac-count command).and vice versa.Related command: display dot1x.Example# Enable 802.1x on Ethernet 3/1/1.[SW8800] dot1x interface Ethernet 3/1/1# Enable the 802.1x globally.[SW8800] dot1xdot1xauthentication-methodSyntaxdot1x authentication-method { chap | pap | eap { md5-challenge | peap | tls }