Related Documentation
Configuring Gigabit and 10-Gigabit Ethernet Interfaces
QFX Series products 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
This topic describes:
- Configuring Port Mode
- Configuring the Link Settings for Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
- Configuring the IP Options
Configuring Port Mode
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:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family ethernet-switching port-mode trunkConfiguring the Link Settings for Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
QFX Series products include a factory default configuration that enables Gigabit Ethernet and 10-Gigabit Ethernet and interfaces with applicable link settings.
The following default configurations are available on Gigabit Ethernet interfaces:
- The speed for Gigabit Ethernet interfaces is set to 1000 Mbps by default.
- Gigabit Ethernet interfaces operate in full-duplex mode by default, and autonegotiation is supported. If you want to disable autonegotation, you need to manually set the speed to 1g.
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 both Gigabit Ethernet and 10-Gigabit Ethernet interfaces.
- autonegotiation—Enable or disable autonegotation of flow control, link mode, and speed for Gigabit Ethernet 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-optionsConfiguring 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