4-9
Software Configuration Guide—Release 12.2(25)SG
OL-7659-02
Chapter4 Configuring Interfaces
Configuring Optional Interface Features
To turn off the port speed autonegotiation for Gigabit Ethernet interface 1/1, perform this task:
To restore autonegotiation, enter the no speed nonegotiate command in the interface configuration
mode.
Note For the blocking ports on the WS-X4416 module, do not set the s peed to autonegotiate.
Setting the Interface Duplex Mode
Note When the interface is set to 1000 Mbps, you cannot change the duplex mode from full duplex to half
duplex.
To set the duplex mode of a Fast Ethernet interface, perform this task:
This example shows how to set the interface duplex mode to full on Fast Ethernet interface5/4:
Switch(config)# interface fastethernet 5/4
Switch(config-if)# duplex full
Displaying the Interface Speed and Duplex Mode Configuration
To display the interface speed and duplex mode configuration for an interface, perform this task:
This example shows how to display the interface speed and duplex mode of Fast Ethernet interfac e 6/1:
Switch# show interface fastethernet 6/1
FastEthernet6/1 is up, line protocol is up
Hardware is Fast Ethernet Port, address is 0050.547a.dee0 (bia 0050.547a.dee0)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Command Purpose
Step1 Switch(config)# interface gigabitethernet1/1 Specifies the interface to be configured.
Step2 Switch(config-if)# speed nonegotiate Disables autonegotiation on the interface.
Command Purpose
Step1 Switch(config)# interface fastethernet
slot/interface
Specifies the interface to be configured.
Step2 Switch(config-if)# duplex [auto | full | half] Sets the duplex mode of the interface.
Command Purpose
Switch# show interfaces [fastethernet |
gigabitethernet | tengigabitethernet]
slot/interface
Displays the interface speed and duplex mode
configuration.