Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Broadband Subscriber Sessions User Guide
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

ANCP Monitoring and Management

date_range 06-Dec-23

Triggering ANCP OAM to Test the Local Loop

You can trigger ANCP OAM to perform a loopback test on the local loop between the access node and the CPE to help isolate simple faults. On an ATM-based local loop, the ANCP operation triggers the access node to generate ATM (F4/F5) loopback cells on the local loop. On an Ethernet-based local loop, the ANCP operation triggers the access node to generate an Ethernet loopback message on the local loop. When the test completes, the access node sends a message to the router with the results.

Issue the request ancp oam neighbor command from CLI operational mode to initiate testing of a local loop identified by the IP address or system name of the ANCP neighbor and the ACI for a subscriber on that access node.

Issue the request ancp oam interface command from CLI operational mode to initiate testing of a local loop identified by the ANCP interface or interface set associated with a subscriber and the ACI for a subscriber on that access node.

With both commands, you can also specify how many times the test must be run and how long the router waits for a response to the OAM request.

To initiate ANCP local loop testing:

  • Identify the loop by the subscriber identifier and the neighbor’s IP address; optionally specify how many times the test runs and the timeout period.

    content_copy zoom_out_map
    user@host> request ancp oam neighbor ip-address 192.168.32.5 subscriber “dslam port-2-10” count 5 timeout 600
    
  • Identify the loop by the subscriber identifier and the neighbor’s system name; optionally specify how many times the test runs and the timeout period.

    content_copy zoom_out_map
    user@host> request ancp oam neighbor system-name 00:00:5E:00:53:ba subscriber “dslam port-2-10” count 10 timeout 600
    
  • Identify the loop by the subscriber identifier and the interface associated with the subscriber; optionally specify how many times the test runs and the timeout period.

    content_copy zoom_out_map
    user@host> request ancp oam interface ge-1/0/2.12 identifier-string timeout 15
    
  • Identify the loop by the subscriber identifier and the set of interfaces associated with the subscriber; optionally specify how many times the test runs and the timeout period.

    content_copy zoom_out_map
    user@host> request ancp oam interface interface-set vlan5 identifier-string count 3
    

Verifying and Monitoring ANCP Neighbors

Purpose

View ANCP neighbor information:

Action

  • To display summary information about all ANCP neighbors:

    content_copy zoom_out_map
    user@host> show ancp neighbor
    
  • To display information about a specific ANCP neighbor, add the IP address or MAC address to the command:

    content_copy zoom_out_map
    user@host> show ancp neighbor ip-address 203.0.113.64
    user@host> show ancp neighbor system-name 00:00:5E:00:53:ba
    
  • To display detailed information, add detail to the command:

    content_copy zoom_out_map
    user@host> show ancp neighbor detail
    
    content_copy zoom_out_map
    user@host> show ancp neighbor system-name 00:00:5E:00:53:ba detail
    
  • To display a count of ANCP neighbors in various states and the total number of neighbors, or a count of DSL lines in various states for all subscribers for a particular neighbor:

    content_copy zoom_out_map
    user@host> show ancp summary neighbor
    user@host> show ancp summary neighbor 203.0.113.64
    
  • To display total and state-wise counts of both ANCP neighbors and subscribers:

    content_copy zoom_out_map
    user@host> show ancp summary
    

Clearing ANCP Neighbors

Purpose

Clear ANCP neighbor information.

Action

  • To clear connections with all ANCP neighbors:

    content_copy zoom_out_map
    user@host> clear ancp neighbor
    
  • To clear the connection with a specific ANCP neighbor, add the IP address or MAC address to the command:

    content_copy zoom_out_map
    user@host> clear ancp neighbor ip-address 203.0.113.64
    
    content_copy zoom_out_map
    user@host> clear ancp neighbor system-name 00:00:5E:00:53:ba
    
  • To verify that the connection has been cleared:

    content_copy zoom_out_map
    user@host> show ancp neighbor 
    
    content_copy zoom_out_map
    user@host> show ancp neighbor 203.0.113.64
    
    content_copy zoom_out_map
    user@host> show ancp neighbor 00:00:5E:00:53:ba
    

Verifying and Monitoring ANCP Subscribers

Purpose

View ANCP subscriber (local access loop) information:

Action

  • To display summary information about all ANCP subscribers:

    content_copy zoom_out_map
    user@host> show ancp subscriber
    
  • To display information about all ANCP subscribers connected through a particular ANCP neighbor:

    content_copy zoom_out_map
    user@host> show ancp subscriber neighbor 203.0.113.64
    
  • To display information about an ANCP subscriber specified by the ACI:

    content_copy zoom_out_map
    user@host> show ancp subscriber “port-2-11”
    
  • To display detailed information, add detail to the command:

    content_copy zoom_out_map
    user@host> show ancp subscriber detail
    
    content_copy zoom_out_map
    user@host> show ancp subscriber neighbor 203.0.113.64 detail
    
  • To display a count of subscribers in various states and the total number of subscribers:

    content_copy zoom_out_map
    user@host> show ancp summary subscriber
    
  • To display total and state-wise counts of both ANCP neighbors and subscribers:

    content_copy zoom_out_map
    user@host> show ancp summary
    

Clearing ANCP Subscribers

Purpose

Clear ANCP subscriber information.

Action

  • To clear connections with all ANCP subscribers that are not mapped:

    content_copy zoom_out_map
    user@host> clear ancp subscriber
    
  • To clear connections with all ANCP subscribers that are mapped:

    content_copy zoom_out_map
    user@host> clear ancp neighbor
    
  • To clear the connection with an ANCP subscriber identified by a particular ACI on all neighbors, add the identifier to the command:

    content_copy zoom_out_map
    user@host> clear ancp subscriber identifier port-2-10
    
  • To clear the connection with an ANCP subscriber identified by a particular ACI on a specific neighbor, add the identifier and either the IP address or MAC address to the command:

    content_copy zoom_out_map
    user@host> clear ancp subscriber identifier port-2-10 ip-address 203.0.113.64
    
    content_copy zoom_out_map
    user@host> clear ancp subscriber identifier port-2-10 system-name 00:00:5E:00:53:ba
    
  • To verify that the connection has been cleared:

    content_copy zoom_out_map
    user@host> show ancp subscriber 
    

Clearing and Verifying ANCP Statistics

Purpose

Clear ANCP statistics.

Action

  • To clear all ANCP statistics:

    content_copy zoom_out_map
    user@host> clear ancp statistics
    
  • To clear statistics for a specific ANCP neighbor, add the IP address or MAC address to the command:

    content_copy zoom_out_map
    user@host> clear ancp statistics ip-address 203.0.113.64
    
    content_copy zoom_out_map
    user@host> clear ancp statistics system-name 00:00:5E:00:53:ba
    
  • To verify that the statistics have been cleared:

    content_copy zoom_out_map
    user@host> show ancp statistics 
    
footer-navigation