Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    clear ancp neighbor

    Syntax

    clear ancp neighbor<ip-address ip-address><system-name mac-address>

    Release Information

    Command introduced in Junos OS Release 9.4.

    Description

    Clear the connection with all ANCP neighbors or with the specified ANCP neighbor.

    Options

    none
    —

    Clear all ANCP neighbors.

    ip-address ip-address
    —

    (Optional) Clear the ANCP neighbor specified by the IP address.

    system-name mac-address
    —

    (Optional) Clear the ANCP neighbor specified by the MAC address.

    Required Privilege Level

    clear

     

    Related Documentation

     

    List of Sample Output

    clear ancp neighbor
    show ancp neighbor

    Output Fields

    When you enter this command, you are provided no feedback on the status of your request. You can enter the show ancp neighbor command before and after clearing the ANCP neighbors to verify the clear operation.

    Sample Output

    clear ancp neighbor

    user@host> clear ancp neighbor
     

    show ancp neighbor

    The following sample output displays the connections with ANCP neighbors before and after the clear ancp neighbor command was issued.

    user@host> show ancp neighbor
      IP Address        MAC Address         State         Subscriber   Capabilities
                                                            Count                  
      10.10.10.2        ba:ad:be:ef:10:10  Established    5              Topo      
      12.12.12.2        ba:ad:be:ef:10:12  Established    5              Topo      
      13.13.13.2        ba:ad:be:ef:10:13  Established    5              Topo      
      14.14.14.2        ba:ad:be:ef:10:14  Established    5              Topo      
    
    
    user@host> clear ancp neighbor ip-address 10.10.10.2
    user@host> show ancp neighbor
      IP Address        MAC Address         State         Subscriber   Capabilities
                                                            Count                  
      12.12.12.2        ba:ad:be:ef:10:12  Established    5              Topo      
      13.13.13.2        ba:ad:be:ef:10:13  Established    5              Topo      
      14.14.14.2        ba:ad:be:ef:10:14  Established    5              Topo      
    
    

    Published: 2013-03-14