H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 238

Advertising
background image

23-21

[device-radius-radius1] retry 5

# Set the timer for the switch to send real-time accounting packets to the RADIUS servers.

[device-radius-radius1] timer realtime-accounting 15

# Configure to send the user name to the RADIUS server with the domain name truncated.

[device-radius-radius1] user-name-format without-domain

[device-radius-radius1] quit

# Create the domain named “aabbcc.net” and enter its view.

[device] domain enable 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.

[device-isp-aabbcc.net] scheme radius-scheme radius1 local

# Specify the maximum number of users the user domain can accommodate to 30.

[device-isp-aabbcc.net] access-limit enable 30

# Enable the idle disconnecting function and set the related parameters.

[device-isp-aabbcc.net] idle-cut enable 20 2000

[device-isp-aabbcc.net] quit

# Set the default user domain to be “aabbcc.net”.

[device] domain default enable aabbcc.net

# Create a local access user account.

[device] local-user localuser

[device-luser-localuser] service-type lan-access

[device-luser-localuser] password simple localpass

Advertising