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:
|
Sample Output
show ancp statistics
user@host> show ancp statistics Statistics Number of neighbors : 4 Number of subscribers : 6 Accept Count : 0 Accept Fail Count : 0 No Config Accept Deny Count : 0 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 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.