A method performed by a link-state information process executing on a network device to maintain link-state information in a manner that reduces a performance impact on an interior gateway protocol (IGP) process and an exterior gateway protocol (EGP) process executing on the network device, the method comprising:
- obtaining a first protocol data unit of a first IGP from a first IGP process;
- updating a protocol-independent link-state database based on information included in the first protocol data unit;
- determining a first link-state information update to provide to the EGP process based on information included in the protocol-independent link-state database;
- encoding the first link-state information update in an EGP format to generate a first encoded link-state information update;
- and
- providing the first encoded link-state information update to the EGP process.