JunOS:必须已定义接口提交错误
时间:2020-02-23 14:44:16 来源:igfitidea点击:
Interface must already be defined
尝试在JunOS上的VLan中添加第3层路由接口(l3接口)时遇到此错误?
root@EX4200# set vlans v1000 l3-interface vlan.1000 root@EX4200# commit comment "add l3-iface to vlan 1000" [edit vlans v1000 l3-interface] 'l3-interface vlan.1000' Interface must already be defined under [edit interfaces] error: commit failed: (statements constraint check failed) [edit] root@EX4200#
这意味着该VLan上没有设置IP子网,例如:
set interfaces vlan unit 1000 family inet address 0.0.0.0/00