Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


For PTX10003-80C, PTX10003-160C router:

To configure the number of optical channels for a particular port if the optics are used in a channelized mode. You can use this configuration option to configure a speed (10, 40, and 100 Gbps) in different number of channels based on the optics used. The default value of number-of-sub-ports per optics is 1. Following are the configurable values for the corresponding optic types:

Optic Type

QSFP56-DD-400GBASE-LR8 (400G)

QSFP DD 28F (200G)

QSFP 28 (100G)

QSFP+ (40G)

QSFP 28 (25G)

QSFP 28 DD(25G)


















You are not required to set any value for number-of-sub-ports while configuring 40G or 400G, as the default value for number-of-sub-ports is 1.

For MPC10E-15C-MRATE supported on MX240, MX480, MX960 routers:

To configure the number of sub-channels for a particular port if the optics are used in a channelized mode.

(Channelized mode) To specify the number of IFDs (or interfaces) that need to be created on a physical port for a specified speed, use the number-of-sub-ports <number-of-sub-ports> configuration statement. For example, on a given port that supports 4x10GE mode, if the number-of-sub-ports to 2, then two IFDs are created, namely et-x/y/z:0 and et-x/y/z:1.

The default value of channelized 10-Gigabit Ethernet interface is 4. The number of sub-ports that can be configured are, 1, 2, 3, or 4. You must set the number-of-sub-portsto 4, to channelize 40-Gigabit Ethernet interface to four 10-Gigabit Ethernet interfaces.

The number-of-sub-ports configuration statement can be used with rate selectability configuration at both PIC level and port level. This configuration statement is effective only when the port speed is 10 Gbps.


You can configure the number-of-sub-ports only for 10-Gbps speed. For other speeds, this configuration is not supported.

(MPC11E) To specify the number of interfaces to be created on a physical port.

(JNP10K-LC1201 and JNP10K-LC1202) Specifies the number of channelized interfaces that you can configure on a physical port with the specified speed. The edit chassis hierarchy is available for 20.2R1 Release on PTX10001-36MR. From 20.3R1 onwards you must use only the edit interfaceinterface-name hierarchy.


number-of-sub-ports number-of-subports

Specify the number of sub-ports per physical port. For PTX10003-80C and PTX10003-160C routers, the values are 1, 2, and 4. On MPC10E-15C-MRATE line card, the values are 1, 2, 3, and 4. On JNP10K-LC1201, the values are 0 through 7. On JNP10K-LC1202, the values are 1through 8.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 19.1R1.

Interface hierarchy introduced in Junos OS Evolved Release 20.1R2 for JNP10K-LC1201 line cards on PTX10008 routers.