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

    Related Documentation

     

    show ancp neighbor

    Syntax

    show ancp neighbor<brief | detail><ip-address ip-address><system-name mac-address>

    Release Information

    Command introduced in Junos OS Release 9.4.

    Description

    Display information about all ANCP neighbors or the specified ANCP neighbor.

    Options

    brief | detail
    —

    (Optional) Display the specified level of detail.

    ip-address ip-address
    —

    (Optional) IP address of the ANCP neighbor (access node).

    system-name mac-address
    —

    (Optional) MAC address of the ANCP neighbor (access node).

    Required Privilege Level

    view

     

    Related Documentation

     

    List of Sample Output

    show ancp neighbor
    show ancp neighbor detail
    show ancp neighbor ip-address
    show ancp neighbor system-name

    Output Fields

    Table 1 lists the output fields for the show ancp neighbor command. Output fields are listed in the approximate order in which they appear.

    Table 1: show ancp neighbor Output Fields

    Field Name

    Field Description

    Level of Output

    IP Address

    IP address of the ANCP neighbor.

    brief detail none

    System Name

    MAC address of the ANCP neighbor.

    detail

    State

    State of the ANCP adjacency:

    • Established—ANCP session has been established.
    • Init—ANCP session has been initiated.
    • SynSent—ANCP has sent a SYN message.
    • SynReceived—ANCP has received a SYN message.

    All levels

    Up Time

    How long the adjacency has been up in one of the following formats:

    • nwndnh—number of weeks, days, and hours
    • nd hh:mm:ss—number of days, hours, minutes, and seconds

    brief detail none

    Subscriber Count

    Number of subscribers associated with the ANCP neighbor (access local loop).

    brief none

    Capabilities

    Negotiated ANCP capability:

    • Topo—Topology discovery.
    • OAM—Performance of local Operations Administration Maintenance (OAM) procedures on an access loop controlled by the router.

    Al levels

    TCP Port

    TCP port on which ANCP messages are exchanged.

    detail

    System Instance

    Number identifying the ANCP link instance from the edge device’s perspective.

    detail

    Peer Instance

    Number identifying the ANCP instance from the access node’s perspective. This number is unique and changes when the node or link comes back up after going down.

    detail

    Timer

    Adjacency timer value advertised by the ANCP peer in 100 ms increments; the interval between ANCP ACK messages. This value remains constant for the duration of an ANCP session.

    detail

    Partition Type

    Number that identifies whether partitions are used and how the ID is negotiated:

    • 0—No partition.
    • 1—Fixed partition requested.
    • 2—Fixed partition assigned.

    detail

    Partition Flag

    Number that specifies the type of partition requested: 1 (new adjacency) or 2 (recovered adjacency).

    detail

    Partition Identifier

    Number that associates the ANCP message with a specific partition.

    detail

    Dead Timer

    Remaining period that the edge device waits for adjacency packets from a neighbor before declaring the neighbor to be down. The maximum dead time value is three times the configured adjacency timer value. This field displays the current value based on the time that the last adjacency packet was received.

    detail

    Received

    Count of the following ANCP message packets received by the node from the neighbor:

    • Syn Count—Synchronization message used to maintain an adjacency.
    • Synack Count—Neighbor response to the node’s synchronization messages.
    • Rstack Count—Message indicating that the link to the neighbor needs to be reset.
    • Ack Count—Acknowledgment message periodically received after an adjacency has been established.
    • Port Up Count—Status message indicating that a port has transitioned to the up state.
    • Port Down Count—Status message indicating that a port has transitioned to the down state.
    • OAM Response Count—Number of OAM responses received in reply to request commands.
    • Other Count—Count of all other ANCP received message packets that do not fit into one of the other categories.

    detail

    Sent

    Count of the following ANCP message packets sent by the node:

    • Syn Count—Synchronization message used to maintain an adjacency.
    • Synack Count—Node response to the neighbor’s synchronization messages.
    • Rstack Count—Message indicating that the link to the node needs to be reset.
    • Ack Count—Acknowledgment message periodically sent after an adjacency has been established.
    • OAM Request Count—Number of OAM request commands sent.

    detail

    Max Discovery Limit Exceed Count

    Number of times that the maximum number of discovery table entries accepted from the neighbor has been exceeded.

    detail

    Sample Output

    show ancp neighbor

    user@host> show ancp neighbor
    
      IP Address         State       Up Time      Subscriber   Capabilities
                                                     Count                  
      10.10.10.2        Established  3             2              Topo, OAM         
      11.11.11.2        Established  3             2              Topo, OAM        

    show ancp neighbor detail

    user@host> show ancp neighbor detail
    Neighbor Information
          IP Address              : 192.168.10.1
          System Name             : 00:00:64:1b:01:02
              Up Time                             : 38
              TCP Port                            : 64959
              State                               : Established
              Subscriber Count                    : 7
              Capabilities                        : Topology Discovery
              System Instance                     : 11
              Peer Instance                       : 1
              Adjacency Timer (in 100ms)          : 50
              Peer Adjacency Timer (in 100ms)     : 100
              Partition Type                      : 0
              Partition Flag                      : 1
              Partition Identifier                : 0
              Dead Timer                          : 22
              Received Syn Count                  : 47
              Received Synack Count               : 48
              Received Rstack Count               : 2
              Received Ack Count                  : 12
              Received Port Up Count              : 8
              Received Port Down Count            : 2
              Received Other Count                : 0
              Sent Syn Count                      : 48
              Sent Synack Count                   : 47
              Sent Rstack Count                   : 1
              Sent Ack Count                      : 12
              Max Discovery Limit Exceed Count    : 0
          IP Address              : 192.168.9.1
          System Name             : 00:00:64:1c:01:02
              Up Time                             : 36
              TCP Port                            : 61408
              State                               : Established
              Subscriber Count                    : 1
              Capabilities                        : Topology Discovery
              System Instance                     : 12
              Peer Instance                       : 1
              Adjacency Timer (in 100ms)          : 50
              Peer Adjacency Timer (in 100ms)     : 100
              Partition Type                      : 0
              Partition Flag                      : 1
              Partition Identifier                : 0
              Dead Timer                          : 23
              Received Syn Count                  : 24
              Received Synack Count               : 20
              Received Rstack Count               : 2
              Received Ack Count                  : 9
              Received Port Up Count              : 5
              Received Port Down Count            : 0
              Received OAM Responses Count        : 2
              Received Other Count                : 0
              Sent Syn Count                      : 20
              Sent Synack Count                   : 24
              Sent Rstack Count                   : 1
              Sent Ack Count                      : 9
              Sent OAM Requests Count             : 4
              Max Discovery Limit Exceed Count    : 0
    

    show ancp neighbor ip-address

    user@host> show ancp neighbor 10.10.10.2
    Neighbor Information
          IP Address   : 10.10.10.2            
          System Name  : ba:ad:be:ef:10:10     
              TCP Port             : 3332                  
              State                : Established           
              Subscriber Count     : 5                     
              Capabilities         : Topology Discovery    
              System Instance      : 6                     
              Peer Instance        : 1695                  
              Timer                : 250                   
              Partition Type       : 0                     
              Partition Flag       : 1                     
              Partition Identifier : 0                     
              Dead Timer           : 63           
    

    show ancp neighbor system-name

    user@host> show ancp neighbor ba:ad:be:ef:10:10 detail
    Neighbor Information
       IP Address              : 10.100.0.1
       System Name             : 00:00:64:1b:01:02
         Up Time                              : 19
         TCP Port                             : 1028
         State                                : Established
         Subscriber Count                     : 2
         Capabilities                         : Topology Discovery, OAM
         System Instance                      : 1
         Peer Instance                        : 10
         Adjacency Timer (in 100ms)           : 100
         Peer Adjacency Timer (in 100ms)      : 250
         Partition Type                       : 0
         Partition Flag                       : 1                     
         Partition Identifier                 : 0
         Dead Timer                           : 55
         Received Syn Count                   : 1                                               
         Received Synack Count                : 1
         Received Rstack Count                : 0
         Received Ack Count                   : 1
         Received Port Up Count               : 34
         Received Port Down Count             : 0
         Received OAM Responses Count         : 2
         Received Other Count                 : 0
         Sent Syn Count                       : 1
         Sent Synack Count                    : 1
         Sent Rstack Count                    : 0
         Sent Ack Count                       : 3
         Sent OAM Requests Count              : 4
         Max Discovery Limit Exceed Count     : 3         
    

    Published: 2013-03-14