show ancp statistics
Syntax
show ancp statistics
<ip-address ip-address>
<system-name mac-address>
Description
Display statistics for all ANCP neighbors (access nodes) or the specified ANCP neighbor.
Options
none | Display statistics for all ANCP neighbors, including global statistics not show for individual neighbors. |
ip-address ip-address | (Optional) Display statistics for only the neighbor with the specified IP address. |
system-name mac-address | (Optional) Display statistics for only the neighbor with the specified MAC address. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show ancp statistics
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Total count of ANCP neighbors. |
|
Total count of ANCP subscribers. |
|
Number of neighbor TCP/IP sessions accepted on listener socket. |
|
Number of neighbor TCP/IP sessions that failed due to one of the following causes: session already exists, maximum number of ANCP connections exceeded, creation of session or neighbor failed, or protocol start failed. |
|
Number of neighbor TCP/IP sessions that failed because the neighbor was not configured. |
|
Number of synchronization messages received from neighbors to maintain adjacencies. |
|
Number of synchronization acknowledgment messages received from neighbors in response to the node’s synchronization messages. |
|
Number of messages received from neighbors indicating that the link to the neighbor needs to be reset. |
|
Number of acknowledgment messages periodically received from neighbors after an adjacency has been established. |
|
Number of status messages received from neighbors indicating that a port has transitioned to the up state. |
|
Number of status messages received from neighbors indicating that a port has transitioned to the down state. |
|
Number of generic response messages received from neighbors. |
|
Number of adjacency update messages received from neighbors. |
|
Number of OAM responses received from neighbors in reply to
|
|
Number of all other ANCP message packets received from neighbors that do not fit into one of the other categories. |
|
Number of synchronization messages sent to neighbors to maintain adjacencies. |
|
Number of synchronization acknowledgment messages sent to neighbors in response to the their synchronization messages. |
|
Number of messages sent to neighbors indicating that the link to the neighbor needs to be reset. |
|
Number of acknowledgment messages periodically sent to neighbors after an adjacency has been established. |
|
Number of generic response messages sent to neighbors. |
|
Number of OAM |
|
Number of generic response messages sent to neighbors that include each of the following result codes:
|
|
Port-down count sent due to protocol triggered port-downs. Port-down count due to adjacency loss. |
Port Up Count |
Port-up count sent due to protocol triggered port-ups. |
Port Reset Count |
Port reset count (which is port down and up) on issue of
clear ancp access-loop command. |
Orphan Neighbor Statistics |
Count of adjacency losses occurred for neighbor.
|
Sample Output
show ancp statistics
user@root> show ancp statistics Statistics Number of neighbors : 0 Number of subscribers : 0 Accept Count : 0 Accept Fail Count : 0 No Config Accept Deny Count : 0 Received Syn Count : 0 Received Synack Count : 0 Received Rstack Count : 0 Received Ack Count : 0 Received Port Up Count : 0 Received Port Down Count : 0 Received Generic Resp Count : 0 Received Adjacency Update Count : 0 Received OAM Count : 0 Received Other Count : 0 Sent Syn Count : 0 Sent Synack Count : 0 Sent Rstack Count : 0 Sent Ack Count : 0 Sent Generic Resp Count : 0 Sent OAM Count : 0 Result Codes: Received Sent Invalid Request Message Count : 0 0 Specified Port(s) Down Count : 0 0 Out of Resources Count : 0 0 Request Msg Not Implemented Count: 0 0 Malformed Msg Count : 0 0 TLV Missing Count : 0 0 Invalid TLV Contents Count : 0 0 Non-Existent Port(s) Count : 0 0 Orphan Neighbor Statistics: IP Address Orphan Timeout Time Port Down Count. 11.22.214.2 Wed, 14 Aug 2024 18:19:38 2857 11.22.215.2 Wed, 14 Aug 2024 18:20:06 2857
show ancp statistics ip-address
user@host> show ancp statistics ip-address 203.0.113.1 Statistics Received Syn Count : 2 Received Synack Count : 1 Received Rstack Count : 0 Received Ack Count : 8 Received Port Up Count : 7 Received Port Down Count : 0 Received Generic Resp Count : 0 Received Adjacency Update Count : 0 Received OAM Count : 0 Received Other Count : 0 Sent Syn Count : 1 Sent Synack Count : 1 Sent Rstack Count : 0 Sent Ack Count : 17 Sent Generic Resp Count : 0 Sent OAM Count : 4 Result Codes: Received Sent Invalid Request Message Count : 0 0 Specified Port(s) Down Count : 0 0 Out of Resources Count : 0 0 Request Msg Not Implemented Count: 0 0 Malformed Msg Count : 0 0 TLV Missing Count : 0 0 Invalid TLV Contents Count : 0 0 Non-Existent Port(s) Count : 0 0
show ancp statistics system-name
user@host> show ancp statistics system-name 00:00:5E:00:53:02 Statistics Received Syn Count : 2 Received Synack Count : 1 Received Rstack Count : 0 Received Ack Count : 8 Received Port Up Count : 7 Received Port Down Count : 0 Received Generic Resp Count : 0 Received Adjacency Update Count : 0 Received OAM Count : 0 Received Other Count : 0 Sent Syn Count : 1 Sent Synack Count : 1 Sent Rstack Count : 0 Sent Ack Count : 17 Sent Generic Resp Count : 0 Sent OAM Count : 4 Result Codes: Received Sent Invalid Request Message Count : 0 0 Specified Port(s) Down Count : 0 0 Out of Resources Count : 0 0 Request Msg Not Implemented Count: 0 0 Malformed Msg Count : 0 0 TLV Missing Count : 0 0 Invalid TLV Contents Count : 0 0 Non-Existent Port(s) Count : 0 0
Release Information
Command introduced in Junos OS Release 13.3.