FLEXport

Note

This command belongs to the shell mode for newer (logical-table) switch chips and is not available on Trident 3.

Flexport

Shortest form: flex.

Built-in help

Usage: FLEXport PM<id>[=<pm_mode>[:<port_numbers>]] [Traffic]
Parameters:
  PM<id>           - Port Macro to be flexed.
  <pm_mode>        - Port Macro mode:
                     Single Mode:
                       1x400G | 2x200G | 2x100G | 2x40G
                     Dual Mode:
                       4x100G | 4x50G | 4x40G
                     Quad Mode
                       8x50G | 8x25G | 8x10G
                     Clear ports on a Port Macro:
                       None
  [<port_numbers>] - New port numbers on a specific Port Macro.
                     If no port_number configured, new port numbers will
                     be picked from un-used ports.
  [Traffic]        - Perform traffic test on sepcific Port Macro(s)
                     after they are flexed.
Note: All the other modes not listed above are not
      supported on BCM Shell, even they may be
      supported via API configuration.

Example: flexport pm0=2x200G pm1=4x100G
Example: flexport pm0=none pm2=8x50g
Example: flexport pm0=4x100G:5-8
Example: flexport pm0=2x40G:1,5
Flex Port Macro(s) into a specific mode.
Remove all ports in a Port Macro if the <pm_mode> is configured as None.
If only PM<id> is specified, characteristics for that Port Macro is displayed.
Example: flexport pm0=2x200G pm1=4x100G traffic
         Flex specific Port Macro(s) into a specific mode and perform traffic test.
Example: flexport pm0 pm1 traffic
         Flex specific Port Macro(s) into all allowed modes and perform traffic test.
Example: flexport traffic
         Flex all Port Macro(s) into all allowed modes and perform traffic test.