OSPFv2 Auto-peering Feature
After running the command create auto-peering
, the default OSPF configuration
that is needed for auto-peering is created, and the AutoOSPFv2 capability is advertised
out all ports using LLDP
. The default configuration
includes the routerid, and vxlan-extensions and export of host-mobility routes. The
following series of events occurs, setting up auto-peering:
- When an OSPFv2
Auto-peering–capable neighbor is detected out a port, LLDP messages are
- LLDP-learned port is assigned to
a new dynamically created VLAN, as an unnumbered interface.
- LLDP learns of the OSPFv2 router
- LLDP sends the AutoOSPFv2
information to the remote neighbor and learns the remote neighbor's
- An Auto-peering route is created
to the learned remote router ID.
- When OSPF learns of the
auto-peering dynamic VLAN, it automatically enables a point-to-point link on
that VLAN and places it in the backbone area.
- The OSPF Auto-peering network is
formed. OSPFv2 routes are propagated. The nexthop of the routes is the
neighbor‘s router ID. The routes have the loose next hop flag set so the gateway
can be resolved by the auto-peering route.
- When OSPF Auto-peering is
enabled, the OSPFv2 capability to carry VXLAN information is automatically
enabled on each OSPFv2 peer.
- VNI/LTEP pairs are passed to the
OSPFv2 client which generates OSPFv2-opaque advertisements to any peers.
- When an OSPFv2-opaque LSA is
received containing a VNI/LTEP pair, the OSPFv2 client passes this to the client