Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

speed (Ethernet)

 

List of Syntax

Syntax (EX Series)

Syntax (EX2300 and EX4300)

Syntax (EX Series, ACX Series, MX Series)

Syntax (ACX5448)

Syntax (ACX5448-D)

Syntax (QFX Series, OCX1100, EX4600)

Syntax (PTX10003-80C, PTX10003-160C)

Syntax (EX Series)

Syntax (EX2300 and EX4300)

Syntax (EX Series, ACX Series, MX Series)

Syntax (ACX5448)

Syntax (ACX5448-D)

Syntax (QFX Series, OCX1100, EX4600)

Syntax (PTX10003-80C, PTX10003-160C)

Hierarchy Level (EX Series)

Hierarchy Level (EX2300 and EX4300)

Hierarchy Level (ACX5448, ACX5448-D)

Hierarchy Level (ACX Series, EX Series, MX Series)

Hierarchy Level (QFX Series, EX4600, OCX Series)

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Statement introduced in Junos OS Release 12.2 for ACX Series Universal Metro Routers.

Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

Speed option 2.5Gbps introduced in Junos OS Release 18.1R2 for EX2300 switch.

Speed option 10Gbps and 5Gbps introduced in Junos OS Release 18.2R1 for EX4300 switch.

Speed option 1-Gbps is introduced in Junos OS Release 19.1R1 on the 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module on EX4300-48MP switches.

Speed options 100-Mbps, 1-Gbps, and auto is introduced in Junos OS Releases 18.4R1S2, 18.4R2, and 19.2R1 and later for ACX5448 Universal Metro Routers.

Speed option 10Gbps, 40Gbps, and 100Gbps introduced in Junos OS Evolved Release 19.1R1 for PTX10003-80C, PTX10003-160C routers.

Speed options 100-Gbps, 40-Gbps, 25-Gbps, and 10-Gbps introduced in Junos OS Release 19.2R1-S1 for ACX5448-D routers.

Description

Configure the interface speed. This statement applies to the management Ethernet interface (fxp0 or em0), Fast Ethernet 12-port and 48-port PICs, the built-in Fast Ethernet port on the FIC (M7i router), Combo Line Rate DPCs and Tri-Rate Ethernet Copper interfaces on MX Series routers, and Gigabit Ethernet interfaces on EX Series switches.

When you configure the Tri-Rate Ethernet copper interface to operate at 1 Gbps, autonegotiation must be enabled. When you configure 100BASE-FX SFP, you must set the port speed at 100 Mbps.

Note

On MX Series routers with Tri-rate Enhanced DPC (DPCE-R-40GE-TX), when you configure the interface speed using the auto-10m-100m option, the speed is negotiated to the highest value possible (100 Mbps), if the same value is configured on both sides of the link. However, when you view the interface speed of the DPC, using the show interfaces command, the value of the speed is not accurately displayed. For instance, if you configure the speed of the Tri-rate enhanced DPC, as 100Mbps on both sides of the link, the interface speed of the DPC is negotiated to 100 Mbps. However, the interface speed of the DPC displays 1 bps. This is an issue with the show interfaces command only. The actual interface speed is 100 Mbps.

On 10-Gigabit Ethernet SFP interfaces, autonegotiation is enabled by default and auto-detects the speed to be either 1 Gbps or 10 Gbps. On QFX5100-48S, QFX5100-96S, and QFX5100-24Q devices using 10-Gigabit Ethernet SFP interfaces, the speed is set to 10 Gbps by default and cannot be configured to operate in a different speed. On QFX5100-48S and QFX5100-96S devices using 1-Gigabit Ethernet SFP interfaces, the speed is set to 1 Gbps by default and cannot be configured to operate in a different speed.

(For QFX5100-48T only) To negotiate any speed on QFX5100-48T switches:

set interfaces xe-0/0/0 ether-options auto-negotiation

set interfaces xe-0/0/0 speed auto

Basically, when you configure a port using speed auto option, the port deletes the last configured speed, comes up again and advertises all the possible speeds:

For a port to start with a specific speed, it is mandatory that both the auto-negotiation must be enabled and interface must be configured with a particular speed. Otherwise, the switch will remain with the last negotiated speed. If you only set the auto-negotiation option (and no speed option), then the switch will start with the last speed it connected at and will only advertise that to the server.

To configure a particular speed on QFX5100-48T switches, mention the speed:

set interfaces xe-0/0/0 ether-options auto-negotiation

set interfaces xe-0/0/0 speed speed

For example to configure 1-Gbps speed in full duplex mode, execute the following command:

set interfaces xe-0/0/0 ether-options auto-negotiation

set interfaces xe-0/0/0 speed 1g

Note that you can not disable auto-negotiation on 1-Gigabit Ethernet ports. It is mandatory to enable autonegotiation when 1-Gbps speed is configured on a particular interface.

Note

In Junos OS Release 14.1X53-D35 on QFX5100-48T-6Q devices using 10-Gigabit Ethernet Copper interfaces, autonegotiation is disabled by default on the copper ports, and the interfaces operate at a speed of 100M. You can, however, enable auto-negotiation by issuing the set interface name ether-options auto-negotiation command on the interface for which you want to change the interface speed. With autonegotiation enabled, the interface auto-detects the speed in which to operate.

Note

Only 10 Gbps and 40 Gbps interfaces are supported on OCX Series switches.

Note

When displaying interface information with show interfaces commands, you might see speed values for 1 Gbps interfaces displayed as 1000mbps.

(For EX2300 only) Starting in Junos OS Release 18.1R2, the multi-rate speed is supported on EX2300-48MP and EX2300-24MP switches. The speed configuration statement is supported on both multi-rate gigabit ethernet interface (mge) and gigabit ethernet (ge) interface. The mge interface is a rate-selectable (multirate) Gigabit Ethernet interface that can support speeds of 10-Gbps, 5-Gbps, and 2.5-Gbps over CAT5e/CAT6/CAT6a cables. In the EX2300, the mge interface supports 100-Mbps, 1-Gbps, and 2.5-Gbps speeds, which can be configured by using the speed configuration statement. Note that 10Mbps speed is supported only on ge interfaces of EX2300 switch.

On EX2300-24MP and EX2300-48MP switches, if both Energy Efficient Ethernet (EEE) and 100-Mbps speed are configured on a rate-selectable (or multirate) Gigabit Ethernet (mge) port, the port operates only at 100-Mbps speed but EEE is not enabled on that port. EEE is supported only on mge interfaces that operate at 1-Gbps and 2.5-Gbps speeds.

(For EX4300-48MP only) Starting with Junos OS Release 19.1R1, the 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module (EX-UM-4SFPP-MR) on EX4300-48MP switches supports 1-Gbps speed. You do not need to explicitly configure 1-Gbps speed on the uplink module as it automatically identifies the installed 1-gigabit SFP transceivers and creates the interface accordingly.

Note

On EX4300-48MP, the status LED of 1-Gigabit Ethernet uplink module port is solid green (instead of blinking green) because of a device limitation. However, there is no impact on device functionality.

(For ACX5448 only) 100-Gbps speed is supported from interfaces xe-0/0/24 to xe-0/0/47 only.

On ACX5448-D routers, you can configure speeds of 100-Gbps, 40-Gbps, 25-Gbps, and 10-Gbps are supported on the et- and ot- interfaces.

Default

Default (EX Series)

If the auto-negotiation statement at the [edit interfaces interface-name ether-options] hierarchy level is enabled, the auto-negotiation option is enabled by default.

Options

You can specify the speed as either 10m (10 Mbps), 100m (100 Mbps), and on MX Series routers, 1g (1 Gbps). You can also specify the auto option on MX Series routers.

For Gigabit Ethernet interfaces on EX Series switches, you can specify one of the following options:

Table 1: Options for speed

PlatformsSpeed SupportedAuto-negotiation

EX Series Switches

100m—100 Mbps

10m—10 Mbps

1g—1 Gbps

auto-negotiation—Automatically negotiate the speed based on the speed of the other end of the link. This option is available only when the auto-negotiation statement at the [edit interfaces interface-name ether-options] hierarchy level is enabled.

ACX, MX Series

100m—100 Mbps

10m—10 Mbps

1g—1 Gbps

auto—Automatically negotiate the speed (10 Mbps, 100 Mbps, or 1 Gbps) based on the speed of the other end of the link.

auto-10m-100m—Automatically negotiate the speed (10 Mbps or 100 Mbps) based on the speed of the other end of the link.

EX4600, QFX Series, QFabric, OCX100

10g—10 Gbps

1g—1 Gbps

100m—100 Mbps

auto-negotiation—Automatically negotiate the speed based on the speed of the other end of the link. This option is available only when the auto-negotiation statement at the [edit interfaces interface-name ether-options] hierarchy level is enabled.

PTX10003-80C, and PTX10003-160C

10g—10 Gbps

40g—40 Gbps

100g—100 Gbps

speed—Specify the interface speed.

Use number-of-sub-ports configuration statement to configure the number of optical channels for a particular port if the optics are used in a channelized mode. You can use this configuration option to configure a speed (10, 40, and 100 Gbps) in different number of channels based on the optics used.

See PTX10003 Router Rate-Selectability Overview for more details.

EX2300

10m—10 Mbps (supported on EX series switches and only on ge interfaces of EX2300 switch)

100m—100 Mbps

1g—1 Gbps

2.5g—2.5 Gbps (supported only on mge interfaces of E2300 switch)

speed—Specify the interface speed. If the auto-negotiation statement at the [edit interfaces interface-name ether-options] hierarchy level is disabled, you must specify a specific value. This value sets the speed that is used on the link. If the auto-negotiation statement is enabled, you might want to configure a specific speed value to advertise the desired speed to the remote end.

The Multi-rate gigabit ethernet interface (MGE) on EX2300-24MP and EX2300-48MP switches flaps (becomes unavailable, and then available again) while performing timeout detection and recovery (TDR) test.

EX4300-48MP (EX-UM-4SFPP-MR)

10m—10 Mbps (supported only on ge interfaces)

100m—100 Mbps (supported on ge and mge interfaces)

1g—1 Gbps (supported on ge, mge interfaces, and 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module on EX4300-48MP switches). The 1-Gbps speed is supported on the 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module of EX4300-48MP switches from Junos OS Release 19.1R1 onwards.

2.5g—2.5 Gbps (supported only on mge interfaces)

5g—5 Gbps (supported only on mge interfaces)

10g—10 Gbps (supported on mge interfaces and 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module on EX4300-48MP switches)

speed—Specify the interface speed.

Note: On 4-port 1-Gigabit Ethernet/10-Gigabit Ethernet uplink module, no explicit configuration is required as it automatically identifies the transceivers and creates the interface accordingly.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release History Table
Release
Description
Starting in Junos OS Release 18.1R2, the multi-rate speed is supported on EX2300-48MP and EX2300-24MP switches.