Interface Types and Configuration
This section describes built-in interface types, break-out interface options, and various commands to configure interfaces on your QFX5220, QFX5230, QFX5240, and QFX5241 Switches.
Overview
The QFX Series Switches are designed to accommodate a comprehensive array of high-density, high-speed Ethernet interfaces, including 10GbE, 25GbE, 40GbE, 50GbE, 100GbE, 200GbE, 400GbE, and up to 800GbE interfaces, subject to the specific model. These switches feature QSFP28/QSFP-DD ports that enable channelization and support breakout cables (such as 2x50GbE, 2x100GbE, 2x200GbE, 2x400GbE, 8x50GbE, and 8x100GbE), offering versatile connectivity solutions suitable for data center environments.
The built-in and breakout interface options offer significant flexibility in how bandwidth is provisioned, enabling you to optimize port utilization, scale capacity incrementally, and support a mix of access, aggregation, and uplink requirements across diverse deployment scenarios.
Built-In Interface Options
Table 1 provides information about the built-in interface speeds on the QFX5220, QFX5230, QFX5240, and QFX5241 Switches.
| Switch | Port Density (Without Breakout) | Management and Control Interfaces |
|---|---|---|
|
QFX5220 |
QFX5220-32CD: 32 400GbE QSFP56-DD ports QFX5220-128C: 128 100GbE QSFP28 ports |
|
|
QFX5230 |
64 400GbE QSFP56-DD ports |
|
|
QFX5240 |
QFX5240-64OD: 64 800GbE OSFP ports QFX5240-64QD: 64 800GbE QSFP56-DD ports |
|
|
QFX5241 |
QFX5241-32OD: 32 800GbE OSFP ports QFX5241-64OD: 64 800GbE OSFP ports QFX5241-64QD: 64 800GbE QSF56-DD ports |
|
Breakout Interface Options
The QFX5220, QFX5230, QFX5240, and QFX5241 Switches support breakout capability. With this capability, you can split a high-capacity optical link into several lower-capacity links that help utilize the bandwidth at its best and physical infrastructure in different networking situations.
| Switch | Breakout Options |
|---|---|
|
QFX5220-32CD |
|
|
QFX5220-128C |
|
|
QFX5230 |
|
|
QFX5240-64OD |
|
|
QFX5240-64QD |
|
|
QFX5241-32OD |
|
|
QFX5241-64OD |
|
|
QFX5241-64QD |
|
To validate the supported port speeds and breakout options for your QFX Series Switches, see Port Checker Tool.
Configure Interfaces
After the initial configuration of your device, you can configure physical interfaces and Layer2 and Layer3 interfaces, channelize interfaces, and aggregate Ethernet interfaces on your QFX Series Switch:
-
To configure the interface description:
set interfaces interface-name description "description"
-
To configure interface speed without channelization:
set interfaces interface-name ether-options speed speed
-
(Optional) To configure Layer 2 interfaces at the enterprise level (access or trunk port, assigning interface to VLAN):
set interfaces interface-name1 unit 0 family ethernet-switching interface-mode access set interfaces interface-name1 unit 0 family ethernet-switching vlan members vlan-name] set interfaces interface-name2 unit 0 family ethernet-switching interface-mode trunk set interfaces interface-name2 unit 0 family ethernet-switching vlan members [vlan-name1vlan-name2]
-
(Optional) To configure an IPv4 address on a logical interface for Layer 3 routing:
set interfaces interface-name unit 0 family inet address ip-address/prefix-length set interfaces interface-name unit 0 family inet6 address ipv6-address/prefix-length
-
To channelize interfaces (breaking down high-speed ports into multiple lower-speed interfaces):
-
For QFX5220, configure channelization at the chassis level:
set chassis fpc fpc pic pic port port-number number-of-sub-ports n speed speed
-
For QFX5230, QFX5240, and QFX5241, configure channelization at the interface level:
set chassis fpc fpc pic pic port port-number speed speed set chassis fpc 0fpc pic pic port port-number number-of-sub-ports n
In the commands shown above, n can have a value of 2, 4, or 8 and speed can have a value of 10g, 25g, 50g, 100g, 200g, or 400g.
-
-
To configure link aggregation by bundling multiple physical Ethernet interfaces into a single logical aggregated Ethernet (ae-) interface and enabling Link Aggregation Control Protocol (LACP) for dynamic negotiation:
[edit] set interfaces physical-interface-1 ether-options 802.3ad ae-interface set interfaces physical-interface-2 ether-options 802.3ad ae-interface set interfaces ae-interface aggregated-ether-options lacp active set interfaces ae-interface unit unit family inet/inet6 address ip-address/prefix-length
In this configuration,
lacp activemode allows an Ethernet link to actively transmit LACP PDUs to its partner. Another LACP mode,lacp passive, sends LACP PDUs only when the Ethernet link receives them from the remote end. For more information about aggregated Ethernet LACP for switches, see Configure LACP Link Protection of Aggregated Ethernet Interfaces for Switches.To specify the interval and speed at which the interfaces send LACP packets:
set interfaces ae-interface aggregated-ether-options lacp periodic interval
-
To configure a VLAN:
set interfaces ae-interface unit unit-number family ethernet-switching interface-mode mode set interfaces ae-interface unit unit-number family ethernet-switching vlan members vlan-name
For example:
set interfaces et-0/0/1 unit 0 family ethernet-switching interface-mode access set interfaces et-0/0/1 unit 0 family ethernet-switching vlan members VLAN10 set interfaces et-0/0/48 unit 0 family ethernet-switching interface-mode trunk set interfaces et-0/0/48 unit 0 family ethernet-switching vlan members [ VLAN10 VLAN20 ]
-
To configure L3 routing for the associated VLANs (leaf devices in ERB design, spine devices in CRB design):
set vlans VLAN-NAME-1 vlan-id ID-1 set vlans VLAN-NAME-1 l3-interface irb.IRB-UNIT-1 set vlans VLAN-NAME-2 vlan-id ID-2 set vlans VLAN-NAME-2 l3-interface irb.IRB-UNIT-2 set interfaces irb unit IRB-UNIT-1 family inet address IP-address/PREFIX-1 set interfaces irb unit IRB-UNIT-2 family inet address IP-address/PREFIX-2
For example:
set vlans VLAN10 vlan-id 10 set vlans VLAN10 l3-interface irb.10 set vlans VLAN20 vlan-id 20 set vlans VLAN20 l3-interface irb.20 set interfaces irb unit 10 family inet address 192.0.2.1/24 set interfaces irb unit 20 family inet address 198.51.100.1/24
-
To configure a VLAN with a specified name and assign it a unique VLAN identifier (ID number):
set vlans vlan-name vlan-id vlan-id-number
-
To associate a Layer 3 integrated routing and bridging (IRB) interface with the specified VLAN, enabling routing between that VLAN and other networks:
set vlans vlan-name l3-interface irb.logical-interface-number
- For more information about configuring IRB interfaces on switches, see Configuring IRB Interfaces on Switches.
Verify Interfaces
To verify interface configuration on your device:
show interfaces terse show interfaces interface-name show interfaces interface-name extensive show ethernet-switching interface interface-name
To verify that LACP has been set up correctly and enabled as active on one end:
show lacp interfaces interface-name
To verify that the LACP packets are being exchanged between interfaces:
show lacp statistics interfaces aggregated-interface
To verify the active and standby links:
run show interfaces redundancy
To validate the optical module connected to an interface by reviewing its diagnostics such as transmit and receive power.
show interfaces diagnostics optics interface-name
For more information about configuring, monitoring, and troubleshooting Ethernet interfaces, see Interfaces User Guide for Switches.