The set interface qe-interface-mode command configures the port mode.
Command Syntax
set interface qe-interface-mode <SFP | QSFP | FLEX>
Parameter
Parameter | Description |
<SFP | QSFP | FLEX> | Specifies the port mode. The value could be SFP, QSFP or FLEX.
For details about configuring port breakout, see Configuring Port Breakout and Merge. By default, the port mode is QSFP. |
Usage Guidelines
This command can be used to switch between QSFP and SFP mode, and switch from QSFP (or SFP) mode to FLEX mode. However, it cannot be used to switch from FLEX mode to QSFP (or SFP) mode. If you want to achieve this, you can manually delete the user configuration files /pica/config/pica_startup.boot and /pica/config/pica.conf and restart the system. The system will then boot up in the default QSFP mode. Be cautious that all the user configurations will be lost after these operations. We suggest you backup the configuration file before proceeding with these operations.
NOTE:
|
The interface names may be different in different port modes, for example:
On S4148 Series Switch
QSFP | SFP | FLEX From QSFP | FLEX From SFP |
te-1/1/1 | te-1/1/1 | xe-1/1/1 | xe-1/1/1 |
qe-1/1/25 | qe-1/1/25.1 qe-1/1/25.2 qe-1/1/25.3 qe-1/1/25.4 | xe-1/1/25.1 | xe-1/1/25.1 |
qe-1/1/26 | qe-1/1/26.1 qe-1/1/26.2 qe-1/1/26.3 qe-1/1/26.4 | xe-1/1/26.1 | xe-1/1/26.1 |
On Switches Other than S4148 Series Switch
QSFP | SFP | FLEX From QSFP | FLEX From SFP |
te-1/1/1 | te-1/1/1 | xe-1/1/1 | xe-1/1/1 |
qe-1/1/49 | te-1/1/49 te-1/1/50 te-1/1/51 te-1/1/52 | xe-1/1/49.1 | xe-1/1/49.1 xe-1/1/49.2 xe-1/1/49.3 xe-1/1/49.4
|
qe-1/1/50 | te-1/1/53 te-1/1/54 te-1/1/55 te-1/1/56 | xe-1/1/50.1 | xe-1/1/50.1 xe-1/1/50.2 xe-1/1/50.3 xe-1/1/50.4
|
he-1/1/49 | te-1/1/49 te-1/1/50 te-1/1/51 te-1/1/52 | xe-1/1/49.1 | xe-1/1/49.1 xe-1/1/49.2 xe-1/1/49.3 xe-1/1/49.4
|
he-1/1/50 | te-1/1/53 te-1/1/54 te-1/1/55 te-1/1/56 | xe-1/1/50.1 | xe-1/1/50.1 xe-1/1/50.2 xe-1/1/50.3 xe-1/1/50.4
|
Example
- Configure the port mode to SFP to breakout all the 40GE and 100GE ports.
admin@XorPlus# set interface qe-interface-mode SFP admin@XorPlus# commit Commit OK. Save done. Qe interface mode has been changed, please reboot the system for changes to take effect! Make sure to delete all the configurations associated with the unavailable interfaces, otherwise loading startup configuratation will fail. admin@XorPlus# exit admin@XorPlus> quit admin@XorPlus:~$ sudo /etc/init.d/picos restart Stopping: L2/L3.............. Starting: L2/L3.................... .............. admin@XorPlus:~$ admin@XorPlus:~$ cli Synchronizing configuration...OK. Pica8 PicOS Version 2.11.9 coWelcome to PicOS on XorPlus admin@XorPlus> co Entering configuration mode. There are no other users in configuration mode. admin@XorPlus# run show interface qe-interface-mode qe-interface-mode:SFP
- Change port mode to FLEX from QSFP mode.
admin@XorPlus# run show interface qe-interface-mode qe-interface-mode:QSFP admin@XorPlus# set interface qe-interface-mode FLEX admin@XorPlus# admin@XorPlus# commit Commit OK. Save done. Qe interface mode has been changed, please reboot the system for changes to take effect! Make sure to delete all the configurations associated with the unavailable interfaces, otherwise loading startup configuratation will fail. admin@XorPlus# exit admin@XorPlus> quit admin@XorPlus:~$ sudo /etc/init.d/picos restart Stopping: L2/L3.............. Starting: L2/L3.................... .............. admin@XorPlus:~$ admin@XorPlus:~$ cli Synchronizing configuration...OK. Pica8 PicOS Version 2.11.9 coWelcome to PicOS on XorPlus admin@XorPlus> co Entering configuration mode. There are no other users in configuration mode. admin@XorPlus# run show interface qe-interface-mode qe-interface-mode:FLEX