Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »


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.

  • QSFP: In this mode, all the ports are not split.
  • SFP: In this mode, all 40GE and 100GE ports are split. The 40GE interfaces are split into 4 x 10GE sub-interfaces, and the 100GE interfaces are split into 4 x 25GE sub-interfaces.
  • FLEX: Flexible mode. In this mode, user can split part of the 40GE or 100GE interfaces as required. After switching to this mode, you can use the set interface gigabit-ethernet <port-name> breakout <10g-4x |25g-4x|donot> command to split the 40GE and 100GE ports as required. The 40GE interfaces can be split into 4 x 10GE sub-interfaces, and the 100GE interfaces can be split into 4 x 25GE or 4 x 10GE sub-interfaces.

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:

  •   After changing the mode, you need to restart or reboot the system to make it take effect.
  •   When switching SFP mode to QSFP mode, before restarting the system, you need to manually delete the configurations of the unavailable interfaces in the new mode, to make sure that the configuration file can be loaded normally when the system boots up.

 

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


  • No labels