
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring
Configuring
Configuring TCP Ports
You can configure another TCP port for the servers if there are conflicts with another
application. By default, Nexus 5000 Series switches use port 49 for all 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
Configuring Periodic Server Monitoring
You can monitor the availability of 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
server receives no requests before the 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.
Note
To protect network security, we recommend that you use a user name that is not the same as an existing
username in the database.
The test idle timer specifies the interval in which a server receives no requests before the
Nexus 5000 Series switch sends out a test packet.
Note
The default idle timer value is 0 minutes. When the idle time interval is 0 minutes, periodic
server monitoring is not performed.
To configure periodic server monitoring, perform this task:
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 TCP port to use for
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 server
configuration.
Step 5
switch#
copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.