Testing Your Configuration; Using Radclient - Cisco Access Registrar 4.2 Installation And Configuration Manual

Cisco systems network device installation and configuration guide
Hide thumbs Also See for Cisco Access Registrar 4.2:
Table of Contents

Advertisement

Configuring a Basic Site
Use the reload command to reload your server.
Step 2

Testing Your Configuration

Now that you have configured some users and a NAS, you are ready to test your configuration. There
are two ways you can test your site:
1.
2.

Using radclient

You can use the radclient command simple to create and send a packet. The following example creates
an Access-Request packet for user
the packet before sending it. It uses the send command to send the packet, which displays the response
packet object identifier,
packet.
Run the radclient command.
Step 1
The radclient command prompts you for the administrator's username and password (as defined in the
Step 2
Cisco AR configuration). Use admin for the admin name, and aicuser for the password.
Cisco Access Registrar 4.2.1 RADIUS Test Client
Copyright (C) 1995-2008 by Cisco Systems, Inc.
Logging in to localhost... done.
Create a simple Access-Request packet for User-Name
Step 3
enter:
The radclient command displays the ID of the packet
Enter the packet identifier:
Step 4
Send the request to the default host (localhost), enter:
Step 5
Installing and Configuring Cisco Access Registrar, 4.2
4-12
reload
You can act as a user and dial in to your NAS, and check that you can successfully log in.
You can run the radclient command, and specify one of the default users when making a request.
. Then, the example shows how to display the contents of the response
p002
. /radclient -s
simple john john
p001
p001
Packet: code = Access-Request, id = 0, length = 0, attributes =
User-Name = john
User-Password = john
NAS-Identifier = localhost
NAS-Port = 0
Chapter 4
with password
, and the packet identifier
john
john
All rights reserved.
and User-Password
john
.
p001
Configuring Cisco Access Registrar 4.2
. It displays
p001
. At the prompt,
john
OL-17221-02

Advertisement

Table of Contents
loading

Table of Contents