Deleting a Central Management System peer using the CLI

Prev Next

Follow these steps to delete a CM peer from the Peer Service relationship (not from the network) using the CLI. All configuration information and data associated with that peer will be removed, including the IP address and peer name. The CM peer is no longer connected to the Peer Service. If you want to reconnect to the same peer, you must import the existing token again.

Important

If you delete a Central Management System peer and then want to add the Central Management System peer back, you must import the token again. For information about how to import a token for an existing Central Management System peer, see Importing Authentication Tokens for an Existing CM Peer Using the CLI .

To delete a CM peer:
  1. Go to CLI configuration mode.

    CMS1 > enable
    CMS1 # configure terminal
  2. Delete a CMS peer.

    CMS1 (config) # cms peer <peer_hostname> delete
  3. Save your changes.

    CMS1 (config) # write memory
  4. Verify that all configuration information associated with that peer is removed. The following example verifies that all information associated with CMS2 is removed.

    CMS1 (config) # show cms peer-service
    CMS peer-service enabled:          yes