Entering a peer host public key

About entering a peer host public key

Before you perform this task, make sure you have displayed the key on the peer device and recorded the key. For information about displaying a host public key, see "Displaying a host public key."

Procedure

  1. Enter system view.

    system-view

  2. Specify a name for the peer host public key and enter public key view.

    public-key peer keyname

  3. Type or copy the key.

    You can use spaces and carriage returns, but the system does not save them.

  4. Exit public key view.

    peer-public-key end

    When you exit public key view, the system automatically saves the peer host public key.