DES-7200 Configuration Guide Chapter 4 802.1x Configuration
4-22
1. On the Radius Server, register the switch as a Radius Client, like the
authentication operation.
2. Set the IP address of the accounting server.
3. Set the accounting UDP port.
4. Enable the accounting service on the precondition that the 802.1x has been
enabled.
In the privileged mode, you can set the accounting service by performing the following steps:
Command Function
configure terminal
Enter the global configuration mode.
aaa new-model
Enable the AAA function
aaa group server radius gs
Configure the accounting server group.
server 192.168.4.12 acct-port 11
Add a server to the server group.
exit
Return to the global configuration mode.
aaa accounting network acct start-stop
group gs
Configure the accounting method list.
dot1x accounting acct
Apply the accounting method list for the 802.1X.
end
Return to the privileged mode.
write
Save the configuration.
show running-config
Show the configuration.
The no aaa accounting network command deletes the accounting method list. The no dot1x
accounting command restores the default dot1x accounting method. The following example
sets the IP address of the accounting server to 192.1.1.1, that of the backup accounting server
to 192.1.1.2, and the UDP port of the accounting server to 1200, and enables 802.1x
accounting:
DES-7200# configure terminal
DES-7200(config)# aaa new-model
DES-7200(config)# aaa group server radius acct-use
DES-7200(config-gs-radius)# server 192.168.4.12 acct-port 1200
DES-7200(config-gs-radius)# server 192.168.4.13 acct-port 1200
DES-7200(config-gs-radius)# exit
DES-7200(config)# aaa accounting network acct-list start-stop group acct-use
DES-7200(config)# dot1x accounting acct-list
DES-7200(config)# end
DES-7200# write memory
DES-7200# show running-config