Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Gigabit and 10-Gigabit Ethernet Interfaces

Learn how to configure link settings and IP options on Gigabit and 10-Gigabit Ethernet interfaces. Also, this topic includes how to configure Gigabit Ethernet interfaces with ELS support.

Devices include a factory-default configuration that:

  • Enables all 10-Gigabit Ethernet network interfaces on the switch.

  • Sets a default port mode (access).

  • Sets default link settings.

  • Specifies a logical unit (unit 0) and assigns it to family ethernet-switching.

  • Configures Storm Control on all 10-Gigabit Ethernet network interfaces.

  • Provides basic Rapid Spanning Tree Protocol (RSTP) and Link Layer Discovery Protocol (LLDP) configuration.

The ether-options statement enables you to modify the following options:

  • 802.3ad—Specify an aggregated Ethernet bundle for both GbE and 10-Gigabit Ethernet interfaces.

  • autonegotiation—Enable or disable autonegotiation of flow control, link mode, and speed for interfaces.

  • link-mode—Specify full-duplex, half-duplex, or automatic for GbE interfaces.

  • loopback—Enable or disable a lo0 for both GbE and 10 GbE interfaces.

To set ether-options for both GbE and 10-Gigabit Ethernet interfaces:

This topic describes:

Configure the Link Settings

Devices include a factory-default configuration that:

  • Enables all 10-Gigabit Ethernet network interfaces on the switch.

  • Sets a default port mode (access).

  • Sets default link settings.

  • Specifies a logical unit (unit 0) and assigns it to family ethernet-switching.

  • Configures Storm Control on all 10-Gigabit Ethernet network interfaces.

  • Provides basic Rapid Spanning Tree Protocol (RSTP) and Link Layer Discovery Protocol (LLDP) configuration.

The ether-options statement enables you to modify the following options:

  • 802.3ad—Specify an aggregated Ethernet bundle for both GbE and 10-Gigabit Ethernet interfaces.

  • autonegotiation—Enable or disable autonegotiation of flow control, link mode, and speed for interfaces.

  • link-mode—Specify full-duplex, half-duplex, or automatic for GbE interfaces.

  • loopback—Enable or disable a lo0 for both GbE and 10 GbE interfaces.

To set ether-options for both GbE and 10-Gigabit Ethernet interfaces:

Link Settings Guidelines for QFX5100-48S, QFX5100-96S, and EX4600 Switches

Devices include a factory default configuration that enables Gigabit Ethernet interfaces with applicable link settings.

The following default configurations are available on Gigabit Ethernet interfaces:

  • You cannot set the speed on these interfaces.

    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.

  • On QFX5100 devices, the interface naming for Gigabit Ethernet interfaces changes automatically to xe-0/0/0, ge-0/0/0, or et-0/0/0 when the appropriate SFP is inserted.

  • Gigabit Ethernet interfaces operate in full-duplex mode.

  • Autonegotiation is supported by default. Autonegotiation is enabled by default, and will autonegotiate the speed with the link partner. We recommend that you keep autonegotiation enabled for interfaces operating at 100M and 1G. By default, autonegotiation is disabled on 10-Gigabit fiber ports.

    If for some reason you have disabled autonegotiation, you can enable it by issuing the set interfaces name ether-options auto-negotiate command.

    To disable autonegotiation, issue the delete interfaces name ether-options auto-negotiate command.

    Do not use the set interfaces name ether-options no-auto-negoatiate command to remove the autonegotiation configuration.

    Issue the show interfaces name extensive command to see if autonegotiation is enabled or disabled and the negotiated speed of the interface.

Link Setting Guidelines for QFX5100-48T Switches

The following default configurations are available on 10-Gigabit Ethernet interfaces:

  • All the 10-GbE interfaces are set to autonegotiation.

  • Flow control for 10-Gigabit Ethernet interfaces is set to enabled by default. You can disable flow control by specifying the no-flow-control option.

  • 10-GbE interfaces operate in full-duplex mode by default.

  • Autonegotiation is enabled by default, and will autonegotiate the speed with the link partner. You cannot disable autonegotiation.

    If you've configured a switch with 100-Mbps speed, then you must also configure the link partner with 100-Mbps speed and duplex to full duplex. To connect to the link partner with 100-Mbps speed that supports autonegotiation at 100-Mbps, configure the speed to 10 Gbps, 1 Gbps, or auto on QFX5100-48T switch.

    Issue the show interfaces name extensive command to see if autonegotiation is enabled or disabled and the negotiated speed of the interface.

Link Settings Guidelines for QFX5120-48T Switches

The following default configurations are available on 10-Gigabit Ethernet interfaces:

  • The 10-Gigabit Ethernet interfaces are set to autonegotiation by default.

  • The 10-Gigabit Ethernet interfaces operate in full-duplex mode by default.

  • Flow control for the 10-Gigabit Ethernet interfaces is set to enabled by default. You can disable flow control by specifying the no-flow-control option.

  • Six 40GbE/100GbE QSFP28 ports support both manual and auto-channelization. Auto channelization is enabled by default.

Issue the show interfaces name extensive command to see if autonegotiation is enabled or disabled and the negotiated speed of the interface.

Link Settings Guidelines for EX4100 and EX4100-F Multigigabit Switches

The following default configurations are available on 1-Gigabit Ethernet interfaces:

  • Autonegotiation is enabled by default, and autonegotiates the speed with the link partner.
  • 1-Gigabit Ethernet interfaces operate in full-duplex mode by default.

  • Flow control for 1-Gigabit Ethernet interfaces is enabled by default. You can disable flow control by specifying the no-flow-control option.

    If you configure the half-duplex mode without specifying the no-flow-control option, the system displays an error message as given in the following example:

    Add the no-flow-control option and the configuration is successful:

    Issue the show interfaces name extensive command to see if autonegotiation is enabled or disabled and the negotiated speed of the interface.

Configure the IP Options

To specify an IP address for the logical unit using IPv4:

To specify an IP address for the logical unit using IPv6:

Configure Gigabit Ethernet Interfaces for EX Series Switches with ELS Support

An Ethernet interface must be configured for optimal performance in a high-traffic network. EX Series switches include a factory-default configuration that:

  • Enables all the network interfaces on the switch

  • Sets a default interface mode (access)

  • Sets default link settings

  • Specifies a logical unit (unit 0) and assigns it to family ethernet-switching (except on EX8200 switches and Virtual Chassis)

  • Specifies Rapid Spanning Tree Protocol (RSTP) and Link Layer Discovery Protocol (LLDP)

This task uses Junos OS for EX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Configuring Gigabit Ethernet Interfaces (CLI Procedure). For ELS details, see Using the Enhanced Layer 2 Software CLI.

This topic describes:

Configure VLAN Options and Interface Mode

By default, when you boot a switch and use the factory default configuration, or when you boot the switch and do not explicitly configure a port mode, all interfaces on the switch are in access mode and accept only untagged packets from the VLAN named default. You can optionally configure another VLAN and use that instead of default. You can also configure a port to accept untagged packets from the user-configured VLAN. For details on this concept (native VLAN), see Understanding Bridging and VLANs on Switches.

If you are connecting either a desktop phone, wireless access point or a security camera to a Power over Ethernet (PoE) port, you can configure some parameters for the PoE interface. PoE interfaces are enabled by default. For detailed information about PoE settings, see Configuring PoE Interfaces on EX Series Switches.

If you are connecting a device to other switches and to routers on the LAN, you need to assign the interface to a logical port and configure the logical port as a trunk port. See Port Role Configuration with the J-Web Interface (with CLI References) for more information about port configuration.

If you are connecting to a server that contains virtual machines and a VEPA for packet aggregation from those virtual machines, configure the port as a tagged-access port. See Understanding Bridging and VLANs on Switches for more information about tagged access.

To configure a 1-Gigabit, 10-Gigabit, or 40-Gigabit Ethernet interface for trunk port mode:

Configure the IP Options

To specify an IP address for the logical unit using IPv4:

To specify an IP address for the logical unit using IPv6:

Note:

Access interfaces on EX4300 switches are set to family ethernet-switching by default. You might have to delete this or any other user-configured family setting before changing the setting to family inet or family inet6.

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
14.1X53-40
Starting with Junos OS Releases 14.1X53-D40, 15.1R4, and 17.1R1, half-duplex communication is supported on all built-in network copper ports on EX4300 switches.