# max-interfaces

#### Syntax

For Tunnel Server Configuration mode:

max-interfaces { maxInterfacesValue | all-available }

no max-interfaces

For IPSec Tunnel Profile Configuration mode:

max-interfaces maxInterfacesValue

no max-interfaces

#### Release Information

Command introduced before JunosE Release 7.1.0.
IPSec Tunnel Profile Configuration mode added in JunosE Release 7.3.0.

#### Description

For Tunnel Server Configuration mode, provisions the maximum number of tunnel-service interfaces to be used on a tunnel-server port. The default version restores the default configuration. On dedicated tunnel-server ports, the default configuration is all-available (the maximum number of tunnel-service interfaces that the tunnel-service module supports). On shared tunnel-server ports, the default configuration is zero tunnel-service interfaces provisioned. The no version unprovisions the tunnel-server port by reducing the number of provisioned tunnel-service interfaces to zero.

For IPSec Tunnel Profile Configuration mode, defines the maximum number of interfaces that the IPSec tunnel profile can instantiate. The no version returns the maximum value to zero (0) to indicate no limit to the number of interfaces that can be instantiated on this profile.

#### Options

- maxInterfacesValue—For Tunnel Server configuration, the maximum number of tunnel-service interfaces that can be provisioned on a tunnel-server port in the range 0–16000; For IPSec Tunnel Profile configuration, the maximum number of interfaces that the IPSec tunnel profile can instantiate in the range 0–32767
- all-available—Specifies that the maximum number of tunnel-service interfaces that can be provisioned on a tunnel-server port matches the maximum number supported by the tunnel-server module

#### Mode

IPSec Tunnel Profile Configuration, Tunnel Server Configuration