103
port-number
: Service port number of the primary authentication/authorization server, a UDP port
number in the range 1 to 65535. The default is 1812.
Description
Use the
primary authentication
command to specify the primary RADIUS authentication/authorization
server.
Use the
undo primary authentication
command to remove the configuration.
By default, no primary RADIUS authentication/authorization server is specified.
The IP addresses of the authentication/authorization servers and those of the accounting servers must be
of the same IP version.
The IP addresses of the primary and secondary authentication/authorization servers must be different
from each other. Otherwise, the configuration fails.
If you remove the primary authentication server when an authentication process is in progress, the
communication with the primary server will time out, and the device will look for a server in active state
from the new primary server on.
NOTE:
The shared key configured by this command takes precedence over that configured by using the
key
authentication
key command..
Related commands:
key
.
Examples
# For RADIUS scheme
radius1
, set the IP address of the primary authentication/authorization server to
10.110.1.1, the UDP port to 1812.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] primary authentication 10.110.1.1 1812
radius client
Syntax
radius client enable
undo radius client
View
System view
Default level
2: System level
Parameters
None
Description
Use the
radius client enable
command to enable the RADIUS listening port of a RADIUS client.
Use the
undo radius client
command to disable the RADIUS listening port of a RADIUS client.
By default, the RADIUS listening port is enabled.