Chapter 47 commands for radius, 1 aaa enable, 2 aaa-accounting enable – PLANET XGS3-24040 User Manual

Page 783: 3 aaa-accounting update, Aaa enable, Accounting enable, Accounting update

Advertising
background image


47-1

Chapter 47 Commands for RADIUS

47.1 aaa enable

Command: aaa enable

no aaa enable

Function: Enables the AAA authentication function in the switch; the "no AAA enable" command disables

the AAA authentication function.

Command mode: Global Mode.

Parameters: No.

Default: AAA authentication is not enabled by default.

Usage Guide: The AAA authentication for the switch must be enabled first to enable IEEE 802.1x

authentication for the switch.

Example: Enabling AAA function for the switch.

Switch(config)#aaa enable

47.2 aaa-accounting enable

Command: aaa-accounting enable

no aaa-accounting enable

Function: Enables the AAA accounting function in the switch: the "no aaa-accounting enable" command

disables the AAA accounting function.

Command mode: Global Mode

Default: AAA accounting is not enabled by default.

Usage Guide: When accounting is enabled in the switch, accounting will be performed according to the

traffic or online time for port the authenticated user is using. The switch will send an “accounting started”

message to the RADIUS accounting server on starting the accounting, and an accounting packet for the

online user to the RADIUS accounting server every five seconds, and an “accounting stopped” message

is sent to the RADIUS accounting server on accounting end. Note: The switch send the “user offline”

message to the RADIUS accounting server only when accounting is enabled, the “user offline” message

will not be sent to the RADIUS authentication server.

Example: Enabling AAA accounting for the switch.

Switch(config)#aaa-accounting enable

47.3 aaa-accounting update

Command: aaa-accounting update {enable|disable}

Function: Enable or disable the AAA update accounting function.

Command Mode: Global Mode.

Default: Enable the AAA update accounting function.

Usage Guide: After the update accounting function is enabled, the switch will sending accounting

message to each online user on time.

Example: Disable the AAA update accounting function for switch.

Advertising