Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


request ancp oam interface



Trigger the access node to run a loopback test on the local loop between the access node and the customer premises equipment. You must specify either an ANCP interface or an ANCP interface set. The access node responds to the NAS with the results of the test.



Name of the ANCP interface on whose local loop the loopback test is run.

interface-set set-name

Name of the ANCP interface set on whose local loop the loopback test is run.

count count

(Optional) Number of times a loopback message is sent on the local loop. Range: 1 through 32. Default: 1.

timeout duration

(Optional) Period of time in seconds that the NAS waits for a response to the OAM request.Range: 0 through 255. Default: 5.

Required Privilege Level


Output Fields

When you enter this command, you are provided feedback on the status of your request, including the result of the test, the response code, and the response string returned with the OAM response in the event of failure, an error code is displayed.

Sample Output

request ancp oam interface

Release Information

Command introduced in Junos OS Release 11.4.