
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-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring
Configuring
Configuring Server Hosts
To access a remote server, you must configure the IPv4 or IPv6 address or the hostname for
the server on the Nexus 5000 Series switch. All server hosts are added to the
default server group.You can configure up to 64 servers.
If a preshared key is not configured for a configured server, a warning message is issued if a
global key is not configured. If a server key is not configured, the global key (if configured)
is used for that server (see the
“Configuring Global Preshared Keys” section on page 1-6
“Configuring Server Preshared Keys” section on page 1-7
Before you configure server hosts, you should do the following:
•
Enable (see the
“Enabling ” section on page 1-5
).
•
Obtain the IPv4 or IPv6addresses or the hostnames for the remote servers.
To configure server hosts, perform this task:
You can delete a server host from a server group.
Configuring Global Preshared Keys
You can configure preshared keys at the global level for all servers used by the Nexus 5000 Series switch.
A preshared key is a shared secret text string between the Nexus 5000 Series switch and the
server hosts.
Before you configure preshared keys, you should do the following:
•
Enable (see the
“Enabling ” section on page 1-5
).
•
Obtain the preshared key values for the remote servers.
To configure global preshared keys, 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
}
Specifies the IPv4 or IPv6 address or hostname for a
server.
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.