Configuring Port Security userlogin-withoui Mode 53

[3Com-radius-radius1] timer 5

[3Com-radius-radius1] retry 5

#Set the timer for the switch to send real-time accounting packets to the RADIUS server to 15 minutes.

[3Com-radius-radius1] timer realtime-accounting 15

#Configure the switch to send a username without the domain name to the RADIUS server.

[3Com-radius-radius1] user-name-format without-domain

[3Com-radius-radius1] quit

# Create a domain named aabbcc.net and enter its view.

[3Com] domain aabbcc.net

#Specify radius1 as the RADIUS scheme of the user domain, and the local authentication scheme as the backup scheme when the RADIUS server is not available.

[3Com-isp-aabbcc.net] scheme radius-scheme radius1 local

# Set the maximum number of users of the ISP domain to 30.

[3Com-isp-aabbcc.net] access-limit enable 30

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

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

[3Com-isp-aabbcc.net] quit

# Set aabbcc.net as the default user domain.

[3Com] domain default enable aabbcc.net

# Create a local user.

[3Com] local-user localuser [3Com-luser-localuser] service-type lan-access

[3Com-luser-localuser] password simple localpass

Configure port security

# Enable port security.

[3Com] port-security enable

# Add two OUI values.

[3Com] port-security oui 1234-0100-1111 index 1

[3Com] port-security oui 1234-0200-1111 index 2

# Set the port security mode to userlogin-withoui.

Page 53
Image 53
3Com 5500G, 4210, 4200G # Set the maximum number of users of the ISP domain to, # Create a local user, # Add two OUI values