Local-Server - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

The two parties verify the validity of the RADIUS messages received from each other by using the
shared keys that have been set on them, and can accept and respond to the messages only when
both parties have same shared key.
The authentication/authorization shared key and the accounting shared key you set on the switch
must be respectively consistent with the shared key on the authentication/authorization server and
the shared key on the accounting server.
Related commands: primary accounting, primary authentication, radius scheme.
Examples
# Set "hello" as the shared key for RADIUS authentication/authorization messages in RADIUS scheme
radius1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] key authentication hello
# Set "ok" as the shared key for RADIUS accounting messages in RADIUS scheme radius1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] key accounting ok

local-server

Syntax
local-server enable
undo local-server
View
System view
Parameters
None
Description
Use the local-server enable command to enable the UDP ports for local RADIUS services.
Use the undo local-server command to disable the UDP ports for local RADIUS services.
By default, the UDP ports for local RADIUS services are enabled.
In addition to functioning as a RADIUS client to provide remote RADIUS authentication, authorization,
and accounting services, the switch can act as a local RADIUS server to provide simple RADIUS server
functions locally. For the switch to act as a local server, you need to use this command to enable the
service ports. The UDP port for local RADIUS authentication/authorization service is 1645, and that for
local RADIUS accounting service is 1646.
Related commands: radius scheme, state, local-server nas-ip.
1-44

Advertisement

Table of Contents
loading

Table of Contents