Configure the switch to access a radius server, Configure the switch to access a radius server -19 – HP 4100GL User Manual

Page 73

Advertising
background image

RADIUS Authentication and Accounting

Configuring RADIUS Accounting

1. Configure the Switch To Access a RADIUS Server

Before you configure the actual accounting parameters, you should first
configure the switch to use a RADIUS server. This is the same as the process
described on page 3-10. You need to repeat this step here only if you have not
yet configured the switch to use a RADIUS server, your server data has
changed, or you need to specify a non-default UDP destination port for
accounting requests. Note that switch operation expects a RADIUS server to
accomodate both authentication and accounting.

Syntax: [no] radius-server host < ip-address >

Adds a server to the RADIUS configuration or (with

no)

deletes a server from the configuration.

[acct-port < port-number >]

Optional. Changes the UDP destination port for
accounting requests to the specified RADIUS
server. If you do not use this option, the switch
automatically assigns the default accounting port
number. (Default: 1813)

[key < key-string >]

Optional. Specifies an encryption key for use
during accounting or authentication sessions
with the specified server. This key must match the
encryption key used on the RADIUS server. Use
this command only if the specified server requires
a different encryption key than configured for the
global encryption key.

(For a more complete description of the

radius-server command and its

options, turn to page 3-10.)

For example, suppose you want to the switch to use the RADIUS server
described below for both authentication and accounting purposes.

IP address: 10.33.18.151

A non-default UDP port number of 1750 for accounting.

For this example, assume that all other RADIUS authentication parameters
for accessing this server are acceptable at their default settings, and that
RADIUS is already configured as an authentication method for one or more
types of access to the switch (Telnet, Console, etc.).

3-19

Advertising