330
Syntax
radius-server host
ip-address
[ auth-port
port-id
] [ acct-port
port-id
]
[ timeout
time
] [ retransmit
number
] [ key { [ 0 ]
string
| 7
encrypted-string
} ]
no radius-server host
ip-address
Parameter
ip-address
—— Specify the IP address of the RADIUS server.
auth-port
port-id
—— Specify the UDP destination port for authentication
requests. By default it is 1812.
acct-port
port-id
—— Specify the UDP destination port for accouting
requests. By deault it is 1813.
time
—— Specify the time in seconds the switch waits for the server’s
response before it times out. The time ranges from 1 to 9 seconds. The
default is 5 seconds.
number
—— Specify the number of times a RADIUS request is resent to a
server if the server is not responding in time. By default it is 2 times.
[ 0 ]
string
| 7
encrypted-string
—— 0 and 7 are the encryption type. 0
indicates that an unencrypted key will follow. 7 indicates that a symmetric
encrypted key with a fixed length will follow. By default, the encryption type is
0. “
string
”
is
the shared key for the switch and the authentication servers to
exchange messages which contains 31 characters at most. The question
marks and spaces are not allowed. “
encrypted-string
” is a symmetric
encrypted key with a fixed length, which you can copy from another switch’s
configuration file. The key or encrypted-key you configured here will be
displayed in the encrypted form. Always configure the key as the last item of
this command.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin level users have access to these commands.
User Guidelines
The RADIUS servers you configured are added in the server group “radius” by
default.