Secure network communication on a host-facing interface using MACsec encryption.
he MACsec PSK (keychain and user-defined policy) configuration is applied to a host-facing interface of a CE router. This establishes a secure connection.
Follow these steps to configure MACsec on an interface:
Before you begin
Ensure the interface is a host-facing interface on a CE router.
Procedure
|
1. |
Access interface configuration mode.
Example:
Router# configure
Router(config)# interface hundredGigE Hu0/1/0/10
|
|
2. |
Configure the IPv4 address for the interface.
Example:
Router(config-if)# ipv4 address 192.168.30.1 255.255.255.0
|
|
3. |
Apply the MACsec keychain and user-defined MACsec policy to the interface.
Example:
Router(config-if)# macsec psk-keychain kc1 policy mp1
|
|
4. |
Commit the configuration to save changes.
Example:
Router(config-if)# commit
|
|
5. |
Verify the MACsec configuration applied to the interface.
Example:
Router# show running-config interface HundredGigE 0/1/0/10
interface HundredGigE 0/1/0/10
ipv4 address 192.168.30.1 255.255.255.0
macsec psk-keychain kc1 policy mp1
!
|
MACsec encryption is applied to the specified interface, securing communication.