BGP keychains
A BGP keychain is a security mechanism that
-
enables keychain authentication between two BGP peers based on standardized protocols
-
allows hitless key rollover for authentication using time-based specifications, and
-
provides a configurable tolerance window to handle clock skew between endpoints for seamless operation.
Keychain interoperability and behavior
Both BGP endpoints must comply with the draft-bonica-tcp-auth-05.txt standard for keychain authentication to function. A keychain on one endpoint and a password on the other will not work. The configurable tolerance window extends the accept period to allow for clock differences and maintains hitless key rollover for applications such as routing and management protocols.
If there is a keychain configuration mismatch at the endpoints resulting in no common keys, BGP session traffic (send or accept) may be interrupted. Otherwise, the key rollover does not disrupt the BGP session.
Configure keychains for BGP
Configure BGP keychains to secure authentication for BGP sessions using MAC authentication algorithms and enable graceful key rollover.
BGP keychains enhance the security of BGP routing by providing flexible authentication options and key management. This is especially useful in environments where multiple neighbors or session groups need secure, easily managed authentication.
Before you begin
-
Ensure you have a defined keychain with the necessary keys and authentication parameters.
-
Identify the autonomous system (AS) numbers for your router and remote neighbors.
Procedure
|
Enter BGP configuration mode, and configure keychain-based authentication for the neighbor. Example:
|
Feedback