...
This command is to change the The set interface qe-interface-mode . After changing the mode with this command, user should reboot the system to make it workcommand configures the port mode.
Command Syntax
set interface qe-interface-mode
...
<SFP |
...
QSFP |
...
FLEX>
Parameter
...
Parameter | Description |
- QSFP -- QSFP mode. The default is this mode.
- SFP -- 10G*4/25G*4 breakout mode. All 40G/100G are broken to 10G*4/25G*4 ports.
- FLEX -- Enable flexible mode. In this mode, to break some 40G/100G ports as required, but not all 40G/100G ports.
At the same time, all interface names will change to xe-1/1/? or xe-1/1/?.1 if changing mode from QSFP to FLEX; all interface names will change to xe-1/1/? or xe-1/1/?.1, xe-1/1/?.2, xe-1/1/?.3, xe-1/1/?.4 if changing mode from SFP to FLEX.
The following table is an example changing from QSFP to FLEX mode and from SFP to FLEX mode:
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 |
He-1/1/1 | te-1/1/1 te-1/1/2 te-1/1/3 te-1/1/4 | xe-1/1/1.1 | xe-1/1/1.1 xe-1/1/1.2 xe-1/1/1.3 xe-1/1/1.4 |
ge-1/1/1 | xe-1/1/1 |
Note |
---|
|
Example
This example enables SFP mode in QSFP mode. In the QSPF mode,as below, te-1/1/1 ~ te-1/1/48 are 10G ports. qe-1/1/49 ~ qe-1/1/54 are 40G ports. In the SFP mode, te-1/1/49 ~ te-1/1/52 are 10G *4 ports after 40G qe-1/1/49 breakout.
Code Block |
---|
admin@XorPlus# run show interface qe-interface-mode
qe-interface-mode:QSFP
admin@XorPlus# run show interface brief
Interface Management Status Flow Control Duplex Speed Description
---------- ---------- ------ ------------ ------ ------- ------------------------------
te-1/1/1 Enabled Down Disabled Full Auto
te-1/1/2 Enabled Up Disabled Full 100Mb/s
te-1/1/3 Enabled Up Disabled Full 100Mb/s
te-1/1/4 Enabled Down Disabled Full Auto
te-1/1/5 Enabled Down Disabled Full Auto
te-1/1/6 Enabled Down Disabled Full Auto
te-1/1/7 Enabled Down Disabled Full Auto
te-1/1/8 Enabled Down Disabled Full Auto
te-1/1/9 Enabled Down Disabled Full Auto
te-1/1/10 Enabled Down Disabled Full Auto
te-1/1/11 Enabled Down Disabled Full Auto
te-1/1/12 Enabled Down Disabled Full Auto
te-1/1/13 Enabled Down Disabled Full Auto
te-1/1/14 Enabled Down Disabled Full Auto
te-1/1/15 Enabled Down Disabled Full Auto
te-1/1/16 Enabled Down Disabled Full Auto
te-1/1/17 Enabled Down Disabled Full Auto
te-1/1/18 Enabled Down Disabled Full Auto
te-1/1/19 Enabled Down Disabled Full Auto
te-1/1/20 Enabled Down Disabled Full Auto
te-1/1/21 Enabled Down Disabled Full Auto
te-1/1/22 Enabled Down Disabled Full Auto
te-1/1/23 Enabled Down Disabled Full Auto
te-1/1/24 Enabled Down Disabled Full Auto
te-1/1/25 Enabled Down Disabled Full Auto
te-1/1/26 Enabled Down Disabled Full Auto
te-1/1/27 Enabled Down Disabled Full Auto
te-1/1/28 Enabled Down Disabled Full Auto
te-1/1/29 Enabled Down Disabled Full Auto
te-1/1/30 Enabled Down Disabled Full Auto
te-1/1/31 Enabled Down Disabled Full Auto
te-1/1/32 Enabled Down Disabled Full Auto
te-1/1/33 Enabled Down Disabled Full Auto
te-1/1/34 Enabled Down Disabled Full Auto
te-1/1/35 Enabled Down Disabled Full Auto
te-1/1/36 Enabled Down Disabled Full Auto
te-1/1/37 Enabled Down Disabled Full Auto
te-1/1/38 Enabled Down Disabled Full Auto
te-1/1/39 Enabled Down Disabled Full Auto
te-1/1/40 Enabled Down Disabled Full Auto
te-1/1/41 Enabled Down Disabled Full Auto
te-1/1/42 Enabled Down Disabled Full Auto
te-1/1/43 Enabled Down Disabled Full Auto
te-1/1/44 Enabled Down Disabled Full Auto
te-1/1/45 Enabled Up Disabled Full 100Mb/s
te-1/1/46 Enabled Down Disabled Full Auto
te-1/1/47 Enabled Down Disabled Full Auto
te-1/1/48 Enabled Down Disabled Full Auto
qe-1/1/49 Enabled Down Disabled Full Auto
qe-1/1/50 Enabled Down Disabled Full Auto
qe-1/1/51 Enabled Up Disabled Full 40Gb/s
qe-1/1/52 Enabled Up Disabled Full 40Gb/s
qe-1/1/53 Enabled Down Disabled Full Auto
qe-1/1/54 Enabled Down Disabled Full Auto
admin@XorPlus# set interface qe-interface-mode SFP
admin@XorPlus# commit
Merging the configuration.
Commit OK.
Save done.
Qe interface mode changes, please reboot system to make it effective!
MAKE SURE to delete all the configurations associated to the unavailable interfaces, Otherwise loading startup configure will FAIL.
admin@XorPlus#exitadmin@XorPlus> exit
admin@XorPlus$
admin@XorPlus$sudo /etc/init.d/picos restart
[ ok ] Stopping: PicOS L2/L3...................
[ ok ] Starting: PicOS L2/L3...............................................
admin@XorPlus$cli
Synchronizing configuration...OK.
Pica8 PicOS Version 2.8.0
Welcome to PicOS on XorPlus
admin@XorPlus> co
Entering configuration mode.
User admin is also in configuration mode.
admin@XorPlus#
admin@XorPlus# run show interface qe-interface-mode
qe-interface-mode:SFP
admin@XorPlus# run show interface brief
Interface Management Status Flow Control Duplex Speed Description
---------- ---------- ------ ------------ ------ ------- ------------------------------
te-1/1/1 Enabled Down Disabled Full Auto
te-1/1/2 Enabled Up Disabled Full 100Mb/s
te-1/1/3 Enabled Up Disabled Full 100Mb/s
te-1/1/4 Enabled Down Disabled Full Auto
te-1/1/5 Enabled Down Disabled Full Auto
te-1/1/6 Enabled Down Disabled Full Auto
te-1/1/7 Enabled Down Disabled Full Auto
te-1/1/8 Enabled Down Disabled Full Auto
te-1/1/9 Enabled Down Disabled Full Auto
te-1/1/10 Enabled Down Disabled Full Auto
te-1/1/11 Enabled Down Disabled Full Auto
te-1/1/12 Enabled Down Disabled Full Auto
te-1/1/13 Enabled Down Disabled Full Auto
te-1/1/14 Enabled Down Disabled Full Auto
te-1/1/15 Enabled Down Disabled Full Auto
te-1/1/16 Enabled Down Disabled Full Auto
te-1/1/17 Enabled Down Disabled Full Auto
te-1/1/18 Enabled Down Disabled Full Auto
te-1/1/19 Enabled Down Disabled Full Auto
te-1/1/20 Enabled Down Disabled Full Auto
te-1/1/21 Enabled Down Disabled Full Auto
te-1/1/22 Enabled Down Disabled Full Auto
te-1/1/23 Enabled Down Disabled Full Auto
te-1/1/24 Enabled Down Disabled Full Auto
te-1/1/25 Enabled Down Disabled Full Auto
te-1/1/26 Enabled Down Disabled Full Auto
te-1/1/27 Enabled Down Disabled Full Auto
te-1/1/28 Enabled Down Disabled Full Auto
te-1/1/29 Enabled Down Disabled Full Auto
te-1/1/30 Enabled Down Disabled Full Auto
te-1/1/31 Enabled Down Disabled Full Auto
te-1/1/32 Enabled Down Disabled Full Auto
te-1/1/33 Enabled Down Disabled Full Auto
te-1/1/34 Enabled Down Disabled Full Auto
te-1/1/35 Enabled Down Disabled Full Auto
te-1/1/36 Enabled Down Disabled Full Auto
te-1/1/37 Enabled Down Disabled Full Auto
te-1/1/38 Enabled Down Disabled Full Auto
te-1/1/39 Enabled Down Disabled Full Auto
te-1/1/40 Enabled Down Disabled Full Auto
te-1/1/41 Enabled Down Disabled Full Auto
te-1/1/42 Enabled Down Disabled Full Auto
te-1/1/43 Enabled Down Disabled Full Auto
te-1/1/44 Enabled Down Disabled Full Auto
te-1/1/45 Enabled Up Disabled Full 100Mb/s
te-1/1/46 Enabled Down Disabled Full Auto
te-1/1/47 Enabled Down Disabled Full Auto
te-1/1/48 Enabled Down Disabled Full Auto
te-1/1/49 Enabled Down Disabled Full Auto
te-1/1/50 Enabled Down Disabled Full Auto
te-1/1/51 Enabled Down Disabled Full Auto
te-1/1/52 Enabled Down Disabled Full Auto
te-1/1/53 Enabled Down Disabled Full Auto
te-1/1/54 Enabled Down Disabled Full Auto
te-1/1/55 Enabled Down Disabled Full Auto
te-1/1/56 Enabled Down Disabled Full Auto
te-1/1/57 Enabled Up Disabled Full 10Gb/s
te-1/1/58 Enabled Up Disabled Full 10Gb/s
te-1/1/59 Enabled Up Disabled Full 10Gb/s
te-1/1/60 Enabled Up Disabled Full 10Gb/s
te-1/1/61 Enabled Up Disabled Full 10Gb/s
te-1/1/62 Enabled Up Disabled Full 10Gb/s
te-1/1/63 Enabled Up Disabled Full 10Gb/s
te-1/1/64 Enabled Up Disabled Full 10Gb/s
te-1/1/65 Enabled Down Disabled Full Auto
te-1/1/66 Enabled Down Disabled Full Auto
te-1/1/67 Enabled Down Disabled Full Auto
te-1/1/68 Enabled Down Disabled Full Auto
te-1/1/69 Enabled Down Disabled Full Auto
te-1/1/70 Enabled Down Disabled Full Auto
te-1/1/71 Enabled Down Disabled Full Auto
te-1/1/72 Enabled Down Disabled Full Auto
|
The second example enables FLEX mode in SFP mode. As below, xe-1/1/1~xe-1/1/48 are 10G copper ports. xe-1/1/49.1~xe-1/1/49.4 are 10G*4 ports.
Code Block |
---|
admin@XorPlus# run show interface qe-interface-mode
qe-interface-mode:SFP
admin@XorPlus# set interface qe-interface-mode FLEX
admin@XorPlus# commit
Merging the configuration.
Commit OK.
Save done.
Qe interface mode changes, please reboot system to make it effective!
MAKE SURE to delete all the configurations associated to the unavailable interfaces, Otherwise loading startup configure will FAIL.
admin@XorPlus#exit
admin@XorPlus> exit
admin@XorPlus$
admin@XorPlus$sudo systemctl restart picos
admin@XorPlus$cli
Synchronizing configuration...OK.
Pica8 PicOS Version 2.8.0
Welcome to PicOS on XorPlus
admin@XorPlus> co
Entering configuration mode.
User admin is also in configuration mode.
admin@XorPlus#
admin@XorPlus# run show interface brief
Interface Management Status Flow Control Duplex Speed Description
---------- ---------- ------ ------------ ------ ------- ------------------------------
xe-1/1/1 Enabled Down Disabled Full Auto
xe-1/1/2 Enabled Up Disabled Full 100Mb/s
xe-1/1/3 Enabled Up Disabled Full 100Mb/s
xe-1/1/4 Enabled Down Disabled Full Auto
xe-1/1/5 Enabled Down Disabled Full Auto
xe-1/1/6 Enabled Down Disabled Full Auto
xe-1/1/7 Enabled Down Disabled Full Auto
xe-1/1/8 Enabled Down Disabled Full Auto
xe-1/1/9 Enabled Down Disabled Full Auto
xe-1/1/10 Enabled Down Disabled Full Auto
xe-1/1/11 Disabled Down Disabled Full Auto
xe-1/1/12 Enabled Down Disabled Full Auto
xe-1/1/13 Enabled Down Disabled Full Auto
xe-1/1/14 Enabled Down Disabled Full Auto
xe-1/1/15 Enabled Down Disabled Full Auto
xe-1/1/16 Enabled Down Disabled Full Auto
xe-1/1/17 Enabled Down Disabled Full Auto
xe-1/1/18 Enabled Down Disabled Full Auto
xe-1/1/19 Enabled Down Disabled Full Auto
xe-1/1/20 Enabled Down Disabled Full Auto
xe-1/1/21 Enabled Down Disabled Full Auto
xe-1/1/22 Enabled Down Disabled Full Auto
xe-1/1/23 Enabled Down Disabled Full Auto
xe-1/1/24 Enabled Down Disabled Full Auto
xe-1/1/25 Enabled Down Disabled Full Auto
xe-1/1/26 Enabled Down Disabled Full Auto
xe-1/1/27 Enabled Down Disabled Full Auto
xe-1/1/28 Enabled Down Disabled Full Auto
xe-1/1/29 Enabled Down Disabled Full Auto
xe-1/1/30 Enabled Down Disabled Full Auto
xe-1/1/31 Enabled Down Disabled Full Auto
xe-1/1/32 Enabled Down Disabled Full Auto
xe-1/1/33 Enabled Down Disabled Full Auto
xe-1/1/34 Enabled Down Disabled Full Auto
xe-1/1/35 Enabled Down Disabled Full Auto
xe-1/1/36 Enabled Down Disabled Full Auto
xe-1/1/37 Enabled Down Disabled Full Auto
xe-1/1/38 Enabled Down Disabled Full Auto
xe-1/1/39 Enabled Down Disabled Full Auto
xe-1/1/40 Enabled Down Disabled Full Auto
xe-1/1/41 Enabled Down Disabled Full Auto
xe-1/1/42 Enabled Down Disabled Full Auto
xe-1/1/43 Enabled Down Disabled Full Auto
xe-1/1/44 Enabled Down Disabled Full Auto
xe-1/1/45 Enabled Up Disabled Full 100Mb/s
xe-1/1/46 Enabled Down Disabled Full Auto
xe-1/1/47 Enabled Down Disabled Full Auto
xe-1/1/48 Enabled Down Disabled Full Auto
xe-1/1/49.1 Enabled Down Disabled Full Auto
xe-1/1/49.2 Enabled Down Disabled Full Auto
xe-1/1/49.3 Enabled Down Disabled Full Auto
xe-1/1/49.4 Enabled Down Disabled Full Auto
xe-1/1/50.1 Enabled Down Disabled Full Auto
xe-1/1/50.2 Enabled Down Disabled Full Auto
xe-1/1/50.3 Enabled Down Disabled Full Auto
xe-1/1/50.4 Enabled Down Disabled Full Auto
xe-1/1/51.1 Enabled Up Disabled Full 10Gb/s
xe-1/1/51.2 Enabled Up Disabled Full 10Gb/s
xe-1/1/51.3 Enabled Up Disabled Full 10Gb/s
xe-1/1/51.4 Enabled Up Disabled Full 10Gb/s
xe-1/1/52.1 Enabled Up Disabled Full 10Gb/s
xe-1/1/52.2 Enabled Up Disabled Full 10Gb/s
xe-1/1/52.3 Enabled Up Disabled Full 10Gb/s
xe-1/1/52.4 Enabled Up Disabled Full 10Gb/s
xe-1/1/53.1 Enabled Down Disabled Full Auto
xe-1/1/53.2 Enabled Down Disabled Full Auto
xe-1/1/53.3 Enabled Down Disabled Full Auto
xe-1/1/53.4 Enabled Down Disabled Full Auto
xe-1/1/54.1 Enabled Down Disabled Full Auto
xe-1/1/54.2 Enabled Down Disabled Full Auto
xe-1/1/54.3 Enabled Down Disabled Full Auto
xe-1/1/54.4 Enabled Down Disabled Full Auto |
The third example is how to come back QSPF/SFP mode.
<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.
Code Block |
---|
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 systemctl restart picos
..........................
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.
Code Block |
---|
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 systemctl restart picos .......................... admin@XorPlus:~$ admin@XorPlus:~$ cli Synchronizing configuration...OK. Pica8 PicOS Version 2.811.09 WelcomecoWelcome to PicOS on XorPlus admin@XorPlus> co Entering configuration mode. UserThere are adminno isother alsousers in configuration mode. admin@XorPlus# admin@XorPlus# run show interface qe-interface-mode qe-interface-mode:QSFP |
...
FLEX |