4-2To do… Use the command… RemarksChange the description of theinterface description textOptionalBy default, the description of an interface isthe interface name followed by characterstring Interface. For example, Ethernet1/0/1Interface.Set the duplex mode duplex { auto | full | half }Optionalauto by default.Optical interfaces do not support the halfkeyword.Set the port speed speed { 10 | 100 | 1000 |auto }Optionalauto by default.z Optical interfaces do not support the 10 or100 keyword.z Support for the 1000 keyword varies withAP models.Shut down the Ethernetinterface shutdownOptionalBy default, an Ethernet interface is in the upstate.To bring up an Ethernet interface, use theundo shutdown command.Configuring Flow Control on an Ethernet InterfaceYou can avoid packet drops on a link by enabling flow control at both ends of the link. When trafficcongestion occurs at the receiving end, the receiving end sends a Pause frame to ask the sending endto suspend sending packets. In this way, flow control helps avoid packet drops.Follow these steps to enable flow control on an Ethernet interface:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet interface view interface interface-typeinterface-number —Enable flow control flow-control RequiredDisabled by defaultConfiguring Loopback Testing on an Ethernet InterfaceIf an Ethernet interface does not work normally, you can enable loopback testing on it to identify theproblem. There are two types of loopback testing:z Internal loopback testing, which tests all on-chip functions related to the Ethernet interfaces.z External loopback testing, which tests the hardware of Ethernet interfaces. To perform externalloopback testing on an Ethernet interface, connect a loopback plug to the Ethernet interface. TheAC sends test packets out the interface, which are expected to loop over the plug and back to theinterface. If the interface fails to receive any test packet, the hardware of the interface is faulty.Ethernet interfaces cannot forward data packets during loopback testing.Follow these steps to enable loopback testing on an Ethernet interface: