223
according to configuration gradation; if configure primary, will use this RADIUS server
first.
Command mode: global configuration mode
Default: system without configure RADIUS accounting server.
Instructions: This command for specify accounting RADIUS server IP address and port
ID which connect with switch, may configure many command. The
parameter<port-number>for specify accounting port ID, this port ID must be the same as
the accounting port ID which in specific RADIUS server, default is 1813, if configure the
port ID as 0, accounting port will random produce, may cause configuration invalid. This
command may configure many command over and over for specify many RADIUS
server which make communication relationship with switch, switch will send accounting
message to all accounting server which has configured, these configured accounting
server work as backup server each other. If configure primary, will make this RADIUS
server to work as primary server.
Example: Configure RADIUS accounting server IP address as 100.100.100.60, port ID as
3000, and word as primary server.
Switch(Config)#radius-server accounting host 100.100.100.60 port 3000 primary
8.2.2.18 radius-server authentication host Command: radius-server authentication host <ip-address> [port <port-number>]
[primary]no radius-server authentication host <ip-address>
Function: Configure RADIUS server IP address and monitor port ID; use the “no”
command to remove RADIUS authentication server.
Parameter: <ip-address> server IP address; <port-number>is server monitor port ID,
The range: 0~65535, the “0” means it’s not work as authentication server; primary is
primary server.
Command mode: global configuration mode
Default: System without configure RADIUS authentication server .
Instructions: This command for specify authentication RADIUS server IP address and
port ID, may configure many of this command. The parameter port for specify
authentication port ID, this port ID must be the same as authentication port ID which in
specific RADIUS server, default is 1812, if configure the port ID as 0, it consider this
specific server has no authentication function. This command may configure many
command over and over for specify many RADIUS server which make communication
relationship with switch, and the gradation of switch authentication server take the
gradation of configuration. If configure primary, it will make this RADIUS server work as
primary server.
Example: Configure RADIUS authentication server address as 200.1.1.1.
Switch(Config)#radius-server authentication host 200.1.1.1