- test access profile profile-name user username password password detail
Command introduced in JUNOS Release 9.1.
Specify a profile to use to get information from a RADIUS server, which includes all the information from the test access radius-server command.
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.
view
Table 10 lists the output fields for the test access profile command. Output fields are listed in the approximate order in which they appear.
Table 10: test access profile Output Fields
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
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