801
Switch(Config)#radius-server accounting host 100.100.100.60 port 3000 primary
20.2.2.17 radius-server authentication host
Command: radius-server authentication host {<ipv4-address >|<ipv6-address>}
[port <port-number>] [primary]
no radius-server authentication host { ipv4-address >|<ipv6-address>}
Function:
Specifies the IP address and listening port number for the RADIUS server; the
“
no radius-server authentication host <IPaddress>
“ command deletes the RADIUS
authentication server
Parameters:
<ipv4-address >|<ipv6-address>
stands for the server IPv4/IPv6 address;
<port-number>
for listening port number, from 0 to 65535, where 0 stands for
non-authentication server usage;
primary
for primary server.
Command mode:
Global Mode
Default:
No RADIUS authentication server is configured by default.
Usage Guide:
This command is used to specify the IPv4/IPv6 address and port number
of the specified RADIUS server for switch authentication, multiple command instances
can be configured. The port parameter is used to specify authentication port number,
which must be the same as the specified authentication port in the RADIUS server, the
default port number is 1812. If this port number is set to 0, the specified server is regard
as non-authenticating. This command can be used repeatedly to configure multiple
RADIUS servers communicating with the switch, the configured order is used as the
priority for the switch authentication server. If
primary
is specified, then the specified
RADIUS server will be the primary server.
Example:
Setting the RADIUS authentication server address as 200.1.1.1.
Switch(Config)#radius-server authentication host 200.1.1.1
20.2.2.18 radius-server dead-time
Command:radius-server dead-time <minutes>
no radius-server dead-time
Function:
Configures the restore time when RADIUS server is down; the “
no
radius-server dead-time
” command restores the default setting.
Parameters:<minute >
is the down -restore time for RADIUS server in minutes, the valid
range is 1 to 255.
Command mode:
Global Mode
Default:
The default value is 5 minutes.
Usage Guide:
This command specifies the time to wait for the RADIUS server to recover
from inaccessible to accessible. When the switch acknowledges a server to be
inaccessible, it marks that server as having invalid status, after the interval specified by