Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

In this document, flexible port speed configuration in OVS mode for various switches is described. There are four port speed modes, Normal, Half, Max, and Flexible. The details of these port modes and its effect on port configuration is different for different platforms and explained below. Its important to note that not all of the switches support all the four modes as some switches do not support the half mode. For a quick reference of supported modes, please refer to Table 1.

Table 1: Port mode support for various platforms

Platform

Feature
P-5401P-5101AS6701_32X  P-3922  P-3920   AS5712_54X   Niagara 2632XL AS7712_32XDCS7032Q28
Normal 

 Half 
Max 

 
Flexible

 

In OVS mode the P-5401 switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: All 32 ports operate in 40G QSFP mode.
  2. Half: Ports from 1-8 and 17-24 operate in 4*10G, ports 9-16 and 25-32 operate in 40G.
  3. Max : Ports from 1-12 and 17-28 operate in 4*10G, ports from 13-16 and 29-32 operate in 40G.
  4. Flexible: Ports from 1-12 and 17-28 support  4*10G configuration, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the P-5101 switch ports can be configured to one of the following settings. By default, it is in normal mode.  

  1. Normal : Ports from 1-40 operate in 10G, ports 41-48 operate in 40G.
  2. Max : Ports from 1-40 operate in 10G, ports 41-48 operate in 4*10G.
  3. Flexible: Ports from 41-48 support 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the AS6701_32X switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: All 32 ports operate in 40G.
  2. Max: Ports from 5-16 and 21-32 operate in 4*10G, ports 1-4 and 17-20 operate in 40G.
  3. Flexible: Ports from 5-16 and 21-32 supports 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the P-3922 switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: Ports from 1-48 operate in 10G, ports 48-52 operate in 40G.
  2. Max: Ports from 1-48 operate in 10G, ports 48-52 operate in 4*10G.
  3. Flexible: Ports from 48-52 support 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode, P-3920 ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: Ports from 1-48 operate in 10G, ports 48-52 operate in 40G.
  2. Max: Ports from 1-48 operate in 10G, ports 48-52 operate in 4*10G.
  3. Flexible: Ports from 48-52 support 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the AS5712_54X switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: Ports from 1-48 operate in 10G, ports 48-54 operate in 40G.
  2. Max: Ports from 1-48 operate in 10G, ports 48-54 operate in 4*10G.
  3. Flexible: Ports from 48-54 support 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the Niagara 2632XL switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: All 32 ports operate in 40G QSFP mode.
  2. Half: Ports from 1-8,17-24 operate in 4*10G, ports 9-16 and 25-32 operate in 40G.
  3. Max: Ports from 1-12 and 17-28 operate in 4*10G, ports 13-16 and 29-32 operate in 40G.
  4. Flexible: Ports from 1-12 and 17-28 support 4*10G, user can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

In OVS mode the AS7712_32X and DCS7032Q28  switch ports can be configured to one of the following settings. By default, it is in normal mode.

  1. Normal: All 32 ports operate in 100G QSFP mode.
  2. Max: All 32 ports operate in 4*10G or 4*25G. When user plugs in a 40G transceiver module into the switch, the 100G port is reduced to 40G and can then be split into 4*10G ports. If user plugs in a 100G module into the switch, the total port speed remains 100G and can be split it into 4*25G. User can also configure a 100G port to 40G and then split it as 4*10G ports. This 100G to 40G downgrade is sometimes necessary if user wants connectivity between another device that does not support 100G port speed.
  3. Flexible: All ports support 100G, 40G, 4*10G and 4*25G configurations. The default port speed is 100G, but if user plugs in a 40G transceiver module or manually set the link speed to 40G, the port will then operate in 40G mode. In 40G, user can split the port in 4*10G ports. In case of 100G, the port can be split into 4*25G ports. User can use the command "ovs-vsctl set-port-breakout 1 true" to configure a breakout port. User must restart the switch for this configuration to take effect. Ports other than the mentioned ports can not be breakout and must operate in 40G. After applying the breakout command and restarting the switch, the names of all the ports that are set as flexible ports, changes to  "xe-1/1/...". For example ge-1/1/1 will become xe-1/1/1 indicating this is a breakout port.

Note:

P-5101, AS6701_32X, P-3922, P-3920, AS7712_32X and DCS7032Q28 do not support the half mode.

PORT SFP

Since PicOS version 2.7.2, the 40G and 100G ports support flexible mode. This gives the user flexibility in choosing which ports to breakout compared to Half or Max modes where once the Half or Max mode is selected, the respective ports are put into breakout mode. User can use the command "ovs-vsctl set-qe-port-mode flexible" if user wants to set some ports in flexible mode. After the restarting the switch, not all QSFP ports are put into flexible mode. User can check all the valid ports by "ovs-vsctl show-valid-port all" or "ovs-vsctl show-valid-port 1". If user does not want to use the default port name, user can rename the port by "ovs-vsctl set-port-name 1 1=fn1.1" "ovs-vsctl set-port-name 1 2=fn1.2". User can restore the default port name by "ovs-vsctl set-port-name 1 default" or "ovs-vsctl set-port-name all default". Users can set breakout true or false for each QSFP port by a new command "ovs-vsctl set-port-breakout 49 true". Don't forget to restart the switch after setting all the configurations.

Commands

Set port mode to flexible:

admin@PicOS-OVS$ovs-vsctl set-qe-port-mode flexible
  Please reboot for the change to take effect!

Port breakout command:

#ovs-vsctl set-port-breakout 49 true
#ovs-vsctl set-port-breakout 49 false

If the command is successful user will see the following message:

Please reboot for the change to take effect!

If failed, then:

 The device does not support this command!

Note: Parameter “49” is the physical port number.

 

Set port name command:

ovs-vsctl set-port-name 49 1=fn49.1
ovs-vsctl set-port-name 49 2=fn49.2

Note

Parameter “1” or “49” is the physical port number.

     Parameter “1=xxx”/”2=xxx”/”3=xxx”/”4=xxx” is the sub port numbers.

If successful:

  Please reboot for the change to take effect!

If failed:

  The device does not support this command!


Show valid port command:

#ovs-vsctl show-valid-port all
#ovs-vsctl show-valid-port 49

note

Parameter “all” will display all valid ports, including ifindex, ifname, breakout

Parameter “49” is the physical port umber.

Restore default configuration command:

Ovs-vsctl  set-port-name all default
Ovs-vsctl  set-port-name 49 default
ovs-vsctl set-port-name 50 1=default

If success:

Please reboot for the change to take effect!

 

  • No labels