Before you begin
Enable TACACS+.
Obtain the IPv4 or IPv6 addresses or the hostnames for the remote TACACS+ servers.
SUMMARY STEPS
1. configure terminal
2. tacacs-server host {ipv4-address | ipv6-address | hostname}
3. (Optional) show tacacs+ {pending | pending-diff}
4. (Optional) tacacs+ commit
5. exit
6. (Optional) show tacacs-server
7. (Optional) copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Specifies the IPv4 or IPv6 address or hostname for a
TACACS+ server.
tacacs-server host {ipv4-address | ipv6-address |
hostname}
Example:
Step 2
switch(config)# tacacs-server host 10.10.2.2
Displays the TACACS+ configuration pending for
distribution.
(Optional) show tacacs+ {pending | pending-diff}
Example:
Step 3
switch(config)# show tacacs+ pending
Applies the TACACS+ configuration changes in the
temporary database to the running configuration.
(Optional) tacacs+ commit
Example:
Step 4
switch(config)# tacacs+ commit
Exits configuration mode.exit
Example:
Step 5
switch(config)# exit
switch#
Displays the TACACS+ server configuration.(Optional) show tacacs-server
Example:
Step 6
switch# show tacacs-server
Copies the running configuration to the startup
configuration.
(Optional) copy running-config startup-config
Example:
Step 7
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
74
Configuring TACACS+
Configuring TACACS+ Server Hosts