When ethernet-switching family is configured on an interface
The error in saving the document by juniper SRX is as follows:
[edit interfaces ge-0/0/1 unit 0]
'family'
When ethernet-switching family is configured on an interface, no other family type can be configured on the same interface.
Error: configuration check-out failed
Solution:
When configuring layer 3 interfaces, delete layer 2 interfaces first:
Edit interfaces ge-0/0/0 unit 0
Delete family ethernet-switching
Go again: commit