1-2requirements. For example, you can use the HWTACACS server for authentication and authorization,and the RADIUS server for accounting.The three security functions are described as follows:z Authentication: Identifies remote users and judges whether a user is legal.z Authorization: Grants different users different rights. For example, a user logging into the servercan be granted the permission to access and print the files in the server.z Accounting: Records all network service usage information of users, including the service type,start and end time, and traffic. In this way, accounting can be used for not only charging, but alsonetwork security surveillance.You can use AAA to provide only one or two security functions, if desired. For example, if yourcompany only wants employees to be authenticated before they access specific resources, you onlyneed to configure an authentication server. If network usage information is expected to be recorded,you also need to configure an accounting server.As described above, AAA provides a uniform framework to implement network security management.It is a security mechanism that enables authenticated and authorized entities to access specificresources and records operations of the entities. The AAA framework thus allows for excellentscalability and centralized user information management.AAA can be implemented through multiple protocols. Currently, the device supports using RADIUS,HWTACACS for AAA, and RADIUS is often used in practice.Introduction to RADIUSRemote Authentication Dial-In User Service (RADIUS) is a distributed information interaction protocolin a client/server model. RADIUS can protect networks against unauthorized access and is often usedin network environments where both high security and remote user access are required. Based onUDP, RADIUS uses UDP port 1812 for authentication and 1813 for accounting. RADIUS defines theRADIUS packet format and message transfer mechanism.RADIUS was originally designed for dial-in user access. With the diversification of access methods,RADIUS has been extended to support more access methods, for example, Ethernet access andADSL access. It uses authentication and authorization in providing access services and usesaccounting to collect and record usage information of network resources.Client/Server Modelz Client: The RADIUS client runs on the NASs located throughout the network. It passes userinformation to designated RADIUS servers and acts on the responses (for example, rejects oraccepts user access requests).z Server: The RADIUS server runs on the computer or workstation at the network center andmaintains information related to user authentication and network service access. It listens toconnection requests, authenticates users, and returns the processing results (for example,rejecting or accepting the user access request) to the clients.In general, the RADIUS server maintains three databases, namely, Users, Clients, and Dictionary, asshown in Figure 1-2: