test access profile
Syntax
Release Information
Command introduced in Junos OS Release 9.1.
Description
Specify a profile to use to get information from a RADIUS server, which includes all the information from the test access radius-server command.
Options
detail | — | (Optional) Show the RADIUS attributes returned by the server. |
profile-name | — | Access profile name configured. |
password | — | Password for the username. |
username | — | User name to be authenticated to the RADIUS server. |
Required Privilege Level
view
List of Sample Output
test access profiletest access profile detail
Output Fields
Table 1 lists the output fields for the test access profile command. Output fields are listed in the approximate order in which they appear.
Table 1: test access profile Output Fields
Field Name | Field Description |
---|---|
Profile Name | Name of the configured access profile. |
Client Username | The user name authenticated by the RADIUS server. |
Client Password | The user password authenticated by the RADIUS server. |
Num Servers | Number of RADIUS servers in the configured access profile. |
Server List | List of RADIUS servers in the configure access profile. |
IP Address | The IP address of the RADIUS server authenticated. |
UDP Port | The RADIUS server port utilized during the authentication test. |
Source Address | The source IP address of the client making the RADIUS request. If no address is shown, it defaults to the address of the outgoing interface. |
Timeout | The RADIUS server timeout period. |
Retry Count | The number of authentication attempts allowed by the RADIUS server. |
Secret | The shared secret used for authentication with the RADIUS server. |
Status | The test result status (Accepted or Rejected) and the number of retransmits utilized during authentication. |
Attempts | The number of authentication attempts on the RADIUS server. |
Attribute List | The list of returned RADIUS attributes, sorted by the attribute name, and including parameter length and value. See your RADIUS server documentation for attribute descriptions. |
(Attribute) Name | The name of the attribute. |
(Attribute) Length | The attribute length in bytes. |
(Attribute) Value | The attribute value. |
Sample Output
test access profile
The following example uses the test access profile command to access and display basic information about the RADIUS server(s) shown in the resulting output:
user@host> test access profile alpha user TEST
password TEST
user@host> test access profile alpha user TEST password TEST Test Radius Profile Access Profile Name : alpha Client Username : TEST Client Password : TEST Num Servers : 5 Server List UDP Source Retry IP Address Port Address Timeout Count Secret Status Attempts 1.1.1.1 1812 10.10.10.10 2 1 TEST Timeout 2 1.2.3.4 1812 Default 1 2 TEST Timeout 3 192.168.10.10 1812 Default 3 3 TEST Accepted 1
test access profile detail
The following example uses the test access profile detail command to access and display detailed information about the RADIUS server(s) shown in the resulting output:
user@host> test access profile alpha user TEST
password TEST detail
user@host> test access profile alpha user TEST password TEST detail Test Radius Profile Access Detailed Profile Name : alpha Client Username : TEST Client Password : TEST Num Servers : 5 Radius Server List IP Address : 1.2.3.4 UDP Port : 1812 Source Address : 192.168.10.10 Timeout : 2 Retry Count : 1 Secret : TEST Status : Timeout Attempts : 2 IP Address : 1.2.3.5 UDP Port : 1812 Source Address : Default Timeout : 1 Retry Count : 2 Secret : TEST Status : Timeout Attempts : 3 IP Address : 192.168.10.10 UDP Port : 1812 Source Address : Default Timeout : 3 Retry Count : 3 Secret : TEST Status : Accepted Attempts : 1 Attribute List Name Length Value Class 52 SBR2CLͽ¾¿ðÕ¾¿ Acct-Interim-Interval 4 5 Callback-Id 12 123-456-789 Callback-Number 13 555-555-1212 Class 15 Class information Filter-Id 4 999 Filter-Id 6 12345 Framed-Compression 4 0 Framed-IP-Address 4 1:2:3:4 Framed-IP-Netmask 4 255:255:255:255 Framed-IPv6-Route 15 1:2:3:4:5:6:7:8 Framed-MTU 4 1024 Framed-Pool 9 pool sbr Framed-Protocol 4 1 Framed-Route 8 iproute Framed-Routing 4 0 Vendor-Specific 11 583 Idle-Timeout 4 3 Vendor-Specific 10 a4c Vendor-Specific 14 a4c Login-IP-Host 4 10:1:1:1 Login-LAT-Group 10 lat group Login-LAT-Node 9 lat node Login-LAT-Port 9 lat port Login-LAT-Service 12 lat service Login-Service 4 0 Login-TCP-Port 4 1812 Vendor-Specific 10 137 Vendor-Specific 38 137 Vendor-Specific 10 137 Vendor-Specific 9 137 Vendor-Specific 16 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 9 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Vendor-Specific 10 137 Password-Retry 4 3 Port-Limit 4 100 Prompt 4 Reply-Message 18 Radius Server SB Service-Type 4 2 Session-Timeout 4 10 Termination-Action 4 1 Tunnel-Assignment-ID 4 Tunnel-Client-Auth-ID 6 Tunnel-Client-Endpoint 4 Tunnel-Password 19 Tunnel-Type 4 12 MS BAP Usage 4 0 MS-CHAP MPPE-Keys 32 -1234567890 MS-CHAP2 Success 3 123456789 MS Filter 10 ms-filter MS Link Drop Time Limit 4 5 MS Link Utilization Threshold 4 6 MS MPPE Encryption Policy 4 1 MS MPPE Encryption Types 3 -556677889 MS Primary DNS Server 4 1:1:1:1 MS Primary NBNS Server 4 2:2:2:2 MS Secondary DNS Server 4 3:3:3:3 MS Secondary NBNS Server 4 4:4:4:4