1-22
[Sysname-radius-radius1] secondary authentication 10.11.1.2
[Sysname-radius-radius1] secondary accounting 10.11.1.1
# Set the password for the switch and the authentication RADIUS servers to exchange messages.
[Sysname-radius-radius1] key authentication name
# Set the password for the switch and the accounting RADIUS servers to exchange messages.
[Sysname-radius-radius1] key accounting money
# Set the interval and the number of the retries for the switch to send packets to the RADIUS servers.
[Sysname-radius-radius1] timer 5
[Sysname-radius-radius1] retry 5
# Set the timer for the switch to send real-time accounting packets to the RADIUS servers.
[Sysname-radius-radius1] timer realtime-accounting 15
# Configure to send the user name to the RADIUS server with the domain name truncated.
[Sysname-radius-radius1] user-name-format without-domain
[Sysname-radius-radius1] quit
# Create the domain named “aabbcc.net” and enter its view.
[Sysname] domain aabbcc.net
# Specify to adopt radius1 as the RADIUS scheme of the user domain. If RADIUS server is invalid,
specify to adopt the local authentication scheme.
[Sysname-isp-aabbcc.net] scheme radius-scheme radius1 local
# Specify the maximum number of users the user domain can accommodate to 30.
[Sysname-isp-aabbcc.net] access-limit enable 30
# Enable the idle disconnecting function and set the related parameters.
[Sysname-isp-aabbcc.net] idle-cut enable 20 2000
[Sysname-isp-aabbcc.net] quit
# Set the default user domain to
aabbcc.net
.
[Sysname] domain default enable aabbcc.net
# Create a local access user account.
[Sysname] local-user localuser
[Sysname-luser-localuser] service-type lan-access
[Sysname-luser-localuser] password simple localpass