show ancp neighbor
Syntax
Release Information
Command introduced in Junos OS Release 9.4.
Description
Display information about all ANCP neighbors or the specified ANCP neighbor, regardless of operational state.
Options
Required Privilege Level
view
Related Documentation
List of Sample Output
show ancp neighborshow 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 |
---|---|---|
Version | Version of the ANCP implementation:
| brief detail none |
IP Address | IP address of the ANCP neighbor. | brief detail none |
PartId | Number that associates the ANCP message with a specific partition. | brief none |
State | Operational state of the ANCP adjacency:
| All levels |
Time | How long the adjacency has been up in one of the following formats:
| brief detail none |
Subscriber Count | Number of subscribers associated with the ANCP neighbor (access local loop). | brief none |
Capabilities | Negotiated ANCP capability:
| All levels |
System Name | MAC address of the ANCP neighbor. | detail |
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:
| detail |
Partition Flag | Number that specifies the type of partition requested: 1 (new adjacency) or 2 (recovered adjacency). | detail |
Partition Identifier | Number that identifies a logical partition of an access node with which the ANCP agent has formed an adjacency. A value of zero indicates that the agent supports each neighbor on an IP address over a single TCP session with a partition ID of zero. This is the default support case. A nonzero value indicates that the agent supports each neighbor on an IP address over a single TCP session with a nonzero partition ID. | detail |
Partition Adjacencies | Number of adjacencies that share the 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 Syn Count | Number of synchronization messages received from neighbors to maintain adjacencies. | detail |
Received Synack Count | Number of synchronization acknowledgment messages received from neighbors in response to the node’s synchronization messages. | detail |
Received Rstack Count | Number of messages received from neighbors indicating that the link to the neighbor needs to be reset. | detail |
Received Ack Count | Number of acknowledgment messages periodically received from neighbors after an adjacency has been established. | detail |
Received Port Up Count | Number of status messages received from neighbors indicating that a port has transitioned to the up state. | detail |
Received Port Down Count | Number of status messages received from neighbors indicating that a port has transitioned to the down state. | detail |
Received Generic Resp Count | Number of generic response messages received from neighbors. | detail |
Received Adjacency Update Count | Number of adjacency update messages received from neighbors. | detail |
Received OAM Count | Number of OAM responses received from neighbors in reply to request commands. | detail |
Received Other Count | Number of all other ANCP message packets received from neighbors that do not fit into one of the other categories. | detail |
Sent Syn Count | Number of synchronization messages sent to neighbors to maintain adjacencies. | detail |
Sent Synack Count | Number of synchronization acknowledgment messages sent to neighbors in response to the their synchronization messages. | detail |
Sent Rstack Count | Number of messages sent to neighbors indicating that the link to the neighbor needs to be reset. | detail |
Sent Ack Count | Number of acknowledgment messages periodically sent to neighbors after an adjacency has been established. | detail |
Sent Generic Resp Count | Number of generic response messages sent to neighbors. | detail |
Sent OAM Count | Number of OAM request commands sent to neighbors. | 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 |
Result Codes | Number of generic response messages sent to neighbors that include each of the following result codes:
| detail |
Sample Output
show ancp neighbor
user@host> show ancp neighbor
Version IP Address PartID State Time Subscriber Capabilities Count 0x31 203.0.113.13 0 Established 11:24 2 Topo 0x31 203.0.113.15 0 Not Estblshd 2:45 2 Topo * 0x0 198.51.100.102 0 Establishing 0 0 * 0x0 192.0.2.0 0 Configured 0 0 * 0x0 192.0.2.1 0 Configured 0 0
show ancp neighbor detail
user@host> show ancp neighbor detail
Neighbor Information Version : 0x31 IP Address : 192.0.2.85 System Name : 00:00:5e:00:53:01 Up Time : 26 TCP Port : 32666 State : Established Subscriber Count : 4 Capabilities : Topo System Instance : 2 Peer Instance : 20 Adjacency Timer (in 100ms) : 100 Peer Adjacency Timer (in 100ms) : 100 Partition Type : 0 Partition Flag : 1 Partition Identifier : 0 Partition Adjacencies : 0 Dead Timer : 23 Received Syn Count : 1 Received Synack Count : 1 Received Rstack Count : 0 Received Ack Count : 4 Received Port Up Count : 10 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 : 2 Sent Rstack Count : 0 Sent Ack Count : 3 Sent Generic Resp Count : 0 Sent OAM Count : 0 Max Discovery Limit Exceed 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 Version : 0x32 IP Address : 192.168.9.1 System Name : 00:00:5e:00:53:02 Up Time : 36 TCP Port : 61408 State : Not 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 Partition Adjacencies : 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 Generic Resp Count : 0 Received Adjacency Update Count : 0 Received OAM Responses Count : 2 Received Other Count : 0 Sent Syn Count : 20 Sent Synack Count : 24 Sent Rstack Count : 1 Sent Generic Resp Count : 0 Sent Ack Count : 9 Sent OAM Requests Count : 4 Max Discovery Limit Exceed 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
show ancp neighbor ip-address
user@host> show ancp neighbor ip-address 192.0.2.85
Neighbor Information Version : 0x32 IP Address : 192.0.2.85 System Name : 00:00:5e:00:53:ba Up Time : 26 TCP Port : 32666 State : Established Subscriber Count : 4 Capabilities : Topo System Instance : 2 Peer Instance : 20 Adjacency Timer (in 100ms) : 100 Peer Adjacency Timer (in 100ms) : 100 Partition Type : 0 Partition Flag : 1 Partition Identifier : 0 Partition Adjacencies : 0 Dead Timer : 23 Received Syn Count : 1 Received Synack Count : 1 Received Rstack Count : 0 Received Ack Count : 4 Received Port Up Count : 10 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 : 2 Sent Rstack Count : 0 Sent Ack Count : 3 Sent Generic Resp Count : 0 Sent OAM Count : 0 Max Discovery Limit Exceed 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
show ancp neighbor system-name
user@host> show ancp neighbor 00:00:5e:00:53:ba
detail
Neighbor Information Version : 0x31 IP Address : 203.0.113.101 System Name : 00:00:5e:00:53:ba 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 Partition Adjacencies : 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 Generic Resp Count : 0 Received Adjacency Update 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 Generic Resp Count : 0 Sent OAM Requests Count : 4 Max Discovery Limit Exceed Count : 3 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