mka priority
Use mka priority to set the MKA key server priority.
Use undo mka priority to restore the default.
Syntax
mka priority priority-value
undo mka priority
Default
The MKA key server priority is 0.
Views
Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
priority-value: Specifies the priority value, in the range of 0 to 255. The priority is inversely related to its value.
Usage guidelines
The port that has higher priority (lower priority value) becomes the key server. If the port and its peers have the same priority, MACsec compares the SCI values on the ports. The port with the lowest SCI value becomes the key server.
A port with priority 255 cannot become the key server. For a successful key server selection, make sure a minimum of one participant's key server priority is not 255.
Examples
# Set the MKA key server priority to 2 on Ten-GigabitEthernet 4/1/1.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 4/1/1 [Sysname-Ten-GigabitEthernet4/1/1] mka priority 2
Related commands
display mka session