On QFX platforms, interface can dynamically auto-channelize based on detected optical signal patterns—especially when using breakout cables with QSFP+ optics. This is particularly where "auto-speed detection" is enabled. Under certain conditions, such as when signal is received on only a subset of lanes, the switch may automatically channelize a port.
Symptoms
On QFX devices, depending on the platform and its specifications, certain ports may automatically channelize when breakout optics are used. To determine which ports support channelization, please refer to the official Juniper documentation:
https://www.juniper.net/documentation/us/en/software/junos/interfaces-ethernet-switches/topics/topic-map/port-speed-qfx-switches.html
When "auto-speed detection" is enabled, interfaces using breakout cables can automatically channelize based on the detected optical signal pattern. For example, a QSFP+ optic with breakout capabilities may be interpreted as a 4x10G breakout if the switch detects signal on Lanes 1–3 but no signal on Lane 0. This partial signal pattern can lead the switch to incorrectly assume a breakout configuration, even if the optic and cabling were intended for only 40G operation.
This behavior is especially common when "auto-speed detection" is enabled, as the switch dynamically interprets the signal pattern to determine the appropriate interface mode.
To prevent the interface from auto-channelizing, inspect and replace the fiber cable or optic to ensure that all of the lanes are transmitting and receiving signals correctly. In the other hand, if you want the port to operate on consistent speed and avoid automatic channelization, it is recommended to disable "auto-speed detection". This prevents the switch from misinterpreting signal patterns and helps avoid link issues due to speed mismatches. You can disable "auto-speed detection" with the following command:
user# set chassis fpc <slot-number> pic <pic-number> (port port-number | port-range port-range-low port-range-high) channel-speed disable-auto-speed-detection
For more information about this command: https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/channel-speed-edit-chassis-qfx-series-els.html