S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
32-9
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 32 Configuring RADIUS and
Configuring RADIUS
To specify the host RADIUS server IPv6 address and other options, follow these steps:
To specify the host RADIUS server DNS name and other options, follow these steps:
Step 6
switch(config)#
radius-server host 10.10.0.0
key 0 abcd
Specifies a clear text key for the specified
server. The key is restricted to 64 characters.
switch(config)#
radius-server host 10.10.0.0
key 4 da3Asda2ioyuoiuH
Specifies an encrypted key for the specified
server. The key is restricted to 64 characters.
Command
Purpose
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
radius-server host
2001:0DB8:800:200C::417A Key HostKey
Specifies the preshared key for the selected
RADIUS server. This key overrides the key
assigned using the
radius-server key
command. In this example, the host is
2001:0DB8:800:200C::417A and the key is
HostKey.
Step 3
switch(config)#
radius-server host
2001:0DB8:800:200C::417A auth-port 2003
Specifies the destination UDP port number to
which the RADIUS authentication messages
should be sent. In this example, the host is
2001:0DB8:800:200C::417A and the
authentication port is 2003. The default
authentication port is 1812, and the valid range
is 0 to 65366.
Step 4
switch(config)#
radius-server host
2001:0DB8:800:200C::417A acct-port 2004
Specifies the destination UDP port number to
which RADIUS accounting messages should be
sent. The default accounting port is 1813, and
the valid range is 0 to 65366.
Step 5
switch(config)#
radius-server host
2001:0DB8:800:200C::417A accounting
Specifies this server to be used only for
accounting purposes.
Note
If neither the
authentication
nor the
accounting
options are specified, the
server is used for both accounting and
authentication purposes.
Step 6
switch(config)#
radius-server host
2001:0DB8:800:200C::417A key 0 abcd
Specifies a clear text key for the specified
server. The key is restricted to 64 characters.
switch(config)#
radius-server host
2001:0DB8:800:200C::417A key 4
da3Asda2ioyuoiuH
Specifies an encrypted key for the specified
server. The key is restricted to 64 characters.
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
radius-server host radius2
key HostKey
Specifies the preshared key for the selected
RADIUS server. This key overrides the key
assigned using the
radius-server key
command. In this example, the host is radius2
and the key is HostKey.