The keychain provides authentication for application-layer protocols. A keychain only takes effect after it is applied to applications. Based on processing procedures, the keychain can be applied to non-TCP applications and TCP applications.
A non-TCP application sends packets using the keychain in the procedures as shown in Figure 1.
A non-TCP application receives packets using the keychain in the procedures as shown in Figure 2.
IS-IS uses the keychain authentication and the packet does not carry the key ID. When the receive end receives the IS-IS packet carrying authentication information, the device will check all the active receive keys to find a receive key which has the same algorithm for verification.