Layer 2 Switching Commands 385Command ModeInterface Configuration (gigabitethernet, port-channel, tengigabitethernet,fortygigabitethernet) modeUser GuidelinesThis command has no user guidelines.ExampleThe following example adds a description to the Ethernet port 5.console(config)#interface gigabitethernet 1/0/5console(config-if-Gi1/0/5)# description RD_SW#3duplexUse the duplex command in Interface Configuration mode to configure theduplex operation of a given Ethernet interface. To restore the default, use theno form of this command.Syntaxduplex {auto | half | full}no duplex• auto—Enable auto-negotiation for the port.• half—Force half-duplex operation and disable auto-negotiation.• full—Force full-duplex operation and disable auto-negotiation.Default ConfigurationAuto-negotiation is enabled by default on copper ports.Command ModeInterface Configuration (Ethernet) modeUser GuidelinesWhen both speed and duplex are configured to auto, auto negotiation isenabled for the port. To disable auto-negotiation on a port, it is necessary toenter either the speed or duplex commands without using the auto