Gigabit Ethernet Interface
SUMMARY You can configure Gigabit Ethernet Interface with various modes like speed options, autonegotiation options, VLAN options, IP options, interface modes, link settings on the switches. The configuration uses Junos OS for EX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style.
Speed and Autonegotiation
- Configure Interface Speed on Switches
- Configure Speed on EX2300-48MP and EX2300-24MP Switches
- Configure Speed and Autonegotiation on QFX5100-48T Switches
- Autonegotiation Support for EX4300-48MP Switches
- Autonegotiation Support for EX4400 Switches
- Autonegotiation Support for EX4100 Switches
- Autonegotiation Support for EX4600-40F, QFX5110-48S and QFX5100-48S with JNP-SFPP-10GE-T Transceiver
- Autonegotiation Support for QFX5120-48Y with JNP-SFPP-10GE-T Transceiver
Configure Interface Speed on Switches
On 1/10GbE capable SFP interfaces, the duplex is always full and the speed matches that of the inserted optic. These interfaces support either 1 G or 10GbE SFP optics.
-
For EX Series Switches and QFX Series Switches, the CLI configuration needs to match the optic speed. For 1 G based optics, the configuration needs to start with ge-. For 10GbE inserted optics, the configuration needs to start with xe-. By default, both ge and xe choices are in the default configuration. User must match the CLI syntax to the optic speed.
Only 10 Gbps and 40 Gbps interfaces are supported on OCX Series switches.
Following are the steps to configure the speeds on EX Series Switches and QFX Series Switches:
Configure Speed on EX2300-48MP and EX2300-24MP Switches
Follow these guidelines when you configure the speed on EX2300-48 MP and EX2300-24MP switches:
-
The mge interface is a rate-selectable (Multi-Rate) GbE interface that supports speeds of 10-Gbps, 5-Gbps, and 2.5-Gbps over CAT5e/CAT6/CAT6a cables. In the EX2300-48 MP and EX2300-24MP switches, the mge interface supports 100-Mbps, 1-Gbps, and 2.5-Gbps speeds. Note that 10 Mbps speed is supported only on
ge
interfaces of EX2300 switch. -
You can configure both multi-rate gigabit ethernet interface (mge) and gigabit ethernet (ge) interface using the
speed
configuration statement. -
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.
-
If both Energy Efficient Ethernet (EEE) and 100-Mbps speed are configured on a rate-selectable (or Multi-Rate) 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.
Configure Speed and Autonegotiation on QFX5100-48T Switches
For information about speed support, see speed.
Table 1 provides QFX5100-48T details and description.
Detail |
Description |
---|---|
Duplex Mode |
Full duplex |
Autonegotiation |
The autonegotiation option is to negotiate the speeds. 10 Gbps, 1 Gbps, 100 Mbps-By default, autonegotiation is enabled. |
Following are guidelines for configuring speed and autonegotiation on QFX5100-48T switch:
-
If the speed on the switch is set to 10-Gbps or auto, the switch advertises all the speeds.
-
If the speed on the switch is set to 1-Gbps, the switch advertises 1-Gbps and 100-Mbps.
- If you've configured the speed to 100-Mbps on the switch, then you must also configure the speed as 100-Mbps and duplex to full duplex on the link partner.
- If the link partner is set to autonegotiate at 100-Mbps, then you must configure the speed to 10-Gbps, 1-Gbps or auto on QFX5100-48T switch.
-
The
no-auto-negotiation
statement does no action. Hence, we recommend not to use theno-auto-negotiation
statement.
Table 2 provides the configuration steps to configure speed and autonegotiation.
Configure Speed/Autonegotiation |
Use Configuration |
---|---|
To configure a particular speed, mention the speed. |
For a port to only advertise a specific speed, start with a specific speed, it is mandatory that both the auto-negotiation option must be set (enabled) and the interface must also be configured with a specific supported 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, execute the following command: set interfaces xe-0/0/0 ether-options auto-negotiation set interfaces xe-0/0/0 speed 1g |
To enable auto-negotiation and advertise all speeds. |
With or without below, QFX5100-48T interface support auto-negotiation to one of either 10 G and 1 G. set interfaces xe-0/0/0 ether-options auto-negotiation set interfaces xe-0/0/0 speed auto This configuration does not change any functionality. If the speed is set to fixed at 10 G, the interface still operates as auto, and advertises 10 G/1 G/100M. When you configure a port using the |
Autonegotiation Support for EX4300-48MP Switches
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.
If both Energy Efficient Ethernet (EEE) and 100-Mbps speed are configured on a rate-selectable (or Multi-Rate) Gigabit Ethernet (mge) port, the port operates only at 100-Mbps speed but EEE is not enabled on that port. Note that EEE is supported only on mge interfaces that operate at 1-Gbps, 2.5-Gbps, 5-Gbps, and 10-Gbps speeds.
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.
Table 3 summarizes the autonegotiation and half duplex support on EX4300-48MP switches.
Port Numbers |
Interface Name |
Autonegotiation Supported (YES/NO)? |
Half Duplex Supported (YES/NO)? |
---|---|---|---|
PIC 0 PORTS 24-47 |
mge |
Yes. Speed supported (10 G/5 G/2.5 G/1 G/100m) |
No |
PIC 2 PORT 0 – 3 (Uplink ports) |
xe |
No |
No |
PIC 0 PORTS 0 – 23 |
ge |
1 G/100 Mbps/10 Mbps |
Yes, but Half duplex cannot be configured on EX4300-48MP switches. If the link partner is half duplex and capable of autonegotiating half duplex, then these ports can work a half duplex. |
PIC 2 PORT 0 - 3 |
Uplink 4x10G |
No. Based on inserted transceiver, port is |
No |
PIC 2 PORT 0, 1 |
Uplink 2x40G |
No |
No |
Autonegotiation Support for EX4400 Switches
Interface Name |
Autonegotiation Supported (YES/NO)? |
Half Duplex Supported (YES/NO)? |
---|---|---|
mge |
Yes. Speed supported (10 G/5 G/2.5 G/1 G/100 Mbps) |
No |
xe |
No |
No |
ge |
1 G/100 Mbps/10 Mbps |
Yes, but half duplex cannot be configured on EX4400 switches. If the link partner is half duplex and capable of autonegotiating half duplex, then these ports can work a half duplex. |
Uplink 1x100G, 4x10G, and 4x25G |
No. Based on inserted transceiver, port is
|
No |
2x40G, 2x100G (PIC 1) |
No |
No |
Autonegotiation Support for EX4100 Switches
Interface Name |
Autonegotiation Supported (YES/NO)? |
Half Duplex Supported (YES/NO)? |
---|---|---|
mge |
Yes. Speed supported (10 G/5 G/2.5 G/1 G/100 Mbps) |
No |
xe |
No |
No |
ge |
1 G/100 Mbps/10 Mbps |
Yes, half duplex can be configured on EX4100 switches. |
Autonegotiation Support for EX4600-40F, QFX5110-48S and QFX5100-48S with JNP-SFPP-10GE-T Transceiver
The interfaces on which the JNP-SFPP-10GE-T transceivers are present come up
based on the speed (100-Mbps, or 1 Gbps, or 10-Gbps) configured using the
set interfaces interface-name speed
speed
command at the remote end.
For information about platforms support, see Hardware Compatibility Tool.
Table 6 discusses EX4600-40F, QFX5110-48S and QFX5100-48S switches with JNP-SFPP-10GE-T transceiver details.
Details |
Description |
---|---|
EX4600-40F, QFX5110-48S and QFX5100-48S switches with JNP-SFPP-10GE-T transceiver |
Interface created - Gigabit Ethernet (ge) interface. On EX4600-40F, QFX5110-48S and QFX5100-48S, the ge interface
supports 100-Mbps1-Gbps, and 10-Gbps speeds, which can be
configured using the Use the |
EX4600-40F, QFX5110-48S and QFX5100-48S switches with other transceivers |
Interface created - |
Duplex Mode |
Full duplex |
Viewing Media Specific Information |
You can execute the |
When the interface is configured with a particular speed, it means that the transceiver can support connection to a peer at rates lesser than or equal to the configured speed, as shown in Table 7:
Configured Speed |
The interface will be up with remote end speed of |
---|---|
|
|
|
|
|
|
Autonegotiation Support for QFX5120-48Y with JNP-SFPP-10GE-T Transceiver
For information about platforms support, see Hardware Compatibility Tool.
Table 8 discusses QFX5120-48Y with JNP-SFPP-10GE-T transceiver details.
Details |
Description |
---|---|
Supported speeds |
10 Gbps and 1 Gbps Default speed: 10 Gbps (with or without JNP-SFPP-10GE-T transceiver connected) If the peer does not support 10-Gbps speed, then the link will be down. |
Duplex Mode |
Full duplex |
Table 9 configure 1-Gbps and 10-Gbps speeds on QFX5120-48Y with JNP-SFPP-10GE-T transceiver.
Configure Speed. |
Description |
---|---|
1 Gbps |
Use the On QFX5120 switch, mge interfaces are not supported due to hardware limitations. |
To revert to 10-Gbps speed (after setting 1-Gbps speed. |
Delete the |
Configuring Gigabit and 10-Gigabit Ethernet Interfaces for EX4600 and QFX Series Switches
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 Gigabit Ethernet and 10-Gigabit Ethernet interfaces.
-
autonegotiation—Enable or disable autonegotation of flow control, link mode, and speed for interfaces.
-
link-mode—Specify full-duplex, half-duplex, or automatic for Gigabit Ethernet interfaces.
-
loopback—Enable or disable a loopback interface for both Gigabit Ethernet and 10-Gigabit Ethernet interfaces.
To set ether-options for both Gigabit Ethernet and 10-Gigabit Ethernet interfaces:
[edit]
user@switch# set interfaces interface-name ether-options
This topic describes:
- Configuring Port Mode on QFX5100-48S, QFX5100-48T, QFX5100-24Q, and EX4600 Switches
- Configuring the Link Settings for Gigabit Ethernet Interfaces on QFX5100-48S, QFX5100-96S, and EX4600 Switches
- Configuring Gigabit Ethernet Interfaces on QFX5100-48T Switches
- Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5100-48S, QFX5100-24Q, QFX5100-96S, and EX4600 Switches
- Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5100-48T Switches
- Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5120-48T Switches
- Configuring the IP Options on QFX5100-48S, QFX5100-48T, QFX5100-24Q, and EX4600 Switches
- Configuring the Link Settings for 1-Gigabit Ethernet Interfaces on EX4100 EX4100-F Multigigabit Switches
Configuring Port Mode on QFX5100-48S, QFX5100-48T, QFX5100-24Q, and EX4600 Switches
If you are connecting a switch to other switches and to routers on the LAN, you need to assign the interface to a logical port and you need to configure the logical port as a trunk port.
To configure a Gigabit Ethernet or 10-Gigabit interface for trunk port mode on the Enhanced Layer 2 software (ELS):
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family ethernet-switching interface-mode trunk
See Also
Configuring the Link Settings for Gigabit Ethernet Interfaces on 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.Note: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.
Configuring Gigabit Ethernet Interfaces on QFX5100-48T 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:
-
Gigabit Ethernet interfaces operate in full-duplex mode.
-
Gigabit Ethernet interfaces must be configured as xe-fpc/pic/port, and not ge-fpc/pic/port.
-
Autonegotiation is enabled by default, and will autonegotiate the speed with the link partner. You can not disable auto-negotiation.
Issue the
show interfaces name extensive
command to see the negotiated speed of the interface. -
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.
Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5100-48S, QFX5100-24Q, QFX5100-96S, and EX4600 Switches
The following default configurations are available on 10-Gigabit Ethernet interfaces:
-
All the 10-Gigabit Ethernet interfaces are set to auto-negotiation.
-
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.
-
The speed cannot be configured.
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 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.
-
10-Gigabit Ethernet interfaces operate in full-duplex mode 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.Note: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.
Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5100-48T Switches
The following default configurations are available on 10-Gigabit Ethernet interfaces:
-
All the 10-Gigabit Ethernet interfaces are set to auto-negotiation.
-
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-Gigabit Ethernet interfaces operate in full-duplex mode by default.
-
Autonegotiation is enabled by default, and will autonegotiate the speed with the link partner. You can't disable autonegotiation.
Note: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. If you want to connect to the link partner with 100-Mbps speed that supports autonegotiation at 100-Mbps, we recommend that you 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.
Configuring the Link Settings for 10-Gigabit Ethernet Interfaces on QFX5120-48T Switches
The following default configurations are available on 10-Gigabit Ethernet interfaces:
-
The 10-Gigabit Ethernet interfaces are set to auto-negotiation 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.
Configuring the IP Options on QFX5100-48S, QFX5100-48T, QFX5100-24Q, and EX4600 Switches
To specify an IP address for the logical unit:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet address ip-address
Configuring the Link Settings for 1-Gigabit Ethernet Interfaces on EX4100 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:root@ex4100-device# set interfaces ge-0/0/3 speed 100m {master:0}[edit] root@ex4100-device# set interfaces ge-0/0/3 link-mode half-duplex {master:0}[edit] root@ex4100-device# commit [edit interfaces] 'ge-0/0/3' Half duplex and flow control enable is an invalid configuration. error: configuration check-out failed {master:0}[edit]
Add the no-flow-control option and the configuration is successful:
root@ex4100-device# ... speed 100m ether-options no-flow-control {master:0}[edit] root@ex4100-device# commit configuration check succeeds commit complete {master:0}[edit]
Issue the
show interfaces name extensive
command to see if autonegotiation is enabled or disabled and the negotiated speed of the interface.
Configuring Gigabit Ethernet Interfaces for EX Series Switches with ELS support
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.
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 tofamily ethernet-switching
(except on EX8200 switches and Virtual Chassis)Specifies Rapid Spanning Tree Protocol (RSTP) and Link Layer Discovery Protocol (LLDP)
This topic describes:
- Configuring VLAN Options and Interface Mode
- Configuring the Link Settings
- Configuring the IP Options
Configuring 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:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family ethernet-switching interface-mode trunk
See Also
Configuring the Link Settings
EX Series switches include a factory default configuration that enables interfaces with the link settings provided in Table 10.
Ethernet Interface |
Autonegotiation |
Flow Control |
Link Mode |
Link Speed |
---|---|---|---|---|
1 gigabit |
Enabled |
Enabled |
Autonegotiation (full duplex or half duplex) For information about EX4300, see the Note below this table. |
Autonegotiation (10 Mbps, 100 Mbps, or 1 Gbps) |
10 gigabit (using a DAC cable) |
Enabled |
Enabled |
Full duplex |
10 Gbps |
10 gigabit (using a fiber-optic cable) |
Disabled |
Enabled |
Full duplex |
10 Gbps |
40 gigabit (using a DAC cable) |
Enabled |
Enabled |
Full duplex |
40 Gbps |
40 gigabit (using a fiber-optic cable) |
Disabled |
Enabled |
Full duplex |
40 Gbps |
On EX4300 switches, there is no link-mode
configuration
statement. The link-mode setting on an EX4300 switch is handled as
follows:
If the link partner is operating in half duplex, the EX4300interface goes to half duplex.
-
If the link partner is not capable of autonegotiation, then the link is established as either half-duplex or full-duplex, based on the physical layer of the link partner and EX4300 switches. Only if the speed is either 10-Gbps or 100-Gbps and the duplexity is Half Duplex on both sides, link will be established successfully.
If the link partner is capable of autonegotiation and is operating in full duplex, the EX4300 interface also works in full duplex.
To force an EX4300 interface to stay in full-duplex mode, configure the interface’s speed as 10 Mbps or 100 Mbps and also configure the interface with the
no-autonegotiation
statement.
To configure the link mode and speed settings for a 1-Gigabit, 10-Gigabit, or 40-Gigabit Ethernet interface:
On EX4300 switches, there is no link-mode
configuration
statement. See information earlier in this document regarding how
the link mode is set on EX4300 switches.
[edit]
user@switch# set interfaces interface-name
To configure additional link settings for a 1-Gigabit, 10-Gigabit, or 40-Gigabit Ethernet interface:
[edit]
user@switch# set interfaces interface-name ether-options
For detailed information about the FPC, PIC, and port numbers used for EX Series switches, see Understanding Interface Naming Conventions.
Configurable link settings include:
802.3ad
—Specify an aggregated Ethernet bundle. See Configuring Aggregated Ethernet Links (CLI Procedure).auto-negotiation
—Enable or disable autonegotiation of flow control, link mode, and speed.Note: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. Half-duplex is bidirectional communication; however, signals can flow in only one direction at a time. Full-duplex communication means that both ends of the communication can send and receive signals at the same time.
Half-duplex is configured by default on EX4300switches. If the link partner is set to autonegotiate the link, then the link is autonegotiated to full duplex or half duplex. If the link is not set to autonegotiation, then the EX4300link defaults to half duplex unless the interface is explicitly configured for full duplex.
To explicitly configure full duplex:
[edit] user@switch# set interfaces interface-name speed 10m-or-100m [edit] user@switch# set interfaces interface-name ether-options no-auto-negotiation
To verify a half-duplex (or a full-duplex) setting:
user@switch> show interfaces interface-name extensive
flow-control
—Enable or disable flow control.link-mode
—Specify full duplex, half duplex, or autonegotiation.Note:On EX4300 switches, there is no
link-mode
configuration statement. See information earlier in this document regarding how the link mode is set on EX4300 switches.loopback
—Enable or disable loopback mode.speed
—Specify 10 Mbps, 100 Mbps, 1 Gbps, or autonegotiation.
Configuring the IP Options
To specify an IP address for the logical unit using IPv4:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet address ip-address
To specify an IP address for the logical unit using IPv6:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet6 address ip-address
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
.
Configuring Gigabit and 10-Gigabit Ethernet Interfaces for OCX Series Switches
Devices include a factory default configuration that:
Enables all 10-Gigabit Ethernet network interfaces on the switch
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
This topic describes:
- Configuring the Link Settings for Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
- Configuring the IP Options
Configuring the Link Settings for Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
Devices include a factory default configuration that enables 10-Gigabit Ethernet and interfaces with applicable link settings.
The following default configurations are available on 10-Gigabit Ethernet interfaces:
The speed for 10-Gigabit Ethernet interfaces is set to 10 Gbps by default. The speed cannot be configured.
10-Gigabit Ethernet interfaces operate in full-duplex mode by default.
Autonegotiation is not supported.
The ether-options
statement enables you to modify
the following options:
802.3ad—Specify an aggregated Ethernet bundle for 10-Gigabit Ethernet interfaces.
loopback—Enable or disable a loopback interface for 10-Gigabit Ethernet interfaces.
To set ether-options for 10-Gigabit Ethernet interfaces:
[edit]
user@switch# set interfaces interface-name ether-options
Configuring the IP Options
To specify an IP address for the logical unit:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet address ip-address
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.
ge
interfaces of EX2300 switch.