juniper SRX 保存文档报错如下:

   

[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


解决办法:

    在配置三层接口的时候,要先删除二层接口:

    edit interfaces ge-0/0/0 unit 0

    delete family ethernet-switching 


    再去:commit