Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request ancp oam neighbor

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
request ancp oam neighbor
(ip-address ip-address | system-name neighbor-name)
subscriber identifier-string
<count count>
<timeout duration>

Description

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 both the access node and the subscriber. The access node responds to the NAS with the results of the test.

Options

ip-address ip-address

IP address that specifies the access node on whose local loop the loopback test is run.

system-name neighbor-name

System name that specifies the access node on whose local loop the loopback test is run.

subscriber identifier-string

Access identifier that specifies the subscriber 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

view

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 subscriber

content_copy zoom_out_map
user@host> request ancp oam neighbor 203.0.113.21 subscriber “dslam port-1-11” 
request succeeded
 0x503 : DSL line status showtime
 DEFAULT RESPONSE

Release Information

Command introduced in Junos OS Release 11.4.

footer-navigation