3Com Switch 8800 Family Configuration Guide

232 CHAPTER 25: 802.1X CONFIGURATION
# Enable the 802.1x performance on the specified port Ethernet 3/1/1.
[SW8800] dot1x interface Ethernet 3/1/1
# Set the access control mode. (This command could not be configured, when it is
configured as MAC-based by default.)
[SW8800] dot1x port-method macbased interface Ethernet 3/1/1
# Create the RADIUS scheme radius1 and enters its configuration mode.
[SW8800] radius scheme radius1
# Set IP address of the primary authentication/accounting RADIUS servers.
[3Com-radius-radius1] primary authentication 10.11.1.1
[3Com-radius-radius1] primary accounting 10.11.1.2
# Set the IP address of the secondary authentication/accounting RADIUS servers.
[3Com-radius-radius1] secondary authentication 10.11.1.2
[3Com-radius-radius1] secondary accounting 10.11.1.1
# Set the encryption key when the system exchanges packets with the
authentication RADIUS server.
[3Com-radius-radius1] key authentication name
# Set the encryption key when the system exchanges packets with the accounting
RADIUS server.
[3Com-radius-radius1] key accounting money
# Set the timeouts and times for the system to retransmit packets to the RADIUS
server.
[3Com-radius-radius1] timer 5
[3Com-radius-radius1] retry 5
# Set the interval for the system to transmit real-time accounting packets to the
RADIUS server.
[3Com-radius-radius1] timer realtime-accounting 15
# Configure the system to transmit the user name to the RADIUS server after
removing the domain name.
[3Com-radius-radius1] user-name-format without-domain
[3Com-radius-radius1] quit
# Create the user domain 3Com163.net and enters its configuration mode.
[SW8800] domain 3Com163.net
# Specify radius1 as the RADIUS scheme for the users in the domain
3Com163.net.