JunOS:接口的不同单元上不能具有相同的本地地址
时间:2020-02-23 14:44:13 来源:igfitidea点击:
在将子网分配给Juniper设备上的L3接口VLAN后,执行提交操作时出现此错误?
user@EX4200# set interfaces vlan unit 100 family inet address 1.1.1.1/8 user@EX4200# commit synchronize comment "add subnet to vlan 100"; [edit protocols] ‘bgp’ [edit protocols] ‘ospf3’ [edit interfaces vlan unit 100 family inet] ‘address 1.1.1.1/8’ Cannot have the same local address on different units of an interface error: configuration check-out failed {master:0}[edit]
让我们看看我们可能已经使用子网1.1.1.1/8进行了配置:
user@EX4200# show | match 1.1.1.1 | display set set interfaces vlan unit 10 family inet address 1.1.1.1/8 set interfaces vlan unit 100 family inet address 1.1.1.1/8
好吧,我们清楚地看到子网1.1.1.1/8已经分配给vlan10。
您需要从错误的vlan中删除分配该子网的语句,然后再次提交:
delete interface vlan unit 10 family inet address 1.1.1.1/8
然后提交更改:
commit synchronize comment "move subnet 1.1.1.1/8 from vlan 10 to 100"