[device-radius-radius1] key accounting money

# Set the interval and the number of the retries for the switch to send packets to the RADIUS servers.

[device-radius-radius1] timer 5

[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

1-21

Page 242
Image 242
3Com WX3000 # Create the domain named aabbcc.net and enter its view, # Set the default user domain to be aabbcc.net