The key-id command creates a TCP-AO key ID and displays the TCP-AO Key-id view, or directly display the TCP-AO key ID view if the TCP-AO has been created.
The undo key-id command deletes a key ID from TCP-AO.
By default, no key ID is set in the TCP-AO.
Usage Scenario
A key ID can be created in a TCP-AO only after a keychain is bound to the TCP-AO.
The key ID of the TCP-AO must be the same as a key-id configured in the bound keychain. The two key-id configurations together constitute a set of TCO-AO authentication rules, that is, master key tuple (MKT). However, the configuration of the key-id in the keychain cannot meet the requirements of the TCP-AO. Therefore, the configuration of the send ID and receive ID needs to be supplemented. Key IDs in the TCP-AO and bound keychain can be set in any sequence. The TCP-AO MKT can take effect only after the settings of the key IDs in both the TCP-AO and bound keychain are complete.