Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


device-count (Pseudowire Subscriber Interfaces)


Hierarchy Level


Configure the number of pseudowire logical devices available to the router. The statement also defines the available interface names for the pseudowire interfaces.


When you subsequently configure the pseudowire interfaces, you must specify the interface names in the range from ps0 up to ps(device-count - 1). For example, if you set the maximum number of devices to 5, then you can only configure interfaces ps0, ps1, ps2, ps3, and ps4. If you specify an interface name outside that range, the pseudowire interface is not created.



Number of devices.

  • Range: 1 through 7000, 1 through 18000 for MX2010 and MX2020 routers with the MX2K-MPC9E or MX2K-MPC11E line card

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 13.1.

Increased upper limit in Junos OS Release 20.4R1.