DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Disables the MACsec configuration on the device. The
no
option restores the MACsec feature.
macsec shutdown
Example:
Step 2
switch(config)# macsec shutdown
Copies the running configuration to the startup
configuration. This step is required only if you want to
(Optional)
copy running-config startup-config
Example:
Step 3
retain the MACsec in the shutdown state after the swtich
reload.
switch(config)# copy running-config startup-config
Configuring a MACsec Keychain and Keys
You can create a MACsec keychain and keys on the device.
Only MACsec keychains will result in converged MKA sessions.
Note
Before you begin
Make sure that MACsec is enabled.
SUMMARY STEPS
1.
configure terminal
2.
(Optional) [
no
]
key-chain macsec-psk no-show
3.
key chain name macsec
4.
key key-id
5.
key-octet-string octet-string cryptographic-algorithm
{
AES_128_CMAC
|
AES_256_CMAC
}
6.
send-lifetime start-time duration duration
7.
(Optional)
show key chain name
8.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
506
Configuring MACsec
Configuring a MACsec Keychain and Keys