7
Basic Software Configuration Using the Setup Command Facility
OL-5992-01
Examples of Using the Setup Command Facility to Configure Interface Parameters
The following is a typical
show running config
command output for gig 0/0:
router#
show run int gigabitEthernet 0/0
Building configuration...
Current configuration : 156 bytes
!
interface GigabitEthernet0/0
no ip address
load-interval 30
shutdown
duplex auto
speed auto
media-type sfp
no cdp enable
end
Flow Control Capabilities
Both the RJ-45 (copper) and SFP (fiber) modes of operations suppot flow control. This means that
during congestion conditions, pause frames are sent to the far end by the Media Access Control (MAC)
hardware. Also, the MAC hardware will react to the pause frames received. There is no way in current
MAC hardware to track the number of pause frames received or sent.
Flow control is on by default
Currently, there is no command to turn off the flow control capability for any of the Gigabit Ethernet
ports in any of the RJ45 or SFP modes.
Speed/Duplex Settings for the Gigabit Ethernet Ports
Typically, speed and/or duplex communications are configured manually using the
speed
and/or
duplex
CLI commands.
Note
For the SFP port, the speed settings can be set to 1000 Mbps or auto only, and duplex can be set to full
or auto only.
The following examples show the available options:
interface gigabitEthernet 0/[0-1]
router(config-if)#
speed ?
10 Force 10 Mbps operation
100 Force 100 Mbps operation
1000 Force 1000 Mbps operation
auto Enable AUTO speed configuration
router(config-if)#
duplex ?
auto Enable AUTO duplex configuration
full Force full duplex operation
half Force half-duplex operation