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

Version 1 Next »

This command is to change the qe-interface-mode. After changing the mode with this command, user should reboot the system to make it work.

Command Syntax
set interface qe-interface-mode  <QSFP | SFP | FLEX>

delete interface qe-interface-mode

Parameter

  • 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

SFPFLEX From QSFPFLEX From SFP
te-1/1/1te-1/1/1xe-1/1/1xe-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 
    • MAKE SURE to delete all the configurations associated to the unavailable interfaces, Otherwise loading startup configure will fail and then the system will load the default configuration file.
    • There isn't command to come back QSPF or SFP mode in FLEX mode. The Only method is to remove /pica/config/pica_startup.boot and /pica/config/pica.conf files and then reboot system. Please Must make your configuration copy before removing /pica/config/pica_startup.boot. The default configuration file will be loaded after pica_startup.boot is removed and restarting system.

 

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.

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.

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 /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 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.

admin@XorPlus$rm /pica/config/pica_startup.boot
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:QSFP

 

 

 

 

  • No labels