Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

To configure TCP ports, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies the UDP port to use for TACACS+
accounting messages.The default TCP port is 49.
The range is from 1 to 65535.
switch(config)# tacacs-server host
{ipv4-address | ipv6-address | host-name}
port tcp-port
Step 2
Exits configuration mode.switch(config)# exit
Step 3
(Optional)
Displays the TACACS+ server configuration.
switch# show tacacs-server
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 5
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
Configuring Periodic TACACS+ Server Monitoring
You can monitor the availability of TACACS+ servers. These parameters include the username and password
to use for the server and an idle timer. The idle timer specifies the interval in which a TACACS+ server
receives no requests before the Cisco Nexus 5000 Series switch sends out a test packet.You can configure
this option to test servers periodically, or you can run a one-time only test.
To protect network security, we recommend that you use a user name that is not the same as an existing
username in the TACACS+ database.
Note
The test idle timer specifies the interval in which a TACACS+ server receives no requests before the Cisco
Nexus 5000 Series switch sends out a test packet.
The default idle timer value is 0 minutes. When the idle time interval is 0 minutes, periodic TACACS+
server monitoring is not performed.
Note
To configure periodic TACACS+ server monitoring, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
264 OL-16597-01
About Configuring TACACS+
Configuring Periodic TACACS+ Server Monitoring