Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
18-10
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 18 Configuring TACACS+
Configuring TACACS+
To configure the timeout interval for a server, perform this task:
Configuring TCP Ports
You can configure another TCP port for the TACACS+ servers if there are conflicts with another
application. By default, Nexus 5000 Series switches use port 49 for all TACACS+ requests.
To configure TCP ports, perform this task:
The following example shows how to configure TCP ports:
switch# configure terminal
switch(config)# tacacs-server host 10.10.1.1 port 2
switch(config)# exit
switch# show tacacs-server
switch# copy running-config startup-config
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# switch(config)#
tacacs-server host
{ipv4-address|ipv6-address|host-name}
timeout seconds
Specifies the timeout interval for a specific server.
The default is the global value.
Note The timeout interval value specified for a
TACACS+ server overrides the global
timeout interval value specified for all
TACACS+ servers.
Step 3
switch(config)# exit
Exits configuration mode.
Step 4
switch# show tacacs-server
(Optional) Displays the TACACS+ server
configuration.
Step 5
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# tacacs-server host
{ipv4-address|ipv6-address|host-name} port
tcp-port
Specifies the UDP port to use for TACACS+
accounting messages.The default TCP port is 49.
The range is from 1 to 65535.
Step 3
switch(config)# exit
Exits configuration mode.
Step 4
switch# show tacacs-server
(Optional) Displays the TACACS+ server
configuration.
Step 5
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.