M_PORTCOUNT#

code: 80

# get
<module-index> M_PORTCOUNT ?

Description#

Gets the maximum number of ports on a module.

Note

For a CFP-type module this number refers to the maximum number of ports possible on the module regardless of the media configuration. So if a CFP-type module can be set in for instance either 1x100G mode or 8x10G mode then this command will always return 8. If you want the current number of ports for a CFP-type module you need to read the M_CFPCONFIG command which returns the number of current ports.

Actions#

get

Parameters#

  1. port_count: integer, the maximum number of ports on the test module

Example#

# get
input:  0 M_PORTCOUNT ?
output: 0 M_PORTCOUNT 1