mac

Commands for RADIUS
468
Chapter 43 Commands for RADIUS
43.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
43.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