Description

When using vlan interface on OSPF to form an adjacency, session is not getting established.

Symptoms

On Juniper Networks EX4650, when using vlan interface for OSPF it does not show any neighbors.

 

{master:0}[edit]

user@switch# show protocols ospf

area 0.0.0.0 {

  interface vlan.2;

}

 

{master:0}

user@switch> show ospf neighbor

 

Solution

EX4650 switches uses ELS configuration for VLAN interfaces. We should use IRB instead of vlan.interfaces.

 

{master:0}[edit]

user@switch# delete protocols ospf area 0 interface vlan.2

 

{master:0}[edit]

user@switch# set protocols ospf area 0 interface irb.2

 

OSPF should get full after using the correct configuration:

 

{master:0}

user@switch> show ospf neighbor

Address     Interface       State      ID        Pri Dead

192.168.0.1   irb.2         Full      10.85.241.9   128  32

Modification History

2023-10-14

Related Information

You can check further information for OSPF on the techlibrary: https://www.juniper.net/documentation/us/en/software/junos/ospf/topics/topic-map/ospf-overview.html