Type 6 password encryption is commonly used to secure routing protocol sessions, such as BGP, by ensuring that authentication keys remain confidential. While this example focuses on BGP between routers R1 and R2, the process also applies to OSPF, IS-IS, and other protocols.
Summary
The key components involved in the process are:
-
Type 6 server: Creates and manages the primary key used for encrypting client key strings.
-
Type 6 client: Utilizes the primary key to protect authentication key strings in key chains.
-
Routing protocol: Uses the configured key chain to authenticate sessions between routers.
Type 6 password encryption provides enhanced session security by encrypting authentication keys used in routing protocol sessions.
For MACsec authentication, refer to the Secure MACsec encryption chapter in the MACsec Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases.
Workflow
The process describes how Type 6 password encryption works.
-
Create the primary key and enable Type 6 password encryption on both routers. The primary key is stored internally and is not displayed in the running configuration.
-
Configure a key chain as a Type 6 client and assign the encrypted key string, cryptographic algorithm, and key lifetimes.
-
Create the BGP session on both routers with the same key-chain name, then verify that the BGP neighbor state is Established.
Result
The process protects protocol-session key strings with Type 6 encryption and enables routers to authenticate the BGP session securely. This improves session confidentiality and applies to other protocol types as well.