Description

When any-service is used in conjunction with other system service options, it will fail a commit. 

 

Symptoms

set security zones security-zone TEST host-inbound-traffic system-services webapi-ssl

set security zones security-zone TEST host-inbound-traffic system-services any-service


root@vSRX# commit check  

[edit security zones security-zone TEST host-inbound-traffic system-services]

 'webapi-ssl'

  If `any-service` is set other services are disallowed

error: configuration check-out failed: (statements constraint check failed)

Solution

This is expected behavior. When any-service and other services are configured simultaneously, Junos will report this error.

Modification History

2023-05-18: initial draft
2023-05-19: Checked for accuracy, changed the hostname of the device to a generic one.