DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
149
29-2
radius-server host
This command is used to create a RADIUS server host. Use the
no
form of this command to delete a server
host.
radius-server host {
IP-ADDRESS
|
IPV6-ADDRESS
} [auth-port
PORT
] [acct-port
PORT
] [timeout
SECONDS
] [retransmit
COUNT
] key
KEY-STRING
no radius-server host {
IP-ADDRESS
|
IPV6-ADDRESS
}
Parameters
IP-ADDRESS
Specifies the IP address of the RADIUS server.
IPV6-ADDRESS
Specifies the IPv6 address of the RADIUS server.
auth-port
PORT-NUMBER
(Optional) Specifies the UDP destination port number for sending
authentication packets. The range is 0 to 65535. Set the port
number to zero if the server host is not for authentication purposes.
The default value is 1812.
acct-port
PORT-NUMBER
(Optional) Specifies the UDP destination port number for sending
accounting packets. The range is 0 to 65535. Set the port number
to zero if the server host is not for accounting purposes. The default
value is 1813.
timeout
SECONDS
Specifies the server time-out value. The range of timeout is
between 1 and 255 seconds. If not specified, the default value is 5
seconds.
retransmit
COUNT
(Optional) Specifies the retransmit times of requests to the server
when no response is received. The value is from 0 to 20. Use 0 to
disable the retransmission. If not specified, the default value is 2
key
KEY-STRING
Specifies the key used to communicate with the server. The key
can between 1 and 32 clear text characters.
Default
By default, no server is configured.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to create RADIUS server hosts before it can be associated with the RADIUS server group
using the server command.
Example
This example shows how to create two RADIUS server hosts with the different IP address.
Switch# configure terminal
Switch(config)# radius-server host 172.19.10.100 auth-port 1500 acct-port 1501
timeout 8 retransmit 3 key ABCDE
Switch(config)# radius-server host 172.19.10.101 auth-port 1600 acct-port 1601
timeout 3 retransmit 1 key ABCDE