3. Configure share key
Switch and authentication server system should be identified mutually and a same share key
should be set separately. Please pay attention that share key of switch must be the same with
that of authentication server system. Following command under global CONFIG mode configure
the share key of switch: radius-server key <string>
4. Start and close accounting
Switch after authenticated or users leave the Internet should not send RADIUS accounting
packet to authentication server system if the accounting system is closed. Generally in practical
application accounting system is opened.
Following command under global CONFIG mode start accounting system
radius-server accounting
Following command under global CONFIG mode close accounting system
no radius-server accounting
5. Configure RADIUS port and attribute info.
It is suggested that users should not change RADIUS port and attribute info. configuration
Following command under global CONFIG mode change RADIUS authentication UDP
port
radius-server udp-port <port-number>
Following command under global CONFIG mode change RADIUS attribute info.
radius-server attribute nas-portnum <number>
radius-server attribute nas-porttype <number>
radius-server attribute service-type <number>
6. Show RADIUS info.
Following command under global CONFIG mode shows RADIUS configuration info.