Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

This article describes the commands that you can use to view and configure expandable port settings. To perform the same functions using your switch’s web browser-based user interface, see How do I view and configure expandable port settings for my APM402XL port card on my M4300-96x switch using the web interface?.

By default, the 40G ports on the APM402XL port card (that is, port 1 and port 5) are active, which means that they are in the attached state, can be detected, and you can use them. The expandable 10G ports on the APM402XL port card (that is, ports 2–4 on the first 40G port and ports 6–8 on the second 40G port) are nonactive, which means that they are in the detached state and you cannot use them.

In the following example, the output of the show port all command for the APM402XL port card displays the following:

  • The first 40G port is configured as four expendable 10G ports with port numbers 1/1/1 to 1/1/4, the ports are in the active state, and the link status for each port is up.
  • The second 40G port is in its default configuration, the 40G port number is 1/1/5, the port is in the active state, and the link status is down. The expandable 10G ports 1/1/6 to 1/1/8 are in the nonactive state, which means that they are in the detached state and you cannot use them.

 

(Netgear Switch) #show port all

                  Admin     Physical  Physical   Link    Link   LACP    Flow

Intf      Type    Mode      Mode      Status     Status  Trap   Mode    Mode

--------- ------ --------- ---------- ---------- ------ ------- ------ -------

1/1/1            Enable    10G Full   10G Full   Up     Enable  Enable Disable

1/1/2            Enable    10G Full   10G Full   Up     Enable  Enable Disable

1/1/3            Enable    10G Full   10G Full   Up     Enable  Enable Disable

1/1/4            Enable    10G Full   10G Full   Up     Enable  Enable Disable

1/1/5            Enable    40G Full   10G Full   Down   Enable  Enable Disable

1/1/6            Enable    10G Full   10G Full   Detach Enable  Enable Disable

1/1/7            Enable    10G Full   10G Full   Detach Enable  Enable Disable

1/1/8            Enable    10G Full   10G Full   Detach Enable  Enable Disable


 

hardware profile portmode

This command configures a 40G QSFP port on the APM402XL port card either in the 4x10G or mode or the 1x40G mode.

You can execute this command only on interfaces that support the expandable port feature. Entering the command on any other type of interface yields an error.

The configuration that you make to a 40G port or to an expanded 40G port (four 10G ports) is retained whether the port status is attached or detached. However, a configuration change is applied only when the port is in the attached state.

For example, if you change the configuration on the four 10G ports with port numbers 5 to 8 and then return the port to a single 40G port with port number 5, the configuration for ports 5 to 8 is retained in the running configuration but is not applied. The configuration is applied only after you expand port 5 again to four 10G ports with port numbers 5 to 8. Similarly, when you change the configuration in 40G mode, the configuration is retained in the running configuration, but is applied only when the port is functioning in 40G mode.

The possible values for the mode argument are the following:

  • 1x40G. Configures the port as a single 40G port.
  • 4x10G. Configures the port as four 10G ports.

This command cannot operate in the interface range mode.

Default

The default mode of QSFP port is 1x40G

Format

hardware profile portmode mode

Mode

Interface Config

 

no hardware profile portmode

This command sets the ports on the APM402XL port card to their default mode, that is, to the 1x40G mode.

Format

no hardware profile portmode

Mode

Interface Config

 

show interfaces hardware profile

This command displays the hardware profile information for the ports that support the expandable port feature. The command displays the 40G ports and the corresponding 10G ports.

As an option, you can specify an interface.

Format

show interfaces hardware profile [interface]

Mode

Privileged EXEC

Last Updated:07/07/2025 | Article ID: 000059513

Our team is here to help!

Phone
Chat
Email