Junos | OSPF设定方法,常见问题及解决

设定方法(用到routing-instance时)

在两侧机器写入如下设定

set interfaces ge-0/0/0 unit 3303 vlan-id 3303
set interfaces ge-0/0/0 unit 3303 family inet address [xx.xx.xx.xx/xx]

set routing-instances [instance名] instance-type virtual-router
set routing-instances [instance名] interface ge-0/0/0.3303
set routing-instances [instance名] routing-options router-id [xx.xx.xx.xx]
set routing-instances [instance名] protocols ospf area 0.0.0.2 interface ge-0/0/0.3303
两侧机器的状态是Exstart/Exchange时

检查两侧子网掩码,MTU是否一致
MTU的设定方法

set interfaces xe-0/0/0 unit 3304 family inet mtu 1500
单侧机器init,单侧机器无neighbor时

(常见于其他机器-SRX之间?)
在SRX侧写如下设定

set security zones security-zone [zone的名字] interface fe-0/0/0.3304 host-inbound-traffic protocols ospf

↑答案出处

你可能感兴趣的:(Junos | OSPF设定方法,常见问题及解决)