OSPFv2 Auto-peering Feature Description

After running the command create auto-peering ospf routerid ipaddress, 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:
  1. When an OSPFv2 Auto-peering–capable neighbor is detected out a port, LLDP messages are sent.
  2. LLDP-learned port is assigned to a new dynamically created VLAN, as an unnumbered interface.
  3. LLDP learns of the OSPFv2 router ID.
  4. LLDP sends the AutoOSPFv2 information to the remote neighbor and learns the remote neighbor's information.
  5. An Auto-peering route is created to the learned remote router ID.
  6. 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.
  7. 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.
  8. When OSPF Auto-peering is enabled, the OSPFv2 capability to carry VXLAN information is automatically enabled on each OSPFv2 peer.
  9. VNI/LTEP pairs are passed to the OSPFv2 client which generates OSPFv2-opaque advertisements to any peers.
  10. When an OSPFv2-opaque LSA is received containing a VNI/LTEP pair, the OSPFv2 client passes this to the client interface.