show ancp neighbor
Syntax
show ancp neighbor
<brief | detail>
<ip-address ip-address
<system-name mac-address>
Description
Display information about all ANCP neighbors or the specified ANCP neighbor, regardless of operational state.
Options
brief | detail | (Optional) Display the specified level of detail. |
ip-address ip-address | (Optional) Display information about the neighbor (access node) specified by the IP address. |
system-name mac-address | (Optional) Display information about the neighbor (access node) specified by the MAC address. |
Required Privilege Level
view
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
Version |
Version of the ANCP implementation:
|
|
|
IP address of the ANCP neighbor. |
|
|
Number that associates the ANCP message with a specific partition. |
|
|
Operational state of the ANCP adjacency:
|
All levels |
|
How long the adjacency has been up in one of the following formats:
|
|
|
Number of subscribers associated with the ANCP neighbor (access local loop). |
|
|
Negotiated ANCP capability:
|
All levels |
|
MAC address of the ANCP neighbor. |
|
|
TCP port on which ANCP messages are exchanged. |
|
|
Number identifying the ANCP link instance from the edge device’s perspective. |
|
|
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. |
|
|
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. |
|
|
Number that identifies whether partitions are used and how the ID is negotiated:
|
|
|
Number that specifies the type of partition requested: |
|
|
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. |
|
|
Number of adjacencies that share the partition. |
|
|
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. |
|
|
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 times that the maximum number of discovery table entries accepted from the neighbor has been exceeded. |
|
|
Number of generic response messages sent to neighbors that include each of the following result codes:
|
|
Sample Output
- show ancp neighbor
- show ancp neighbor detail
- show ancp neighbor ip-address
- show ancp neighbor system-name
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
Release Information
Command introduced in Junos OS Release 9.4.