11 radius-server accounting host, Radius, Server accounting host – PLANET WGSW-50040 User Manual

Page 385

Advertising
background image



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

27.11 radius-server accounting host

Command:

radius-server accounting host {<ipv4-address>|<ipv6-address>} [port <port-number>]

[primary]

no radius-server accounting host {<ipv4-address>|<ipv6-address>}

Function:

Specifies the IPv4/IPv6 address and listening port number 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;

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

Advertising