2-3Configuration prerequisitesz To configure to apply a QoS profile dynamically, make sure 802.1x is enabled both globally and onthe port, and the authentication mode is determined. For information about 802.1x, refer to the802.1x and System Guard module of this manual.z To apply a QoS profile manually, make sure the port to which the QoS profile is to be applied isdetermined.z The QoS profile to be applied is determined.Configuration procedureTable 2-3 Configure to apply a QoS profile dynamicallyOperation Command DescriptionEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure themode to apply aQoS profile asport-basedqos-profile port-basedSpecifythe modeto apply aQoSprofileConfigure themode to apply aQoS profile asuser-basedundo qos-profileport-basedOptionalBy default, the mode to apply a QoSprofile is user-based.z If the 802.1x authenticationmode is MAC address-based,the mode to apply a QoS profilemust be configured user-based.z If the 802.1x authenticationmode is port-based, the mode toapply a QoS profile must beconfigured as port-based.Table 2-4 Apply a QoS profile manuallyOperation Command DescriptionEnter system view system-view —In system viewapply qos-profileprofile-name interfaceinterface-listEnter Ethernetport viewinterface interface-typeinterface-numberApply aQoS profileto specificports InEthernetport view Apply a QoSprofile to thecurrent portapply qos-profileprofile-nameSelect either of theoperations.By default, a port hasno QoS profile appliedto it.Displaying QoS Profile ConfigurationAfter the above configuration, you can execute the display command in any view to view the runningstatus of the QoS profile and verify the configuration.Table 2-5 Display QoS profile configurationOperation Command DescriptionDisplay QoS profile display qos-profile { all | name Available in any view