EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 472

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide AAA Configuration
Command
Function
configure terminal
Enter the global configuration mode.
aaa new-model
Turn on the AAA switch.
aaa accounting network{default |
list-name} start-stop method1
[method2|…]
Define the AAA network accounting method list.
If you need to define multiple method lists,
execute this command repeatedly.
The keyword "list-name" is used to name the created accounting method list, which can be any
string. The keyword "method" means the actual algorithm for accounting. Only when the
current method returns ERROR (no reply), the next accounting method will be attempted. If the
current method returns FAIL, no accounting method will be used any more. To make the
accounting return successfully, even if no specified methods reply, it is possible to specific
"none" as the last accounting method.
Using Radius for network accounting
To configure the use of RADIUS server for network acounting, it is required to first configure
the RADIUS server. For the details of the RADIUS server configuration, see Configuring
RADIUS.
After configuring the RADIUS server, the RADIUS server-based method list can be configured.
Run the following commands in the global configuration mode:
Command
Function
configure terminal
Enter the global configuration mode.
aaa new-model
Turn on the AAA switch.
aaa accounting network {default |
list-name} start-stop group radius
Define RADIUS accounting method.
Example of Configuring Network Accounting
The example below illustrates how to configure network authorization using RADIUS.
Ruijie# configure terminal
Ruijie(config)# aaa new-model
Ruijie(config)# radius-server host 192.168.217.64
Ruijie(config)# radius-server key test
Ruijie(config)# aaa accounting network acct start-stop group radius
Ruijie(config-line)# end
Ruijie(config)# show running-config
!
aaa new-model
!
aaa accounting network acct start-stop group radius
!
radius-server host 192.168.217.64
radius-server key 7 093b100133
!

Table of Contents

Related product manuals