6.1.12. radius host

Syntax

radius host HOSTNAME [auth-port <0-65535>] [key RADIUSKEY][priority

<0-65535>] [retransmit <1-10>] [timeout <1-30>] [type (loginall)]

no radius [host HOSTNAME]

Parameter

host HOSTNAME

Specify radius server host name, both IP address and domain name are available.

auth-port <0-65535>

Specify radius server udp port

key RADIUSKEY

Specify radius server key string

priority <0-65535>

Specify radius server priority

retransmit <1-10>

Specify radius server retransmit times

timeout <1-30>

Specify radius server timeout value

Type login 802.1X all

Usage type of this serverUse for loginUse for 802.1X authenticationUse for both login and 802.1X authentication

Default

radius key is “”.

Default radius timeout is 3 seconds.

Mode

Global Configuration

Usage

Use radius host command to add or edit an existing radius server.

Use no form to delete one or all radius servers from database.

Example

This example shows how to create a new radius server

Switch(config)# radius host 192.168.1.111 auth-port 12345 key radiuskey priority 100 retransmit 5 timeout 10 type all

This example shows how to show existing radius server.

Switch# show radius
Prio | IP Address| Auth-Port| Retries| Timeout| Usage-Type| Key
-----+----------------+----------+--------+--------+-----------+---
100 | 192.168.1.111 |12345| 5 | 10 | All |radiuskey