Remove the TACACS+ Server Configuration

Before you begin

Only admin users can perform this procedure.

About this task

Perform this procedure to remove TACACS+ server configuration from the client.

Procedure

  1. Display the configured server IP addresses and keys.
    device# show running-config tacacs-server 
    tacacs-server host 10.2.3.5 encrypted-key "jahasjikjdoaskjuihuhiaoljsiaknkaiua="
    tacacs-server host 1.2.3.4 encrypted-key "JMeYDVdBN4Vb-wx35d7HnXIE8BL9KLUcEcePFwMNGo"
  2. Enter the Config mode.
    device(config)# 
  3. Remove the selected TACACS+ configuration from the server.
    device(config)# no tacacs-server host 10.2.3.5
  4. Return to the Exec mode and verify the TACACS+ server configuration.
    device(config-tacacs-config)# end
    device# show running-config tacacs-server 
    tacacs-server host 1.2.3.4 encrypted-key JMeYDVdBN4Vb-wx35d7HnXIE8BL9KLUcEcePFwMNGo

Example

The following example removes the TACACS+ configuration from the server on 10.2.3.5.

device# configure terminal
device(config)# no tacacs-server host 10.2.3.5
device(config)# end

device# show running-config tacacs-server
tacacs-server host 1.2.3.4 encrypted-key JMeYDVdBN4Vb-wx35d7HnXIE8BL9KLUcEcePFwMNGo