speed-duplex

Sets link speed and mode (full or half duplex, or slave or master).
Syntax
speed-duplex { 10-full | 10-half | 100-full | 100-half |1000-full | 1000-full-master | 1000-full-slave | 10g-full | 10g-full-master | 10g-full-slave | 2500-full | 2500-full-master | 2500-full-slave | 5g-full | 5g-full-master | 5g-full-slave | auto | optic }
no speed-duplex
Command Default

By default, the speed is auto-negotiated. For 08.0.95C and above, speed optic is the default configuration.

Parameters
10-full
10M, full duplex
10-half
10M, half duplex
100-full
100M, full duplex
100-half
100M, half duplex
1000-full
1G, full duplex
1000-full-master
1G, full duplex, master
1000-full-slave
1G, full duplex, slave
10g-full
10G, full duplex
10g-full-master
10G, full duplex, master
10g-full-slave
10G, full duplex, slave
2500-full
2.5G, full duplex
2500-full-master
2.5G, full duplex, master
2500-full-slave
2.5G, full duplex, slave
5g-full
5G, full duplex
5g-full-master
5g, full duplex, master
5g-full-slave
5g, full duplex, slave
auto
Auto-negotiation. This is the default.
optic
Sets the speed based on optic type.
Modes

Interface configuration mode

Usage Guidelines

The Gigabit Ethernet copper ports are designed to auto-sense and auto-negotiate the speed and duplex mode of the connected device. If the attached device does not support this operation, you can manually enter the port speed to operate at either 10, 100, or 1000 Mbps. The default and recommended setting is 10/100/1000 auto-sense.

On FastIron devices, when setting the speed and duplex-mode of an interface to 1000-full, configure one side of the link as master (1000-full-master ) and the other side as slave (1000-full-slave ).

Both ends of the link must be configured to operate at the same speed.

2500 and the 5G speeds are applicable only to Multi-Gigabit ports.

The no form of the command restores the default.

For the Ruckus ICX 7850-48F, SFP28 ports are grouped into fours. For example, ports 1/1/1 to 1/1/4 are one group and ports 1/1/5 to 1/1/8 are another group, and so on. All ports in a four-port group must be configured to the same value. This restriction does not apply if configuring values between 1G and 10G.

When the speed-duplex optic command is used, ICX switches can automatically set the port speeds based on the type of optics present. For example, when 1G optics are installed on a 10G SFP+ port that is capable of running at 1G, the speed should be automatically set to 1G. If a 10G optic is installed, the port should revert back to its default of 10G. For Copper GBICs, auto-negotiation is applied as applicable. This is applicable for 10G fiber ports, and speed optic is the default configuration for 8095C and above.

Refer RUCKUS FastIron Management Configuration Guide for more information.

Examples

The following example changes the port speed of copper interface 1/1/8 on a device from the default of 10/100/1000 auto-sense, to 100 Mbps operating in full-duplex mode.

device(config)# interface ethernet 1/1/8
device(config-if-e1000-1/1/8)# speed-duplex 100-full

The following example changes the port speed of a four port group to 10 Mbps operating in full-duplex mode for an ICX 7850-48F device.

ICX-7850# configure terminal
ICX-7850(config)# interface ethernet 1/1/45 to 1/1/48
ICX-7850(config-if-e1000-1/1/8)# speed-duplex 10g-full 

The following example sets the speed based on optic type where the speed has been automatically set to 1G.

device# configure terminal
device(config)# interface ethernet 1/2/6
device(config-if-e10000-1/2/6)# speed-duplex optic


device# show interface brief ethernet 1/2/6

Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC       Name
1/2/6      Up      Learn   Full 1G    None  No  1    0   cc4e.24b4.6f5a   

device# show interface ethernet 1/2/6

10GigabitEthernet1/2/6 is up, line protocol is up
  Port up for 6 minute(s) 28 second(s)
  Hardware is 10GigabitEthernet, address is cc4e.24b4.6e3a (bia cc4e.24b4.6e3a)
  Configured speed optic-based, actual 1Gbit, configured duplex fdx, actual fdx
  Configured mdi mode AUTO, actual MDI
  Untagged member of L2 VLAN 1, port state is BLOCKING
  BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
  Link Error Dampening is Disabled
  STP configured to ON, priority is level0, mac-learning is enabled
  MACsec is Disabled
  Openflow is Disabled, Openflow Hybrid mode is Disabled,  Flow Control is config enabled, oper enabled, negotiation disabled
  Mirror disabled, Monitor disabled
  Mac-notification is disabled
  VLAN-Mapping is disabled
  Not member of any active trunks
  Not member of any configured trunks
  No port name
  IPG XGMII 96 bits-time
  MTU 1500 bytes, encapsulation ethernet
  MMU Mode is Store-and-forward
  300 second input rate: 7384 bits/sec, 4 packets/sec, 0.00% utilization
  300 second output rate: 240 bits/sec, 0 packets/sec, 0.00% utilization
  77266 packets input, 18425525 bytes, 0 no buffer
  Received 24440 broadcasts, 52826 multicasts, 0 unicasts
  0 input errors, 0 CRC, 0 frame, 0 ignored
  0 runts, 0 giants
  1493 packets output, 604382 bytes, 0 underruns
  Transmitted 857 broadcasts, 636 multicasts, 0 unicasts
  0 output errors, 0 collisions
  Relay Agent Information option: Disabled
  Protected: No
  MAC Port Security: Disabled

UC Egress queues:
Queue counters    Queued packets    Dropped Packets
         0                   0                   0
         1                   0                   0
         2                   0                   0
         3                   0                   0
         4                   0                   0
         5                   0                   0
         6                   0                   0
         7                1493                   0


MC Egress queues:
Queue counters    Queued packets    Dropped Packets
         0                   0                   0
         1                   0                   0
         2                   0                   0
         3                   0                   0  
...
History
Release version Command history
08.0.20 This command was introduced.
08.0.30g This command was modified to specify that the 1000-full setting mode is not applicable to 1G copper ports on the ICX 7250 and ICX 7450.
08.0.40 This command was modified to specify that on the ICX 7450-32ZP 2.5G ports, the command works in port pairs only.
08.0.40a This command was modified to add support for 100M full-duplex mode on the ICX 7750-48C.
08.0.70 This command was modified to add support for 5G full-duplex mode on the ICX 7650.
08.0.95C The optic keyword was added.