Qtech QSW-8200-28F-AC-DC — настройка RADIUS-сервера: команды и рекомендации [67/114]

Превью страниц Страница 67 / 114
Qtech QSW-8200-52F-AC-DC [67/114] Radius server accounting host
User Manual
Chapter 5. Commands for RADIUS 67
www.qtech.ru
Command mode: Global Mode.
Usage guide: The source IPv6 address must belongs to one of the IPv6 interface of the
switch, otherwise a failure message of binding IPv6 address will be returned when the
switch send RADIUS packet. We suggest using the IPv6 address of loopback interface as
source IPv6 address, it avoids that the packets from RADIUS server are dropped when
the interface link-down.
Example: Configure the source ipv6 address of RADIUS packet as 2001:da8:456::1.
Switch#radius nas-ipv6 2001:da8:456::1
5.11 radius-server accounting host
Command: radius-server accounting host {<ipv4-address> | <ipv6-address>} [port
<port-number>] [key {0 | 7} <string>] [primary]
no radius-server accounting host {<ipv4-address> | <ipv6-address>}
Function: Specifies the IPv4/IPv6 address and the port number, whether be primary
server for RADIUS accounting server; the no command deletes the RADIUS accounting
server.
Parameters: <ipv4-address> | <ipv6-address> stands for the server IPv4/IPv6 address;
<port-number> for server listening port number from 0 to 65535;
<string> is the key string. If key option is set as 0, the key is not
encrypted and its range should not exceed 64 characters, if key option is
set as 7, the key is encrypted and its range should not exceed 64
characters;
primary for primary server. Multiple RADIUS sever can be configured
and would be available. RADIUS server will be searched by the
configured order if primary is not configured, otherwise, the specified
RADIUS server will be used first.
Command Mode: Global Mode
Default: No RADIUS accounting server is configured by default.
Usage Guide: This command is used to specify the IPv4/IPv6 address and port number
of the specified RADIUS server for switch accounting, multiple command instances can
be configured. The <port-number> parameter is used to specify accounting port
number, which must be the same as the specified accounting port in the RADIUS server;
the default port number is 1813. If this port number is set to 0, accounting port number
will be generated at random and can result in invalid configuration. This command can
be used repeatedly to configure multiple RADIUS servers communicating with the
switch, the switch will send accounting packets to all the configured accounting servers,
and all the accounting servers can be backup servers for each other. If primary is
specified, then the specified RADIUS server will be the primary server. It only configures
a RADIUS primary server whether the server use IPv4 address or IPv6 address.
Example: Sets the RADIUS accounting server of IPv6 address to 2004:1:2:3::2, as the
primary server, with the accounting port number as 3000.

Содержание

Узнайте, как правильно настроить RADIUS-сервер для учета с помощью IPv4 и IPv6 адресов. Подробное руководство по командам и параметрам.

Скачать